hamusic-0.1.1: Library to handle abstract musicSource codeContentsIndex
Music.Analysis.MusicXML.Level3
Synopsis
type Score_Partwise = (Document_Attributes, (Score_Header, [Part]))
type Part = [Measure]
type Measure = [Music_Data]
data Music_Data
= Music_Data_1 Note
| Music_Data_2 Backup
| Music_Data_3 Forward
| Music_Data_5 Attributes
| Music_Data_10 Barline
type Barline = Barline
type Note = (Note_, Maybe Instrument, Editorial_Voice, Maybe Type, [Dot], Maybe Accidental, Maybe Staff)
data Note_ = Note_3 (Full_Note, Duration)
type Full_Note = (Maybe Chord, Full_Note_)
data Full_Note_
= Full_Note_1 Pitch
| Full_Note_3 Rest
type Rest = ()
type Duration = IntegerNumber
type Editorial_Voice = Editorial_Voice
type Instrument = Instrument
type Type = Type_
type Dot = Dot
type Accidental = Accidental_
type Staff = IntegerNumber
type Attributes = (Maybe Divisions, [Key], [Time], Maybe Staves, Maybe Instruments, [Clef], Maybe Transpose)
type Editorial = Editorial
type Divisions = IntegerNumber
type Key = (Key_, [Key_Octave])
data Key_
= Key_1 (Maybe Cancel, Fifths, Maybe Mode)
| Key_2 [(Key_Step, Key_Alter)]
type Time = Time_B
data Time_B
= Time_5 [(Beats, Beat_Type)]
| Time_6 Senza_Misura
type Beats = (IntegerNumber, Maybe IntegerNumber)
type Beat_Type = IntegerNumber
type Staves = Staves
type Part_Symbol = Part_Symbol
type Instruments = Instruments
type Clef = Clef
type Staff_Details = Staff_Details
type Transpose = Transpose
type Directive = Directive
type Measure_Style = Measure_Style
abst_Score_Partwise :: Score_Partwise -> Score_Partwise
abst_Measure :: Measure -> Measure
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_Duration :: Duration -> Duration
abst_Type :: Type -> Type
abst_Dot :: Dot -> Dot
abst_Accidental :: Accidental -> Accidental
abst_Divisions :: Divisions -> Divisions
abst_Attributes :: Attributes -> Attributes
abst_Key :: Key -> Key
abst_Key_ :: Key_ -> Key_
abst_Time :: Time -> Time
abst_Clef :: Clef -> Clef
map_Score_Partwise :: (Music_Data -> b) -> Score_Partwise -> (Document_Attributes, (Score_Header, [[[b]]]))
map_Part :: (Music_Data -> b) -> Part -> [[b]]
map_Measure :: (Music_Data -> b) -> Measure -> [b]
map_Music_Data :: (Music_Data -> b) -> Music_Data -> b
toNum_Music_Data :: Music_Data -> Music_Data
toNum_Note :: Note -> Note
toNum_Full_Note :: Full_Note -> Full_Note
toNum_Attributes :: Attributes -> Attributes
toNum_Key :: Key -> Key
toNum_Mode :: Mode -> Mode
toNum_Time :: Time -> Time
toNum_Clef :: Clef -> Clef
Documentation
type Score_Partwise = (Document_Attributes, (Score_Header, [Part]))Source
type Part = [Measure]Source
type Measure = [Music_Data]Source
data Music_Data Source
Constructors
Music_Data_1 Note
Music_Data_2 Backup
Music_Data_3 Forward
Music_Data_5 Attributes
Music_Data_10 Barline
show/hide Instances
type Barline = BarlineSource
type Note = (Note_, Maybe Instrument, Editorial_Voice, Maybe Type, [Dot], Maybe Accidental, Maybe Staff)Source
data Note_ Source
Constructors
Note_3 (Full_Note, Duration)
show/hide Instances
type Full_Note = (Maybe Chord, Full_Note_)Source
data Full_Note_ Source
Constructors
Full_Note_1 Pitch
Full_Note_3 Rest
show/hide Instances
type Rest = ()Source
type Duration = IntegerNumberSource
type Editorial_Voice = Editorial_VoiceSource
type Instrument = InstrumentSource
type Type = Type_Source
type Dot = DotSource
type Accidental = Accidental_Source
type Staff = IntegerNumberSource
positive number
type Attributes = (Maybe Divisions, [Key], [Time], Maybe Staves, Maybe Instruments, [Clef], Maybe Transpose)Source
type Editorial = EditorialSource
type Divisions = IntegerNumberSource
type Key = (Key_, [Key_Octave])Source
data Key_ Source
Constructors
Key_1 (Maybe Cancel, Fifths, Maybe Mode)
Key_2 [(Key_Step, Key_Alter)]
show/hide Instances
type Time = Time_BSource
data Time_B Source
Constructors
Time_5 [(Beats, Beat_Type)]
Time_6 Senza_Misura
show/hide Instances
type Beats = (IntegerNumber, Maybe IntegerNumber)Source
MusicXML Schema specify xs:string
type Beat_Type = IntegerNumberSource
MusicXML Schema specify xs:string
type Staves = StavesSource
type Part_Symbol = Part_SymbolSource
type Instruments = InstrumentsSource
type Clef = ClefSource
type Staff_Details = Staff_DetailsSource
type Transpose = TransposeSource
type Directive = DirectiveSource
type Measure_Style = Measure_StyleSource
abst_Score_Partwise :: Score_Partwise -> Score_PartwiseSource
abst_Measure :: Measure -> MeasureSource
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_Duration :: Duration -> DurationSource
abst_Type :: Type -> TypeSource
abst_Dot :: Dot -> DotSource
abst_Accidental :: Accidental -> AccidentalSource
abst_Divisions :: Divisions -> DivisionsSource
abst_Attributes :: Attributes -> AttributesSource
abst_Key :: Key -> KeySource
abst_Key_ :: Key_ -> Key_Source
abst_Time :: Time -> TimeSource
abst_Clef :: Clef -> ClefSource
map_Score_Partwise :: (Music_Data -> b) -> Score_Partwise -> (Document_Attributes, (Score_Header, [[[b]]]))Source
map_Part :: (Music_Data -> b) -> Part -> [[b]]Source
map_Measure :: (Music_Data -> b) -> Measure -> [b]Source
map_Music_Data :: (Music_Data -> b) -> Music_Data -> bSource
toNum_Music_Data :: Music_Data -> Music_DataSource
toNum_Note :: Note -> NoteSource
toNum_Full_Note :: Full_Note -> Full_NoteSource
toNum_Attributes :: Attributes -> AttributesSource
toNum_Key :: Key -> KeySource
toNum_Mode :: Mode -> ModeSource
toNum_Time :: Time -> TimeSource
toNum_Clef :: Clef -> ClefSource
Produced by Haddock version 2.6.0