- def playNote(self, note, velocity):\r
- noteNumber = self.instrument.getNote(note)\r
- \r
- if noteNumber != None :\r
- noteOnHexCode = self.getNoteOnHexCode()\r
- CCHexCode = self.getCCHexCode()\r
- else :\r
- noteNumber = defaultInstrumentNote\r
- noteOnHexCode = defaultNoteOnHexCode\r
- CCHexCode = defaultCCHexCode\r
- \r
- self.port.write_short(noteOnHexCode, noteNumber , 127)\r
- self.port.write_short(CCHexCode, 07, velocity)\r
+# def playNote(self, note, velocity):\r
+# print 'playNote'\r
+# noteNumber = self.instrument.getNote(note)\r
+# \r
+# if noteNumber != None :\r
+# noteOnHexCode = self.getNoteOnHexCode()\r
+# CCHexCode = self.getCCHexCode()\r
+# else :\r
+# noteNumber = defaultInstrumentNote\r
+# noteOnHexCode = defaultNoteOnHexCode\r
+# CCHexCode = defaultCCHexCode\r
+# \r
+# self.port.write_short(noteOnHexCode, noteNumber , 127)\r
+# self.port.write_short(CCHexCode, 07, velocity)\r