Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLollo21 authored Apr 28, 2023
1 parent 18bd652 commit d35e03d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from scamp import *

# Here's the basic test:
test_run.play(show_lilypond=True)

# Ok, now let's spice it up a bit...
s = Session(tempo=50)
guitar = s.new_part("Guitar")
s.start_transcribing()
Expand Down Expand Up @@ -30,6 +34,6 @@
]

for pitch_duration in melody:
guitar.play_note(pitch, 0.7, duration)
guitar.play()

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

0 comments on commit d35e03d

Please sign in to comment.