+ super(PlayingScreen, self).__init__(synth, distinctNotes)
+
+ @event_handler(events.NOTEON)
+ def noteon(self, evt) :
+ tone = evt.tone
+ self.synth.noteon(0, tone.midi, 64)
+
+ @event_handler(events.NOTEOFF)
+ def noteoff(self, evt) :
+ tone = evt.tone
+ self.synth.noteoff(0, tone.midi)
+