Skip to main content

interval_too_big

Function interval_too_big 

Source
pub fn interval_too_big(
    played: &Pitch,
    read: &Pitch,
    limit: IntegerType,
) -> Result<bool>
Expand description

Whether two notes are too far apart to be two spellings of one sound: music21’s intervalTooBig, which reads the interval class and not the interval itself.

limit is music21’s setInt, five in every call it makes.

§Errors

An interval neither pitch spells.