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

Portabilitynon-portable (TF,GNTD)
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Music.Score.Harmonics

Contents

Description

Provides a representation of harmonics.

Warning This module is experimental.

Synopsis

Harmonics

newtype HarmonicT a Source

Constructors

HarmonicT 

Fields

getHarmonicT :: Couple (Any, Sum Int) a
 

Instances

Monad HarmonicT 
Functor HarmonicT 
Typeable1 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) 
Semigroup a => Semigroup (HarmonicT a) 
Wrapped (HarmonicT a)

Unsafe: Do not use Wrapped instances

IsDynamics a => IsDynamics (HarmonicT a) 
IsPitch a => IsPitch (HarmonicT a) 
Augmentable a => Augmentable (HarmonicT a) 
Alterable a => Alterable (HarmonicT a) 
Transformable a => Transformable (HarmonicT a) 
Reversible a => Reversible (HarmonicT a) 
Tiable a => Tiable (HarmonicT a) 
HasSlide a => HasSlide (HarmonicT a) 
HasTremolo a => HasTremolo (HarmonicT a) 
HasText a => HasText (HarmonicT a) 
HasHarmonic (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) 

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

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 -> aSource

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.