diff options
author | amartin <olpc@xo-05-28-21.localdomain> | 2007-09-10 05:03:34 (GMT) |
---|---|---|
committer | amartin <olpc@xo-05-28-21.localdomain> | 2007-09-10 05:03:34 (GMT) |
commit | 7e682ce7620f1f8a9fb9b4ffc4f4039dbfdffc56 (patch) | |
tree | 1fda205627934404e9aacce342579a4f8d0269d3 /Util/ControlStream.py | |
parent | 1204c5b72630555a5e86dc5de58081baa48f7709 (diff) |
Jam Popups
Diffstat (limited to 'Util/ControlStream.py')
-rw-r--r-- | Util/ControlStream.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Util/ControlStream.py b/Util/ControlStream.py index 28ac41b..18077bc 100644 --- a/Util/ControlStream.py +++ b/Util/ControlStream.py @@ -132,7 +132,7 @@ class TamTamTable: bool(argv[15]), argv[16]) - self.noteDB.addNote(nid, page, track, cs ) + self.noteDB.addNote( -1, page, track, cs ) def note_set(self, argv): print 'note_set', argv @@ -178,7 +178,9 @@ class TamTamTable: data += str data = eval( data ) - if blockClass == Block.Loop: + if blockClass == Block.Drum: + data["page"] = self.pid[ data["page"] ] + elif blockClass == Block.Loop: data["id"] = self.pid[ data["id"] ] self.jam.updateLoopImage( data["id"] ) |