Safe Haskell | Safe-Inferred |
---|
- n_annotate :: N_Annotation -> Note -> Note
- (&) :: Note -> N_Annotation -> Note
- n_annotate_l :: [N_Annotation] -> Note -> Note
- annotate_first :: (a -> x -> x) -> a -> [x] -> [x]
- annotate_except_last :: (a -> x -> x) -> a -> [x] -> [x]
- annotate_middle :: (a -> x -> x) -> a -> [x] -> [x]
- annotate_last :: (a -> x -> x) -> a -> [x] -> [x]
- annotate_bracket :: (a -> x -> x) -> (a, a) -> [x] -> [x]
- n_annotate_first :: [N_Annotation] -> [Note] -> [Note]
- n_annotate_last :: [N_Annotation] -> [Note] -> [Note]
- n_annotate_bracket :: (N_Annotation, N_Annotation) -> [Note] -> [Note]
- n_annotate_tie_endpoints :: ([N_Annotation], [N_Annotation]) -> Note -> Note
- n_edit_duration :: (Duration -> Duration) -> Note -> Note
- tuplet :: (Integer, Integer) -> [Note] -> [Note]
- m_annotate :: M_Annotation -> Measure -> Measure
- (&.) :: Measure -> M_Annotation -> Measure
- m_annotate_l :: [M_Annotation] -> Measure -> Measure
- m_annotate_first :: [M_Annotation] -> [Measure] -> [Measure]
- m_annotate_last :: [M_Annotation] -> [Measure] -> [Measure]
- m_annotate_bracket :: (M_Annotation, M_Annotation) -> [Measure] -> [Measure]
- m_duration :: Measure -> [Duration]
- m_duration_rq :: Measure -> Rational
- empty_measure :: (Integer, Integer) -> Measure
- stem_tremolo :: Integer -> Note -> Note
- bass_clef :: M_Annotation
- percussion_clef :: M_Annotation
- treble_clef :: M_Annotation
- alto_clef :: M_Annotation
- tenor_clef :: M_Annotation
- bass_8vb_clef :: M_Annotation
- treble_15ma_clef :: M_Annotation
- treble_8vb_clef :: M_Annotation
- treble_8va_clef :: M_Annotation
- accent :: N_Annotation
- trill_mark :: N_Annotation
- begin_slur :: N_Annotation
- end_slur :: N_Annotation
- begin_slide :: N_Annotation
- end_slide :: N_Annotation
- laissez_vibrer :: N_Annotation
- fermata :: N_Annotation
- arpeggiate :: N_Annotation
- pedal_down_mark :: N_Annotation
- pedal_up_mark :: N_Annotation
- pedal_down :: N_Annotation
- pedal_continue :: N_Annotation
- pedal_change :: N_Annotation
- pedal_up :: N_Annotation
- part :: Name -> [Measure] -> Part
- group :: Name -> [Part] -> Part
- voices :: [[Measure]] -> [Measure]
- from_d_annotation :: D_Annotation -> N_Annotation
Functions for writing music by hand.
n_annotate :: N_Annotation -> Note -> NoteSource
(&) :: Note -> N_Annotation -> NoteSource
n_annotate_l :: [N_Annotation] -> Note -> NoteSource
annotate_first :: (a -> x -> x) -> a -> [x] -> [x]Source
Apply function to first element of list.
annotate_first (+) 9 [1,2,3] == [10,2,3]
annotate_except_last :: (a -> x -> x) -> a -> [x] -> [x]Source
Apply function to all but the last element of list.
annotate_except_last (+) 7 [1,2,3] == [8,9,3]
annotate_middle :: (a -> x -> x) -> a -> [x] -> [x]Source
Apply function to middle elements of list.
annotate_middle (+) 9 [1,2,3,4] == [1,11,12,4] annotate_middle (+) 9 [1,4] == [1,4]
annotate_last :: (a -> x -> x) -> a -> [x] -> [x]Source
Apply function to last element of list.
annotate_last (+) 7 [1,2,3] == [1,2,10]
annotate_bracket :: (a -> x -> x) -> (a, a) -> [x] -> [x]Source
Apply function to first and last elements of list.
annotate_bracket (+) (9,7) [1,2,3] == [10,2,10]
n_annotate_first :: [N_Annotation] -> [Note] -> [Note]Source
n_annotate_last :: [N_Annotation] -> [Note] -> [Note]Source
n_annotate_bracket :: (N_Annotation, N_Annotation) -> [Note] -> [Note]Source
n_annotate_tie_endpoints :: ([N_Annotation], [N_Annotation]) -> Note -> NoteSource
Apply annotations to the start and end points of each tied note.
m_annotate :: M_Annotation -> Measure -> MeasureSource
(&.) :: Measure -> M_Annotation -> MeasureSource
Infix variant of m_annotate
with reverse argument order.
m_annotate_l :: [M_Annotation] -> Measure -> MeasureSource
m_annotate_first :: [M_Annotation] -> [Measure] -> [Measure]Source
m_annotate_last :: [M_Annotation] -> [Measure] -> [Measure]Source
m_annotate_bracket :: (M_Annotation, M_Annotation) -> [Measure] -> [Measure]Source
m_duration :: Measure -> [Duration]Source
empty_measure :: (Integer, Integer) -> MeasureSource
stem_tremolo :: Integer -> Note -> NoteSource
Parts, groups etc.
Interop
from_d_annotation :: D_Annotation -> N_AnnotationSource
Translate from D_Annotation
to N_Annotation
. Note: does not
necessarily translate Begin_Tuplet
correctly.