Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLollo21 authored May 9, 2023
1 parent dd4dd11 commit 13aa662
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
guitar = s.new_part("Guitar")
s.start_transcribing()

melody = [
(60, 1.0),
(72, 1.0)
]

for pitch_duration in melody:
guitar.play()

s.stop_transcribing().to_score().show()

melody = [ # This is really just a C chromatic scale
(60, 0.25), # C, quarter note
(64, 0.25), # E, quarter note
Expand Down

0 comments on commit 13aa662

Please sign in to comment.