MCPcopy Create free account
hub / github.com/bspaans/python-mingus / set_channel

Method set_channel

mingus/containers/note.py:90–93  ·  view source on GitHub ↗
(self, channel)

Source from the content-addressed store, hash-verified

88 }
89
90 def set_channel(self, channel):
91 if not 0 <= channel < 16:
92 raise ValueError("MIDI channel must be 0-15")
93 self.channel = channel
94
95 def set_velocity(self, velocity):
96 if not 0 <= velocity < 128:

Callers 1

set_noteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected