Skip to main content

key_of

Function key_of 

Source
pub fn key_of(data: &[u8]) -> Option<(IntegerType, Mode)>
Expand description

The sharps and mode a key’s bytes say: music21’s midiEventsToKey, which reads a first byte past twelve as flats.