Team Fortress 2
󠀡󠀡 Aug 8, 2018 @ 9:23pm
How do I change my 32 Bit Custom sound into 16 bit float sound
I've been trying to change this custom hit and kill sound which are both 32 bit float in audacity to 16 bit float. But when I save it, and reopen it in audacity it says its a 32 float. To make the custom sound work, on the tf2 wiki it said I needed 16 bit float. Any ideas? Also when I boot it up on tr walkway it said and spammed in the console "Failed to load sound "vo\null.wav", file probably missing from disk/repository" when ever I tried to use the hitsound by shooting a bot. HELP PL0X
< >
Showing 1-12 of 12 comments
burlap sack Aug 8, 2018 @ 9:26pm 
You could try an online converter
󠀡󠀡 Aug 8, 2018 @ 9:29pm 
Originally posted by Sir CD:
You could try an online converter
Like wbat
󠀡󠀡 Aug 8, 2018 @ 9:31pm 
I've also got it as,"tf < custom < custom folder < sound < ui < killsound and hitsound UI
Barnek Aug 8, 2018 @ 9:34pm 
Use Audacity.
Open file and export as 16bit.
󠀡󠀡 Aug 8, 2018 @ 9:38pm 
Originally posted by Barnek:
Use Audacity.
Open file and export as 16bit.
I've tried that, but once I reopen that same file in Audacity it says its 32 bit float again. I save the file as a windows 16 bit thingy and I tried pressing the export selected audio and export audio
Barnek Aug 8, 2018 @ 10:08pm 
The only thing I could think of is making sure the rate is 44100Hz.

Read the second part, "editing the audio with Audacity", the rest is irrelevant for your case since (I assume) you are not using vpk.
https://steamcommunity.com/sharedfiles/filedetails/?id=1363696350
󠀡󠀡 Aug 8, 2018 @ 10:18pm 
Originally posted by Barnek:
The only thing I could think of is making sure the rate is 44100Hz.

Read the second part, "editing the audio with Audacity", the rest is irrelevant for your case since (I assume) you are not using vpk.
https://steamcommunity.com/sharedfiles/filedetails/?id=1363696350
My rate is 44100 Hz but I uh... What's vpk (i've never seen it in my files so I guess I shouldn't worry)
Shakes Aug 8, 2018 @ 10:24pm 
Originally posted by McCree:
Originally posted by Barnek:
Use Audacity.
Open file and export as 16bit.
I've tried that, but once I reopen that same file in Audacity it says its 32 bit float again. I save the file as a windows 16 bit thingy and I tried pressing the export selected audio and export audio
Audacity will convert most files internally to 32-bit float format when you import them; this is just for editing purposes. If you export it as a signed 16-bit WAV file then that is what you're going to get.
Last edited by Shakes; Aug 8, 2018 @ 10:25pm
󠀡󠀡 Aug 8, 2018 @ 10:25pm 
Originally posted by Shakes:
Originally posted by McCree:
I've tried that, but once I reopen that same file in Audacity it says its 32 bit float again. I save the file as a windows 16 bit thingy and I tried pressing the export selected audio and export audio
Audacity will convert most files to 32-bit float format when you import them; this is for editing purposes. If you export it as a signed 16-bit WAV file then that is what you're going to get.
But even after converting the files to 16 bit and moving it to tf<custom<customfolder<sounds<ui and putting them in UI it wouldn't work while testing it on bots. Does it have to do with me having AntsHUD?
Last edited by 󠀡󠀡; Aug 8, 2018 @ 10:30pm
Shakes Aug 8, 2018 @ 10:37pm 
Originally posted by McCree:
Originally posted by Shakes:
Audacity will convert most files to 32-bit float format when you import them; this is for editing purposes. If you export it as a signed 16-bit WAV file then that is what you're going to get.
But even after converting the files to 16 bit and moving it to tf<custom<customfolder<sounds<ui and putting them in UI it wouldn't work while testing it on bots
Then there is another reason it isn't working.

If you see messages in console about "invalid sample rate" then that means your sound isn't at one of the sample rates that Source uses (44100 Hz, 22050 Hz, 11025 Hz). Make sure that the project rate in the lower left-hand corner of Audacity says one of those numbers before exporting (higher is better in most cases).

If you don't see any error messages then you got the file path wrong. The files you're trying to replace should be sound/ui/hitsound.wav and sound/ui/killsound.wav if you're using the default hitsound and killsound. If you're not using the defaults then the file names will be different.
Last edited by Shakes; Aug 8, 2018 @ 10:37pm
Barnek Aug 8, 2018 @ 10:40pm 
Originally posted by McCree:
But even after converting the files to 16 bit and moving it to tf<custom<customfolder<sounds<ui and putting them in UI it wouldn't work while testing it on bots

Look in the Advanced Options and make sure the hit sound and last hit sound are "default" and both options enabled.
https://i.imgur.com/rKRhGdO.png
󠀡󠀡 Aug 8, 2018 @ 10:40pm 
Originally posted by Shakes:
Originally posted by McCree:
But even after converting the files to 16 bit and moving it to tf<custom<customfolder<sounds<ui and putting them in UI it wouldn't work while testing it on bots
Then there is another reason it isn't working.

If you see messages in console about "invalid sample rate" then that means your sound isn't at one of the sample rates that Source uses (44100 Hz, 22050 Hz, 11025 Hz). Make sure that the project rate in the lower left-hand corner of Audacity says one of those numbers before exporting (higher is better in most cases).

If you don't see any error messages then you got the file path wrong. The files you're trying to replace should be sound/ui/hitsound.wav and sound/ui/killsound.wav if you're using the default hitsound and killsound. If you're not using the defaults then the file names will be different.
So what shall I do. My stuff is enabled
Last edited by 󠀡󠀡; Aug 8, 2018 @ 10:40pm
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Aug 8, 2018 @ 9:23pm
Posts: 12