Does anyone have experience with Audacity? or modding custom sounds into games?im trying to do a thing and the audio sounds fine in audacity but when it plays in game the end of it sounds glitchy at worst and has an audible click at best - some files dont have anything wrong with them at all so im not entirely sure of what to make of it.https://www.youtube.com/watch?v=ReMBZDOowgA
try saving all wav files to 44100hz and 16bit
>>1511187thats the thing, they are.it almost seems like if the clip is a certain duration it freaks out? maybe? just guessing tho
Think I found the problem, please let me know if clearing the sound cache file works.
>>1511194this is EXACTLY the solution. thanks man!
>>1511236Cool, you're welcome!
>>1511186>>1511194Also for future reference, this can be avoided if you set the time of the sound clip to the time the original had. For example, if you were replacing "Spy_paincrticialdeath01.wav" which is 2.25 seconds, you'd need to also have your clip play for 2.25 seconds, if it's longer it'll be cut off and if it's shorter it'll play static (you can just set it to be white noise until the end time if it's too short)I remember making a few L4D2 audio mods back in the day and the first one I did had this problem. I never knew I could reset the sound cache but since I was going to upload it to the workshop I wanted to make sure it wouldn't have any problems and discovered this fix.I know it was solved for you but just something to keep in mind for the future.
yeah the cache will tell the program that the file is a certain length long, if the new file is longer then the remaining of the playback is basically RAM gibberish