Skip to main content

parse_scl

Function parse_scl 

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

Parse Scala .scl text into a fixed-size SclScale.

ยงErrors

AudioError::InvalidParameter if the count line is missing/unparseable, the declared count exceeds MAX_SCALE_NOTES, a pitch line is malformed, or fewer pitch lines are present than declared.