Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bspaans/python-mingus
/ closeDevice
Method
closeDevice
mingus/midi/win32midi.py:64–67 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
62
)
63
64
def
closeDevice(self):
65
rc = self.winmm.midiOutClose(self.hmidi)
66
if
rc != 0:
67
raise
Win32MidiException(
"Error closing device"
)
68
69
def
sendNote(
70
self, pitch, duration=1.0, channel=1, volume=60
Callers
1
__del__
Method · 0.80
Calls
1
Win32MidiException
Class · 0.85
Tested by
no test coverage detected