Custom audio files not playing in-game
So, how do I get the .wav files to play in game?
Don't know if that's where the files should be.
AD_79p2 wrote:
I updated the audio cache, but for some reason, the files still won't play when they are triggered.![]()
Um, did you read that? It was at the top of the thread. I already updated the audio cache.
onpressed - ambiant_generic - playsound - delay 0
If that works, there may be an issue in you main map file. if it still wont play, it may be a problem with the file
josepezdj wrote:
...do you know they must be 44100Hz sample rate?
How do you check the sample rate?
RectorRocks wrote:
How do you check the sample rate?
You check it in whatever audio editting program you are using right before "Save as...". Normally there is a tab for the specifications for each format (.mp3 .wav etc.) you want to save your audio as. Though anyway, it must be displayed somewhere at your working window (this depends on each software, just look for it.)... or in options, you sure have a default settings window to set your desired rate up...
Also, AD_79p2, you mean "in game" when in the Workshop or normal .bsp run?
BTW I don't actually have an audio editor, I'm just using a text-to-speech demo I found online.
OFFTOPIC: Have any of you ever played Super Meat Boy? (I don't quite know why I just wrote that).