utils/pianoroll-client.py
changeset 21 89d235bcbbf3
parent 2 fc1ab0074e29
child 48 a7abfcfd7959
--- a/utils/pianoroll-client.py	Tue Oct 14 16:24:49 2014 +0200
+++ b/utils/pianoroll-client.py	Tue Oct 14 18:00:13 2014 +0200
@@ -37,7 +37,8 @@
         tc = 0
         for row in self.rows:
             row_conv = [ osc.TimeTagArgument(float(row[0]))] + [osc.IntArgument(int(a)) for a in row[1:]]
-            time.sleep((row_conv[1].value-tc)/10**3)
+            #time.sleep((row_conv[1].value-tc)/10**3)
+            time.sleep(0.1)
             tc = row_conv[1].value
             self._send(osc.Message(self.address,*row_conv))
         print("Goodbye.")