-
Notifications
You must be signed in to change notification settings - Fork 433
Open
Description
music21 version
9.2b
Problem summary
In tinyNotation, a triplet that is tied to a note outside the triplet does not parse properly.
Steps to reproduce
c = converter.parse('tinynotation: 2/4 trip{C8 D8 E8~} E4')
c.show('text', addEndTimes=True)
for n in c[note.Note]: print(n, n.tie)
Expected vs. actual behavior
Expected
{0.0 - 1.6667} <music21.stream.Measure 1 offset=0.0>
{0.0 - 0.0} <music21.clef.BassClef>
{0.0 - 0.0} <music21.meter.TimeSignature 2/4>
{0.0 - 0.3333} <music21.note.Note C>
{0.3333 - 0.6667} <music21.note.Note D>
{0.6667 - 1.0} <music21.note.Note E>
{1.0 - 2.0} <music21.note.Note E>
{2.0 - 2.0} <music21.bar.Barline type=final>
<music21.note.Note C> None
<music21.note.Note D> None
<music21.note.Note E> <music21.tie.Tie start>
<music21.note.Note E> <music21.tie.Tie stop>
Actual
{0.0 - 1.6667} <music21.stream.Measure 1 offset=0.0>
{0.0 - 0.0} <music21.clef.BassClef>
{0.0 - 0.0} <music21.meter.TimeSignature 2/4>
{0.0 - 0.3333} <music21.note.Note C>
{0.3333 - 0.6667} <music21.note.Note D>
{0.6667 - 1.0} <music21.note.Note E>
{1.0 - 1.6667} <music21.note.Note E>
{1.6667 - 1.6667} <music21.bar.Barline type=final>
<music21.note.Note C> None
<music21.note.Note D> None
<music21.note.Note E> <music21.tie.Tie start>
<music21.note.Note E> None
More information
Appears to be a problem with the intersection of autoExpires and the ending triplet state.
Metadata
Metadata
Assignees
Labels
No labels