Generation

This commit is contained in:
khodowany
2026-09-30 01:38:16 -05:00
parent b1a7b44d7a
commit deaa0468a7
20 changed files with 417 additions and 198 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def acoustic_document(bars):
for measure, (bass, upper) in zip(staff['measures'], bars):
measure['transpose']['octave_change'] = -1
measure['voices'] = []
for lane, attacks, positions in (('bass', bass, (('c', 5, 3),)), ('upper', upper, (('e', 4, 2), ('g', 3, 0)))):
for lane, attacks, positions in (('bass', bass, (('d', 5, 5),)), ('upper', upper, (('f', 4, 3), ('a', 3, 2)))):
notes, cursor = [], fractions.Fraction()
for onset, duration in attacks:
onset, duration = fractions.Fraction(onset), fractions.Fraction(duration)