InterpretMIDIEvent

Interprets MIDI events within a MIDI object.

Synopsis

Err InterpretMIDIEvent( Sequence *SeqPtr, MIDIEvent*MEvCur,ScoreContext *scon )

Description

This function is the interpreter procedure for MIDI sequence objects created using MFLoadSequence() and MFLoadCollection(). It's an internal function that is called by the Juggler and, in turn, calls InterpretMIDIMessage().

Arguments

SeqPtr
Pointer to a sequence data structure.
MEvCur
Pointer to the current MIDI event within the sequence.
scon
Pointer to a ScoreContext data structure used for playback.

Return Value

This function returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Library call implemented in music.lib V20.

Associated Files

score.h, music.lib

See Also

InterpretMIDIMessage()