|
||
Sound effectsThis functionality is only available in the Pro Edition of Game Maker.Sound effects can be used to change the way sounds and background music sounds. Realize that sound effects only apply to wave files and midi files, not to mp3 files. This section describes the functions that exist for using and changing sound effects. Realize that to use these functions you need to have a good understanding of how sound and synthesizers work. No explanation of the different parameters is given here. Search the web or books for further informations. To apply a sound effect to a particular sound you can either indicate this when defining the sound resource or you can use the following function
sound_effect_set(snd, effect) Sets a (combination of) sound effect(s) for the indicated sound. effect can be any of the following values:se_noneYou can set a combination of effects by adding up the values. So e.g. you can use All effects have some default settings. You can change these settings once an effect has been applied to a sound. The order here is crucial. You first apply the effect to the sound and next set the parameters for it. Once you reapply effects to the sound, the settings are gone and you have to set them again. Note that all parameters must lie in a particular range, which is indicated below. The following functions exist for changing effect parameters:
sound_effect_chorus(snd, wetdry, depth, feedback, frequency, wave, delay, phase) Sets the parameters for the chorus effect for the indicated sound. The following parameters can be set:wetdry Ratio of wet (processed) signal to dry (unprocessed) signal. (range: 0 to 100, default 50)sound_effect_echo(snd, wetdry, feedback, leftdelay, rightdelay, pandelay) Sets the parameters for the echo effect for the indicated sound. The following parameters can be set: |
||
|
||
|
You can also read this manual on one single long page (± 1.5 mb)
Also available in: ![]() Download helpfile
|
||





