hamusic-0.1.2: Library to handle abstract musicSource codeContentsIndex
Music.Analysis.MusicXML.Level2Num
Synopsis
type Score_Partwise = [Measure]
type Measure = [Music_Data]
data Music_Data
= Music_Data_1 Note
| Music_Data_5 Attributes
type Note = (Note_, Maybe Type, [Dot], Maybe Accidental)
data Note_ = Note_3 (Full_Note, Duration)
type Full_Note = Full_Note_
data Full_Note_
= Full_Note_1 Pitch
| Full_Note_3 Rest
type Pitch = Pitch
type Duration = IntegerNumber
type Type = Type_
type Dot = ()
type Accidental = Accidental_
type Attributes = (Maybe Divisions, [Key], [Time], [Clef])
type Divisions = IntegerNumber
type Key = (Key_, [IntegerNumber])
data Key_
= Key_1 (Fifths, Maybe Mode)
| Key_2 [(IntegerNumber, Number)]
type Fifths = IntegerNumber
data Mode
= Major
| Minor
| Dorian
| Phrygian
| Lydian
| Mixolydian
| Aeolian
| Ionian
| Locrian
type Time = Time_B
data Time_B = Time_5 [(Beats, Beat_Type)]
type Beats = (IntegerNumber, Maybe IntegerNumber)
type Beat_Type = IntegerNumber
type Clef = (Sign, Maybe Line, Maybe Clef_Octave_Change)
type Sign = IntegerNumber
type Line = IntegerNumber
type Clef_Octave_Change = IntegerNumber
abst_Score_Partwise :: Score_Partwise -> Score_Partwise
abst_Music_Data :: Music_Data -> Maybe Music_Data
abst_Note :: Note -> Note
abst_Note_ :: Note_ -> Note_
abst_Full_Note :: Full_Note -> Full_Note
abst_Full_Note_ :: Full_Note_ -> Full_Note_
abst_Pitch :: Pitch -> Pitch
abst_Type :: Type -> Type
abst_Dot :: Dot -> Dot
abst_Accidental :: Accidental -> Accidental
split_Measure :: Measure -> ((), [Maybe Music_Data])
split_Music_Data :: Music_Data -> (Music_Data, Maybe Music_Data)
split_Note :: Note -> (Note, Note)
split_Note_ :: Note_ -> (Duration, Full_Note_)
split_Full_Note :: Full_Note -> (Full_Note, Full_Note)
split_Full_Note_ :: Full_Note_ -> (Full_Note_, Full_Note_)
split_Pitch :: Pitch -> (Pitch, Pitch)
split_Type :: Type -> (Type, Type)
split_Dot :: Dot -> (Dot, Dot)
split_Accidental :: Accidental -> (Accidental, Accidental)
Documentation
type Score_Partwise = [Measure]Source
type Measure = [Music_Data]Source
data Music_Data Source
Constructors
Music_Data_1 Note
Music_Data_5 Attributes
show/hide Instances
type Note = (Note_, Maybe Type, [Dot], Maybe Accidental)Source
data Note_ Source
Constructors
Note_3 (Full_Note, Duration)
show/hide Instances
type Full_Note = Full_Note_Source
data Full_Note_ Source
Constructors
Full_Note_1 Pitch
Full_Note_3 Rest
show/hide Instances
type Pitch = PitchSource
type Duration = IntegerNumberSource
type Type = Type_Source
type Dot = ()Source
type Accidental = Accidental_Source
type Attributes = (Maybe Divisions, [Key], [Time], [Clef])Source
type Divisions = IntegerNumberSource
type Key = (Key_, [IntegerNumber])Source
data Key_ Source
Constructors
Key_1 (Fifths, Maybe Mode)
Key_2 [(IntegerNumber, Number)]
show/hide Instances
type Fifths = IntegerNumberSource
data Mode Source
Constructors
Major
Minor
Dorian
Phrygian
Lydian
Mixolydian
Aeolian
Ionian
Locrian
show/hide Instances
type Time = Time_BSource
data Time_B Source
Constructors
Time_5 [(Beats, Beat_Type)]
show/hide Instances
type Beats = (IntegerNumber, Maybe IntegerNumber)Source
MusicXML Schema specify xs:string
type Beat_Type = IntegerNumberSource
MusicXML Schema specify xs:string
type Clef = (Sign, Maybe Line, Maybe Clef_Octave_Change)Source
type Sign = IntegerNumberSource
type Line = IntegerNumberSource
type Clef_Octave_Change = IntegerNumberSource
abst_Score_Partwise :: Score_Partwise -> Score_PartwiseSource
abst_Music_Data :: Music_Data -> Maybe Music_DataSource
abst_Note :: Note -> NoteSource
abst_Note_ :: Note_ -> Note_Source
abst_Full_Note :: Full_Note -> Full_NoteSource
abst_Full_Note_ :: Full_Note_ -> Full_Note_Source
abst_Pitch :: Pitch -> PitchSource
abst_Type :: Type -> TypeSource
abst_Dot :: Dot -> DotSource
abst_Accidental :: Accidental -> AccidentalSource
split_Measure :: Measure -> ((), [Maybe Music_Data])Source
split_Music_Data :: Music_Data -> (Music_Data, Maybe Music_Data)Source
split_Note :: Note -> (Note, Note)Source
split_Note_ :: Note_ -> (Duration, Full_Note_)Source
split_Full_Note :: Full_Note -> (Full_Note, Full_Note)Source
split_Full_Note_ :: Full_Note_ -> (Full_Note_, Full_Note_)Source
split_Pitch :: Pitch -> (Pitch, Pitch)Source
split_Type :: Type -> (Type, Type)Source
split_Dot :: Dot -> (Dot, Dot)Source
split_Accidental :: Accidental -> (Accidental, Accidental)Source
Produced by Haddock version 2.6.0