music-score-1.9.0: Musical score and part representation.

Copyright(c) Hans Hoglund 2012-2014
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
Portabilitynon-portable (TF,GNTD)
Safe HaskellNone
LanguageHaskell2010

Music.Score.Harmonics

Contents

Description

Provides a representation of harmonics.

Synopsis

Harmonics

newtype HarmonicT a Source

Constructors

HarmonicT 

Fields

getHarmonicT :: Couple (Any, Sum Int) a
 

Instances

Monad HarmonicT 
Functor HarmonicT 
Applicative HarmonicT 
Foldable HarmonicT 
Comonad HarmonicT 
HasBackendNote NoteList a => HasBackendNote NoteList (HarmonicT a) 
HasBackendNote Midi a => HasBackendNote Midi (HarmonicT a) 
HasBackendNote SuperCollider a => HasBackendNote SuperCollider (HarmonicT a) 
HasBackendNote Lilypond a => HasBackendNote Lilypond (HarmonicT a) 
HasBackendNote MusicXml a => HasBackendNote MusicXml (HarmonicT a) 
Bounded a => Bounded (HarmonicT a) 
Enum a => Enum (HarmonicT a) 
Eq a => Eq (HarmonicT a) 
Floating a => Floating (HarmonicT a) 
Fractional a => Fractional (HarmonicT a) 
(Real a, Enum a, Integral a) => Integral (HarmonicT a) 
Num a => Num (HarmonicT a) 
Ord a => Ord (HarmonicT a) 
(Num a, Ord a, Real a) => Real (HarmonicT a) 
Show a => Show (HarmonicT a) 
Wrapped (HarmonicT a) 
Semigroup a => Semigroup (HarmonicT a) 
IsPitch a => IsPitch (HarmonicT a) 
IsDynamics a => IsDynamics (HarmonicT a) 
Transformable a => Transformable (HarmonicT a) 
Reversible a => Reversible (HarmonicT a) 
Alterable a => Alterable (HarmonicT a) 
Augmentable a => Augmentable (HarmonicT a) 
Tiable a => Tiable (HarmonicT a) 
HasSlide a => HasSlide (HarmonicT a) 
HasText a => HasText (HarmonicT a) 
HasHarmonic (HarmonicT a) 
HasTremolo a => HasTremolo (HarmonicT a) 
Rewrapped (HarmonicT a) (HarmonicT b) 
HasPitches a b => HasPitches (HarmonicT a) (HarmonicT b) 
HasPitch a b => HasPitch (HarmonicT a) (HarmonicT b) 
HasDynamics a b => HasDynamics (HarmonicT a) (HarmonicT b) 
HasDynamic a b => HasDynamic (HarmonicT a) (HarmonicT b) 
HasArticulations a b => HasArticulations (HarmonicT a) (HarmonicT b) 
HasArticulation a b => HasArticulation (HarmonicT a) (HarmonicT b) 
Typeable (* -> *) HarmonicT 
type SetPitch g (HarmonicT a) = HarmonicT (SetPitch g a) 
type SetDynamic g (HarmonicT a) = HarmonicT (SetDynamic g a) 
type SetArticulation g (HarmonicT a) = HarmonicT (SetArticulation g a) 
type Unwrapped (HarmonicT a) = Couple (Any, Sum Int) a 
type Pitch (HarmonicT a) = Pitch a 
type Dynamic (HarmonicT a) = Dynamic a 
type Articulation (HarmonicT a) = Articulation a 

harmonic :: HasHarmonic a => Int -> a -> a Source

Make all notes natural harmonics on the given overtone (1 for octave, 2 for fifth etc). Sounding pitch is unaffected, but notated output is transposed automatically.

artificial :: HasHarmonic a => a -> a Source

Make all notes natural harmonics on the given overtone (1 for octave, 2 for fifth etc). Sounding pitch is unaffected, but notated output is transposed automatically.