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

Method note_on

mingus/midi/midi_track.py:180–182  ·  view source on GitHub ↗

Return bytes for a 'note_on' event.

(self, channel, note, velocity)

Source from the content-addressed store, hash-verified

178 return self.midi_event(NOTE_OFF, channel, note, velocity)
179
180 def note_on(self, channel, note, velocity):
181 """Return bytes for a 'note_on' event."""
182 return self.midi_event(NOTE_ON, channel, note, velocity)
183
184 def controller_event(self, channel, contr_nr, contr_val):
185 """Return the bytes for a MIDI controller event."""

Callers 1

play_NoteMethod · 0.95

Calls 1

midi_eventMethod · 0.95

Tested by

no test coverage detected