Package midi :: Package sequencer_portmidi
[hide private]
[frames] | no frames]

Package sequencer_portmidi

source code

Interface to the PyGame midi module, which uses Portmidi to access system midi devices. This interface allows data to be sent using the Midi library's own representation.

Note that PyGame needs to be installed. An error will be raised if you try importing this module without PyGame installed.


To Do: This isn't working yet. It's a nice idea, but it's proving very difficult to get the timing to work out right. It seems that writing to the midi output stream takes a long time and holds up the playback, making a mess of the timings of events.

Classes [hide private]
  Sequencer
Midi sequencer that sends midi events to system midi devices using PyGame's interface to Portmidi.
  SequencerThread
  SequencerInitializationError
Variables [hide private]
  __package__ = 'midi.sequencer_portmidi'