PlaySilentMIDI (int music_number)
Plays MIDI music MUSIC_NUMBER silently in the background. While it is playing, GetMIDIPosition
and SeekMIDIPosition will operate on this track.
This is a very specialised command and will not be needed by most games. It is designed to
allow the beats of a MIDI file to be used for timing of game events and for other purposes.
The MIDI is silently played on the speech sound channel, so you cannot use this in a talkie
game.
Example:
PlaySilentMIDI(2);
will play music2.mid silently in the background.
See Also: GetMIDIPosition, SeekMIDIPosition
|