(self, pitch, channel=1)
| 101 | ) |
| 102 | |
| 103 | def rawNoteOff(self, pitch, channel=1): |
| 104 | midimsg = 0x80 + ((pitch) * 0x100) + channel |
| 105 | mm = c_int(midimsg) |
| 106 | rc = self.winmm.midiOutShortMsg(self.hmidi, mm) |
| 107 | if rc != 0: |
| 108 | raise Win32MidiException( |
| 109 | "Error sending event, " |
| 110 | + self.midiOutShortErrorCodes.get(rc, "Unknown error.") |
| 111 | ) |
| 112 | |
| 113 | def programChange(self, program, channel=1): |
| 114 | p = program |
no test coverage detected