Platform SDK: Windows Multimedia

MIDI Streams

MIDI events occur in the context of a stream of MIDI data. Although an application can use several streams to define musical data, the MIDI mapper does not recognize multiple streams. Most applications that use streams use a single MIDI stream.

The following functions work with streams.

Value Meaning
midiStreamClose Closes a MIDI stream.
midiStreamOpen Opens a MIDI stream and retrieves a handle.
midiStreamOut Plays or queues a stream (buffer) of MIDI data to a MIDI output device.
midiStreamPause Pauses playback of a specified MIDI stream.
midiStreamPosition Retrieves the current position in a MIDI stream.
midiStreamProperty Sets and retrieves stream properties.
midiStreamRestart Restarts playback of a paused MIDI stream.
midiStreamStop Turns off all notes on all MIDI channels for the specified MIDI stream.