spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Multimedia functions

PlaySilentMIDI

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


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.