|
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
[Re: HeelX]
#185145
03/01/08 14:21
03/01/08 14:21
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Three additional ones (bolded): - snd_vol: returns the current volume of the sound with the passed handle
- snd_balance: returns the current balance value of the sound with the passed handle
- snd_freq: returns the current frequency of the sound with the passed handle
- snd_kill: terminates all playing sounds of the passed SOUND*
- snd_3D: similar to ent_playsound, the sound will be played at a position in 3D space. The sound will be stationary while it is playing and isn't in relation to any entity.
- snd_length: returns the length of a sound in seconds
- snd_lengthMs: returns the length of the sound in milliseconds
- snd_time: returns a percentage between 0..100% at which time-position the audio cursor is
- media_*: all above suggested snd instructions also available für media-streams
- snd_samplingrate - returns the sampling rate of a sound
- snd_falloff - sets the falloff factor of the passed SOUND*, including the distance of permanent 100% volume and an additional distance in which the sound is linearily faded out
- snd_file - returns the filename of the sound
- snd_isLoaded - returns if the passed filename is already loaded as SOUND*. If it has been loaded previously, the SOUND* will be returned, otherwise NULL
- snd_next - takes a SOUND* and a handle. If handle is == 0, snd_next returns the first running instance of the passed SOUND* as handle. If handle is != 0, the next running instance of the SOUND* is returned
Last edited by HeelX; 03/01/08 14:24.
|
|
|
|
Entire Thread
|
snd_vol, snd_balance, snd_freq, snd_kill, snd_3d
|
HeelX
|
02/23/08 00:06
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
JibbSmart
|
02/23/08 00:36
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
02/23/08 00:37
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
JibbSmart
|
02/23/08 00:39
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
FBL
|
02/23/08 12:22
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
Nidhogg
|
02/26/08 08:26
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
02/27/08 14:51
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
02/29/08 15:17
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
03/01/08 14:21
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
03/07/08 13:07
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
jcl
|
03/07/08 17:32
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
FBL
|
03/07/08 17:58
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
ello
|
03/07/08 20:17
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
Uhrwerk
|
03/10/08 18:36
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
03/10/08 20:29
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
jcl
|
03/11/08 13:39
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
HeelX
|
03/11/08 13:54
|
Re: snd_vol, snd_balance, snd_freq, snd_kill, snd_
|
Uhrwerk
|
03/11/08 17:13
|
|
|