Skip to main content

translate_note_to_byte

Function translate_note_to_byte 

Source
pub fn translate_note_to_byte(element: &StreamElement) -> char
Expand description

An element as one character: a note’s MIDI number, a chord’s first pitch’s, and 127 for anything else – a rest, an unpitched stroke, a chord of nothing: music21’s translateNoteToByte.