Skip to main content

tie_pitch_set

Function tie_pitch_set 

Source
pub fn tie_pitch_set(element: &StreamElement) -> Option<Vec<String>>
Expand description

The notes a note or chord ties forward, by name: music21’s getTiePitchSet.

Nothing at all where the element is no note – a rest or a barline ties nothing, and music21 answers None for either – and an empty list where it ties nothing on. A stroke with no pitch is left out, as music21 leaves it out, so a percussion chord of strokes alone ties nothing.