Increasing the sound speed in the Goldsrc
I would to know if is possible to increase the sound speed in the goldsrc engine?
|
Re: Increasing the sound speed in the Goldsrc
I haven't come across this in my GoldSrc days. As the question is vague and to help the next person, do you mean playback speed of .wav files?
|
Re: Increasing the sound speed in the Goldsrc
You can change the speed when playing sounds via client_cmd(), but I don't think you can do it on other sounds, if you mean hooking and modifying their playback.
|
Re: Increasing the sound speed in the Goldsrc
Quote:
The higher the pitch the faster the sound and vice versa. |
Re: Increasing the sound speed in the Goldsrc
I mean playing the sound with a shorter time length this will probably increases the pitch of the sound but i don't think increasing the pitch or decreasing it will effect the length of the sound.
|
Re: Increasing the sound speed in the Goldsrc
Quote:
|
Re: Increasing the sound speed in the Goldsrc
Quote:
These commands are also how it's possible to make non-existent VOX sounds by using parts of existing VOX sounds. For example, "spk ^"(t30) light warning(s45) round has be(e50) gun^"" will say "Lightning round has begun" and you can see that I've speed up the entire sentance with the (t30). |
Re: Increasing the sound speed in the Goldsrc
|
Re: Increasing the sound speed in the Goldsrc
alright it seems like increasing the pitch will increase the speed of the sound but the sound will be ruined but i guess what i was expecting?
Thanks for the contributors, Solved. Solution :- Pitch ( 1 byte ) = clamp( (255 - ( time / sound_duration ) * 155.0), 0, 255) |
All times are GMT -4. The time now is 16:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.