Page 1 of 1

Adjust pitch (aka resample) of sound file.

PostPosted: Tue Aug 30, 2005 2:21 pm
by BeyondtheTech
Instead of making various wave files for different speeds, it would theoretically be easy to make different variations of sounds by changing the preset sampling rate in the WAV file.

Playing a 22KHz sound file at 44KHz would result in a faster, higher sound, i.e. a male voice sounding like a chipmunk's.

Application of feature? Create a music synthesizer. Revving up the engine of a car or other vehicle. Breaking down of a computer like it's running out of batteries. Giving variety to one certain sound effect so it doesn't sound repetitive throughout the game.

PostPosted: Tue Aug 30, 2005 2:25 pm
by Game A Gogo
That would be cool 8)

PostPosted: Tue Aug 30, 2005 9:39 pm
by jazz_e_bob
Great suggestion.

May I suggest that the pitch be adjustable in both tones and cents.

There are twelve tones in an octave. 1 octave doubles or halves the playback speed. You would use tones for a music synthesizer.

There are 100 cents per tone. This is a much finer adjustment. += 100 cents. Perfect for giving variety to sound effects.






8)

PostPosted: Wed Sep 07, 2005 12:19 am
by willg101
:shock: Wow! You're very smart!