Skip to main content

percussion_keys

Function percussion_keys 

Source
pub fn percussion_keys() -> impl Iterator<Item = u8>
Expand description

Every key of the General MIDI percussion map that names an instrument class, in key order: music21’s reverseInstrumentMapping read as its keys, which is how a caller listing the map asks for one class per key without the named sounds among them.