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

Method stop_Note

mingus/midi/midi_track.py:122–126  ·  view source on GitHub ↗

Add a note_off event for note to event_track.

(self, note)

Source from the content-addressed store, hash-verified

120 self.play_Bar(bar)
121
122 def stop_Note(self, note):
123 """Add a note_off event for note to event_track."""
124 channel = note.channel
125 velocity = note.velocity
126 self.track_data += self.note_off(channel, int(note) + 12, velocity)
127
128 def stop_NoteContainer(self, notecontainer):
129 """Add note_off events for each note in the NoteContainer to the

Callers 2

stop_NoteContainerMethod · 0.95
write_NoteFunction · 0.95

Calls 1

note_offMethod · 0.95

Tested by

no test coverage detected