+
+ elif eventName == 'NOTEON':
+ chan, key, vel = [int(v) for v in message.split(None, 2)]
+ self.synth.noteon(chan, key, vel)
+
+ elif eventName == 'NOTEOFF':
+ chan, key = [int(v) for v in message.split(None, 1)]
+ self.synth.noteoff(chan, key)
+
+ elif eventName.startswith('COL') :
+ pos = [int(n) for n in message.split(None, 4)[-1].strip('()').split(',')]
+ self.cursor.setPosition(pos)
+