| Trees | Indices | Help |
|
|---|
|
|
Midi file I/O and manipulation library.
Python MIDI
This package contains data structures and utilities for reading, manipulating and writing MIDI data.
|
|||
| |||
|
|||
|
Event Base class for all MIDI events. |
|||
|
MetaEvent MetaEvent is a special subclass of Event that is not meant to be used as a concrete class. |
|||
|
EventFactory EventFactory is a factory for getting MIDI events out of a data stream. |
|||
|
NoteEvent Abstract base class for NoteOnEvent and NoteOffEvent. |
|||
|
NoteOnEvent Note-on event. |
|||
|
NoteOffEvent Note-off event. |
|||
|
AfterTouchEvent Changes the pressure of aftertouch on a note. |
|||
|
ControlChangeEvent Sets the value of one of the 128 controllers available to a device. |
|||
|
ProgramChangeEvent Changes the patch (voice) number of the instrument. |
|||
|
ChannelAfterTouchEvent Channel pressure (after-touch). |
|||
|
PitchWheelEvent Change the pitch-bend wheel value. |
|||
|
SysExEvent System exclusive MIDI event. |
|||
|
SequenceNumberEvent Defines the pattern number of a Type 2 MIDI file or the number of a sequence in a Type 0 or Type 1 MIDI file. |
|||
|
TextEvent Defines some text which can be used for any reason including track notes, comments. |
|||
|
CopyrightEvent Defines copyright information including the copyright symbol (0xA9), year and author. |
|||
|
TrackNameEvent Defines the name of a sequence when in a Type 0 or Type 2 MIDI file or in the first track of a Type 1 MIDI file. |
|||
|
InstrumentNameEvent Defines the name of an instrument being used in the current track chunk. |
|||
|
LyricsEvent Defines the lyrics in a song and usually used to define a syllable or group of works per quarter note. |
|||
|
MarkerEvent Marks a significant point in time for the sequence. |
|||
|
CuePointEvent Marks the start of some type of new sound or action. |
|||
| UnknownEvent | |||
|
ChannelPrefixEvent Associates a MIDI channel with following meta events. |
|||
|
PortEvent Specifies which MIDI port should be used to output all subsequent events. |
|||
| TrackLoopEvent | |||
|
EndOfTrackEvent Appears and the end of each track to mark the end. |
|||
|
SetTempoEvent Change the tempo of events played after this point. |
|||
|
SmpteOffsetEvent Designates the SMPTE start time (hours, minutes, secs, frames, subframes) of the track. |
|||
|
TimeSignatureEvent Expressed as 4 numbers: <numerator> <denominator> <metronome> <thirtyseconds>. |
|||
|
KeySignatureEvent Sets the key signature, made up of a number of sharps/flats and either major or minor. |
|||
| BeatMarkerEvent | |||
|
SequencerSpecificEvent Specifies information specific to a hardware or software sequencer. |
|||
| TempoMap | |||
| EventStreamIterator | |||
|
EventStream Class used to describe a collection of MIDI events, organized into tracks. |
|||
|
EventStreamWriter Takes care of writing MIDI data from an EventStream to an output stream, such as a file. |
|||
|
EventStreamReader Reads MIDI data in from an input stream, probably a file, and produces an EventStream to represent it internally. |
|||
|
MidiReadError Usually raised on encountering invalid MIDI data while parsing. |
|||
| MidiWriteError | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__package__ =
|
|||
|
|||
Creates an All Notes Off event. This is really a specialized control change event and uses one of the reserved controller numbers. |
Returns a SysExEvent which will encode single note tuning changes according to the MIDI tuning messages standard. note_changes should be a list of note changes, specified as triples:
where:
|
Midi debugger. Checks through a midi event stream for things that might be wrong with it.
To Do: add more possible problems to the checks. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |