from musicxml import musicXml2Song
import pygame
-SUPPORTED_FILE_HEADER = 'ENV winwii log format version : 1.0-alpha'
+SUPPORTED_FILE_HEADER = 'ENV winwii log format version : 1.0'
class LogFileReader(object) :
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)
+
pygame.event.clear() # à virer
#EventDispatcher.dispatchEvents()