Utilities

pitch2xml, xml2pitch
MusicXML.pitch2xmlMethod
pitch2xml(pitch)

Return the musicxmls values of the given pitch (MIDI)

pitch::UInt8 : starting from C-1 = 0, adding one per semitone.

Step Alter Octave on Staff Pitch on Guitar Pitch on Full Keyboard

Modified from MIDI.jl

Examples:

pitch = 0 # for C-1
step, alter, octave = pitch2xml()
MusicXML.xml2pitchMethod
xml2pitch(step, alter, octave) -> Int

Return the pitch value of the given note

See Pitch

Modified from MIDI.jl

Examples:

pitch = xml2pitch(step, alter, octave)