Skip to content

Commit

Permalink
Demonstrate ties in splitElementsToCompleteTuplets doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Aug 7, 2022
1 parent de1be4b commit 1565894
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions music21/stream/makeNotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,8 @@ def splitElementsToCompleteTuplets(
>>> splitElementsToCompleteTuplets(s)
>>> [el.quarterLength for el in s.notes]
[Fraction(1, 3), Fraction(2, 3), Fraction(1, 3), Fraction(2, 3)]
>>> [el.tie for el in s.notes]
[None, <music21.tie.Tie start>, <music21.tie.Tie stop>, None]
With `recurse`:
Expand Down

0 comments on commit 1565894

Please sign in to comment.