Quote:


snd_TUNE (Handle, Volume, Freq, balance);
Modifies the playing sound with the handle number given by handle. It can change 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 property remains unchanged.
Parameters:
handle - Handle of Sounds.
Volume - new volume (0..100). By 0 the current volume won't be changed.
Freq - New frequency (10..1000, percentage of the original frequency). By 0 the current frequency won't be changed.
Balance - balance (-100..+100). By 0 the current balöance won't be changed.
Speed:
middle
Example:

var whosh_handle;
whosh_handle = ent_playloop(my,whosh,100);
while (1)
{
ifndef SERVER; // no sound on server
snd_tune(whosh_handle,(10*total_ticks)%100,0,0);
endif;
wait(1);
}


See also:

snd_play, snd_loop, ent_playsound, ent_playloop, snd_stop, snd_playing





It is all in the manual.


Virtual Worlds - Rebuilding the Universe one Pixel at a Time. Take a look - daily news and weekly content updates.