Reply to Re: sound number 1 - the quack
If you don't have an account, just leave the password field blank.
Yes, I was considering adding this to my recent review of Sparrowhawk's sound list, but thought it too obscure at the time.
The final playback hz for the duck is determined by the duck's size. For ducks of sprite size 100 (default) or larger, the playback rate is:
By default, duck_hz is 18Khz but is only changeable in Yedink so far. Therefore, a size 100 duck will play back sound slot 1 at 13KHz assuming no modifications.
For ducks smaller than size 100, the formula is:
Which results in higher frequency quacks for little ducks. The same applies to pigs (slots 2-4), except that those also receive an 800Hz random variance and have a thing that checks if they've already got a sound playing before oinking again.
Resampling in ffmpeg goes something like:
Keep in mind that resampling this low will make it sound comparatively horrible, assuming the original is at a standard rate of 44, 48, or 96KHz etc.
The final playback hz for the duck is determined by the duck's size. For ducks of sprite size 100 (default) or larger, the playback rate is:
duck_hz - (size * 50)
By default, duck_hz is 18Khz but is only changeable in Yedink so far. Therefore, a size 100 duck will play back sound slot 1 at 13KHz assuming no modifications.
For ducks smaller than size 100, the formula is:
(duck_hz - 2000) + (size * 100)
Which results in higher frequency quacks for little ducks. The same applies to pigs (slots 2-4), except that those also receive an 800Hz random variance and have a thing that checks if they've already got a sound playing before oinking again.
Resampling in ffmpeg goes something like:
ffmpeg -i inquack.wav -ar 13000 outquack.wav
Keep in mind that resampling this low will make it sound comparatively horrible, assuming the original is at a standard rate of 44, 48, or 96KHz etc.