Skip to main content

remove_sandwiched_unbeamables

Function remove_sandwiched_unbeamables 

Source
pub fn remove_sandwiched_unbeamables(beams: &mut [Option<Beams>])
Expand description

A note with nothing beamable on either side of it has nothing to beam to, so it carries no beam at all: music21’s removeSandwichedUnbeamables.

The list is a run of notes, each entry the beams that note could carry or nothing where it could carry none.