Having Trouble with Custom Sounds

When i try to play a custom sound effect, the game wont play it and displays an error window saying:

"directsound errord (dserr_bufferlost)"

thats all, it just wont play the sound, i checked the default sounds and they were .wav so i maded a new one with .wad extension but it still wont budge.
did you just replace the extension by just typing the new one? that doesn't generally work with audio files last i knew, you may need to get something like Audacity and export it as the proper type.
did you just replace the extension by just typing the new one? that doesn't generally work with audio files last i knew, you may need to get something like Audacity and export it as the proper type.
I didnt i just made a new one in audacity, exporting it as a wav.

But i think the problem is that wav. is a pretty big file so RPGMaker migth have a problem there.

But anyways i did made a new audio file in Audacity and export it as wav. and it still didnt work
i'm not going to be much help here then, but the last troubleshooting idea i have for you is to make a shorter version of that sound file, and see if it works. at least then you will probably know it's file size.

you could also try importing it properly instead of pasting if that was your way, just in case.
i'm not going to be much help here then, but the last troubleshooting idea i have for you is to make a shorter version of that sound file, and see if it works. at least then you will probably know it's file size.

you could also try importing it properly instead of pasting if that was your way, just in case.
Im going to try anyways. thanks
You need to be clear when giving details of the problem, a lot of information is missing, I need to know this:
  • Is your RPG Maker 2000 or 2003?
  • Which version (numeral)?
  • Which audio editor did you use to create the sound?
  • What output configuration did you use?
  • Post here an example sound you made so we can test it.
DSERR_BUFFERLOST can have a ton of reasons, including - if I got it correctly - stuff like broken memory or other hardware-errors. But if everything else on your system that uses WASAPI for audio-output works without any problem, it almost surely has to be something with your file.

A few tips to keep filesize small and increase chances of being compatible:
Don't go higher than 44100Hz sampling and 16bit, also MONO is enough for ~most~ sound-effects. And RPG2000/2003 support ADPCM-compression for WAV-files since an update that was released around 19 years ago. SampleGame 花嫁の冠 utilizes this since RPG2000's first re-release for stuffing its 1738[!] top-quality voice-clips into ~130MB.

~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-with-custom-sounds.146924/