Garry's Mod

Garry's Mod

View Stats:
MooMooMarv Sep 6, 2013 @ 6:11pm
Invalid Sample rate for custom sounds?
Gonna try this again because my post from last night is now buried deep within the archives...

Hello. I have an issue with custom sounds on my friend's TTT server. I edited some songs to use for ending music for the rounds, and uploaded them to the server's sound directory using FileZilla FTP client. However, when I tried to test them using "ulx playsound <filename>", they did not play and came up with an error saying, "Invalid sample rate (48000) for <filename>". I tried rerendering them at different bitrates, to no avail.

I used Sony Vegas to edit them and render them, and the project sample rate I used initially was obviously 48000 Hz. I rerendered them at 44100 Hz 16-bit, but they still came up with that same error message. I tried using Audacity instead, 44100 HZ 16-bit, same as the Vegas settings, but alas the same error message comes up. Am I doing something wrong? Is there an extra step I missed in order to get these working?

BTW, my friend edited and uploaded a bunch of custom sounds as well, and he tells me he uses the default settings for Audacity, yet they work perfectly. I don't understand.

And I am not a very sound-tech person, so if I am missing a silly thing, please forgive my ignorance.
< >
Showing 1-2 of 2 comments
Wasabi_Thumbs Sep 8, 2015 @ 6:15pm 
I am not a big sound-tech person either, but I seemed to have the same problem.
Some of the following things helped some people though, and quite frankily helped me.

1- Audacity has not been updated in eons, so you might wanna use something else
2- If it's an mp3, try converting to a wav, or if its a wav, try converting it to mp3.
3- The ideal sample rate is 44100 HZ. 16-Bit just makes it more compatible ;).
4- If its really that much of a hassle the sound is not worth it
5- Try to NORMALISE the sound. It can help as well. Lowering the volume may help, too.

Have a nice day with :p2orange:

Note for step 5: Make a backup just in case. Normalising can really mess with some sounds.
Note for step 3: Sometimes the software messes with the sample rate for you because you are risking the quality of the sound ;)
Last edited by Wasabi_Thumbs; Sep 8, 2015 @ 6:20pm
MooMooMarv Sep 9, 2015 @ 6:27pm 
I initially posted this 2 years ago and am no longer involved in direct administration of my friend's TTT server, but I do appreciate your help! I'll make sure to go back to your post if I ever do return and need to manage sounds again.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Sep 6, 2013 @ 6:11pm
Posts: 2