Skip to main content

fix_enharmonics

Function fix_enharmonics 

Source
pub fn fix_enharmonics(
    changes: &[Change],
    midi: &Stream,
    omr: &mut Stream,
) -> Result<()>
Expand description

Respells each note of the reading the performance plays enharmonically to it: music21’s EnharmonicFixer.

Every element the changes name in the reading is coloured black, and each change is then enharmonic_fix’s to answer.

§Errors

A change with no references, or one naming nothing in its stream.