|
wavelength 1.0.0
|
Go to the source code of this file.
Functions | |
| void | LoadSharedMusic () |
| Build the tracks shared by every menu song from the music_shared_midi_file entry of the metagame configuration. | |
| void | UnloadSharedMusic () |
| Release the shared tracks and the lag ramp. | |
| void | FadeInSharedMusic () |
| Fade each shared track in from the start of its loop over 1440 ticks, and move the lag of the sound output to 100 milliseconds. | |
| void | FadeOutSharedMusic () |
| Fade each shared track out over 1440 ticks, and move the lag of the sound output back to the lag_ms entry of the synth section. | |
| bool | IsSharedMusicFading () |
| Report whether a shared track still plays, as one does until its fade out has ended. | |
| void LoadSharedMusic | ( | ) |
Build the tracks shared by every menu song from the music_shared_midi_file entry of the metagame configuration.
The routines of the shared music have no receiver and act on the file-level tracks and lag ramp of their unit. No class provides them. Each track of the file whose name is TRANSITION 1, TRANSITION 3, or TRANSITION 4 becomes a MixTrack. The names are inferred.
| void UnloadSharedMusic | ( | ) |
Release the shared tracks and the lag ramp.
| void FadeInSharedMusic | ( | ) |
Fade each shared track in from the start of its loop over 1440 ticks, and move the lag of the sound output to 100 milliseconds.
| void FadeOutSharedMusic | ( | ) |
Fade each shared track out over 1440 ticks, and move the lag of the sound output back to the lag_ms entry of the synth section.
| bool IsSharedMusicFading | ( | ) |
Report whether a shared track still plays, as one does until its fade out has ended.