The Dink Network

Reply to Re: Sound question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 11th 2010, 11:41 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Copyright information? Eh?

The playsound command needs to be given the sampling rate of the sound in hertz. Otherwise, it won't sound right, or it will play it at variable sampling rates, like when Dink gets hurt.

Of course you can create some interesting effects by playing 44.1khz wav files at higher or lower sampling rates. That's how one of the original sounds was made, the pickup noise was just the punch(?) sound played at a higher rate.