The Dink Network

Re: Repeating sounds problem

September 7th 2008, 02:14 PM
dinkdead.gif
Why doesn't this work?

playsound(64, 48000, 0, &current_sprite, 1);

I just get a quick clip of sound and then nothing. If it's not attached to a sprite, or if it's not repeating, it works. This is very annoying because I can't use sp_sound() either

Is it a bug or something I'm missing?
September 8th 2008, 10:47 AM
dinkdead.gif
Or if someone knows how to make a 48000 Hz sound sound the same at 22050 Hz, that would work
September 9th 2008, 01:29 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Now, I would help you. But the playsound() command always confused me.

I just posted to make you feel better and to make sure you know the people here aren't completely ignorant.
September 22nd 2008, 11:13 AM
dinkdead.gif
I found out how to do this, so here's how to do it (in case you were wondering):

In Audacity, there's a box in the bottom-left corner labeled 'project rate'. Change this to the speed you want and then export as wav. It should sound the same, or close enough.

And thank you DD95, for inspiring me to go to the Audacity forums and try them instead
September 23rd 2008, 01:09 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
No worries!