def run(self):
   c = self._c
   for i in range(67, 75):
     n = music.midi_note(i-12)
     play.beep(c, n)
Beispiel #2
0
 def run(self):
     c = self._c
     for i in range(67, 75):
         n = music.midi_note(i - 12)
         play.beep(c, n)
 def on_note(note):
   shifted = note.key_shift('C', key)
   print('%s -> %s' % (note, shifted))
   if shifted:
     a.add_module(copy(play.beep(c, shifted.shift_octave(-1))))
Beispiel #4
0
 def on_note(note):
     shifted = note.key_shift('C', key)
     print('%s -> %s' % (note, shifted))
     if shifted:
         a.add_module(copy(play.beep(c, shifted.shift_octave(-1))))