mingus.midi.SequencerObserver

An easy to extend base class that can be used to observe a Sequencer.

Each time a Sequencer starts playing a new Note, Bar, w/e, an event is fired; this SequencerObserver intercepts the event messages and calls the proper function so you only have to implement the functions for the events you need to see.

mingus.midi.SequencerObserver.cc_event(self, channel, control, value)

mingus.midi.SequencerObserver.instr_event(self, channel, instr, bank)

mingus.midi.SequencerObserver.notify(self, msg_type, params)

mingus.midi.SequencerObserver.play_Bar(self, bar, channel, bpm)

mingus.midi.SequencerObserver.play_Bars(self, bars, channels, bpm)

mingus.midi.SequencerObserver.play_Composition(self, composition, channels, bpm)

mingus.midi.SequencerObserver.play_Note(self, note, channel, velocity)

mingus.midi.SequencerObserver.play_NoteContainer(self, notes, channel)

mingus.midi.SequencerObserver.play_Track(self, track, channel, bpm)

mingus.midi.SequencerObserver.play_Tracks(self, tracks, channels, bpm)

mingus.midi.SequencerObserver.play_int_note_event(self, int_note, channel, velocity)

mingus.midi.SequencerObserver.sleep(self, seconds)

mingus.midi.SequencerObserver.stop_Note(self, note, channel)

mingus.midi.SequencerObserver.stop_NoteContainer(self, notes, channel)

mingus.midi.SequencerObserver.stop_int_note_event(self, int_note, channel)

Back to Index