Utilities
pitch2xml, xml2pitch
MusicXML.pitch2xml
— Methodpitch2xml(pitch)
Return the musicxmls values of the given pitch (MIDI)
pitch::UInt8 : starting from C-1 = 0, adding one per semitone.
Modified from MIDI.jl
Examples:
pitch = 0 # for C-1
step, alter, octave = pitch2xml()
MusicXML.xml2pitch
— Methodxml2pitch(step, alter, octave) -> Int
Return the pitch value of the given note
See Pitch
Modified from MIDI.jl
Examples:
pitch = xml2pitch(step, alter, octave)