Expand description
Where music21’s NoteWorthy translator places notes, rests and marks in a measure, and how it joins slurs and ties: the one implementation, generic over what the measures are.
The crate’s reader places into measures of its own; the wheel’s
translator places into Python streams a caller may hand it. Both
implement Placing, and Placement keeps the state between lines:
the position in the measure, the slurs left open and the ties begun.
Structs§
- Open
Slur - A slur begun and not yet joined: where it starts, the measure it starts in, where that note ends and its place in its group.
- Placement
- The translator’s placing state: music21’s
positionMeasureandmeasurePosition,openSlursandtiedSteps. - Tied
Step - A tie begun on a staff step: the measure it was begun in, none where carried over a barline, and where the tied note ends.
Traits§
- Placing
- What a measure of either kind does for the translator.