-
Notifications
You must be signed in to change notification settings - Fork 0
Time Signature
anstepp edited this page Nov 29, 2020
·
1 revision
A time signature in Py2MusicXML is relatively similar to a time signature in music. To create a time signature, simply create a tuple with the top number first.
time_signature = (4,4)When creating a Part with a time signature, it is important to enclose the time signature in a list.
time_signature = [(4,4)]
part = Part(note_list, time_signature)If you use more than one time signature in the List, it will cycle through these time signatures.
time_signature = [(4,4), (3,4)]
part = Part(note_list, time_signature)