snd_tune ( var Handle, var Volume, var Freqency, var Balance);

Modifies the playing sound with the given handle. Changes the volume (0..100), the frequency (10..1000, percentage of the original frequency) and the balance (-100..+100). If one of the parameters is 0, the parameter remains unchanged.


Handle Sound handle, returned by snd_play or ent_playsound.
Volume New volume (0..100); 0 = no change.
Frequency New frequency (10..1000, percentage of the original frequency); 0 = no change.
Balance New balance (-100..+100); 0 = no change.




var whosh_handle;
whosh_handle = ent_playloop(my,whosh,100);
while (1) 

See also:

snd_play, ent_playsound, ent_playloop, snd_stop, snd_playing ► latest version online