• Sounds in hl2
    5 replies, posted
Hello. I trying to put custom sound in a hl2 ep2 mod, but it won't play. No idea why. Help me out Here's the file https://files.facepunch.com/forum/upload/308192/48255dcb-64ef-492c-8af6-7a5fa86bb66c/thoughts_1.wav
The sample rate and sample size are incorrect. The max rate supported by Source is 44.1kHz, while sample size is 16 bit, while your file has 48kHz and 32 bit floating point respectively. I've uploaded a converted file. This should work fine in Source. https://files.facepunch.com/forum/upload/109920/9ebc7685-ec85-4893-96c9-9bc41e4d73df/thoughts_1_conv.wav
You are my hero. Works like a charm. Can you tell me the way you fixed my file? Like a link to a website you used?
You can choose your settings in pretty much any audio editor when exporting.
specifically, Audacity should be able to do this
Since, judging by the metadata, you've been using Adobe Audition, I'll show how to do it with that. All you have to do is pick "Convert Sample Rate", or use Shift+T, which is under "Edit" https://files.facepunch.com/forum/upload/109920/c219e3c8-c297-4fe8-816e-81dfb49522de/2018-08-10_13-51-24.png Then, just use these settings, click "OK" and save the file. Should work fine. https://files.facepunch.com/forum/upload/109920/b4c5e3ae-a1c7-489a-b318-9516ef25e8c0/Adobe Audition CC_2018-08-10_13-51-29.png You can make sure that the file is correct by using MediaInfo or dBPoweramp https://files.facepunch.com/forum/upload/109920/224e3c5f-eb9d-4877-bffa-b6b4d8d00861/2018-08-10_13-56-34.png
Sorry, you need to Log In to post a reply to this thread.