Skip to main content

parse_kbm

Function parse_kbm 

Source
pub fn parse_kbm(text: &str) -> Result<KbmMapping, AudioError>
Expand description

Parse Scala .kbm text into a fixed-size KbmMapping.

ยงErrors

AudioError::InvalidParameter if a required field line is missing/unparseable, the map size exceeds MAX_KBM_ENTRIES, a MIDI field is out of 0..=127, or fewer map entries are present than declared.