from scamp import *
from random import *

s = Session(tempo=200)

cello = s.new_midi_part("m1", midi_output_device = "Arturia BeatStep")

#s.start_transcribing() # only needed if we want to generate a printed score
#
#for pitch in (45,47,48):
#   cello.play_note(pitch, 1, 0.1)
#
#s.stop_transcribing().to_score().show_xml() # end of the score


while True:
    cello.play_note(randint(50, 120), random(), random())

0be02ff08e8b88585f7c2f7d4fe80c88a5a87c72
<mask token>

<mask token>
while True:
    cello.play_note(randint(50, 120), random(), random())

<mask token>
s = Session(tempo=200)
cello = s.new_midi_part('m1', midi_output_device='Arturia BeatStep')
while True:
    cello.play_note(randint(50, 120), random(), random())

from scamp import *
from random import *
s = Session(tempo=200)
cello = s.new_midi_part('m1', midi_output_device='Arturia BeatStep')
while True:
    cello.play_note(randint(50, 120), random(), random())

from scamp import *
from random import *

s = Session(tempo=200)

cello = s.new_midi_part("m1", midi_output_device = "Arturia BeatStep")

#s.start_transcribing() # only needed if we want to generate a printed score
#
#for pitch in (45,47,48):
#   cello.play_note(pitch, 1, 0.1)
#
#s.stop_transcribing().to_score().show_xml() # end of the score


while True:
    cello.play_note(randint(50, 120), random(), random())
