I’ve created some custom WAV/MP3 files to play when a player activates them in a SWEP. It’s really just an edit of the Angry Hobo SWEP.
[WARNING] The sounds on the files are loud and may be slightly NSFW
Here’s a .WAV file that comes with the Angry Hobo SWEP. It works fine.
Here’s a .WAV file I’ve encoded @ 44100Hz. It does not work in the swep, nor when using the command ulx playsound weapons/hobo/hoboswep25.wav
The error this creates in my console is [LC ULib ERROR] Received invalid sound
Here’s the previous .WAV encoded into a MP3 @ 44100Hz. It doesn’t work in the swep, nor when played with ulx playsound weapons/hobo/hoboswep25.mp3**
It also gives the error [LC ULib ERROR] Received invalid sound
Just out of curiosity I encoded one of the working .WAV files into a .MP3 @ 44100Hz and tried to play it, and it became unusable in both the swep and when using the command ulx playsound weapons/hobo/hoboswep1.mp3
It throws the error [LC ULib ERROR] Received invalid sound
Audio recording was done on Teamspeak @ 48000Hz then converted to 44100Hz on audacity.