def note_off(self, channel, pitch, velocity=100): note = Note() note.from_int(pitch) note.velocity = velocity fluidsynth.stop_Note(note, channel)