Having trouble logging in? Password not accepted? Recently some bad apples caused a bit of a ruckus around here and a few accounts had to be reset.
Please, drop Toshiba, Errol or n3wton a line and they'll sort you right out! We apologise for any inconvenience this may cause :(


Sound effect problem
The Joker created Sound effect problem on Fri Aug 10, 2018 5:08 pm
Post
Hello,

I searched but could not find anything.

When i try to replace sound effects, they get distorted or the game crashes.
Weird thing is, a few years ago i could replace all the effects i wanted and have no problem.

Does someone know what might be the problem, or maybe a solution to get the effects right?
And does someone else have this problem aswell?
User avatar
Toshiba-3 on Sat Aug 11, 2018 7:12 pm
Post
I guess there's a specific format to stick to when you create the WAV file. They all seem to be in mono, unsigned 8bit PCM Wave format. Most are 16000Hz and 128kbps, some have different sampling rate.

I doubt the distortion could come from the text chunk as there's usualy no reason to fiddle with the parameters beside the min/max volume.
Image / carmageddon add-ons at road reaction
User avatar
QTZ on Thu Aug 16, 2018 9:51 pm
Post
viewtopic.php?p=104889#p104889
The Joker on Sat Aug 25, 2018 12:41 pm
Post
QTZ wrote:
I'm exporting sounds using Audacity export option (unfortunately it doesn't support this format in editor). First thing is to convert to mono, second is to set correct parameters and export to wav.

- Convert to mono - menu: Tracks -> Stereo Track To Mono
- Or if you want to use one channel, just drop one track - click on track name (default it is "Audio Track") in the left top corner of the wave preview (just after "X") and select "Split Stereo To Mono", then press "X" on unwanted track.
- set Project Rate (bottom left corner) to 16000 (It can be set elsewhere, but I have noticed no effect, so I set it just here)
- then export - menu: File -> Export, enter 8dot3 format filename, in save as format select: "Other uncompressed format", then click "Options..." select: "WAW (Microsoft)" and "Unsigned 8 bit PCM", click "OK", then "Save". For "Edit Metadata" click "Clear" and "OK".

Note: other problem with Audacity is that it have dither enabled by default - it change the wave output each time during edition (in such random looking way), so I prefer to turn this off - menu: Edit -> Preferences -> Quality, set High-quality Conversion - Dither to "None" (source).

That's it.

File opened in VLC (press pause, then go to menu: Tools -> Codec Information) should have such parameters:
Type: Audio
Codec: PCM U8 (u8 )
Channels: Mono
Sample Rate: 16000 Hz
Bits per sample: 8

Thanks to Krótki for helping me with the Audacity split to mono and for the dithering option.


Parameters are now like as in the quote, as soon as the first millisecond of the new soundeffects are about to be heard, the game just quits on its own.
Pages: 1



cron
Extra information
It is currently Fri Dec 14, 2018 1:28 pm,

Please Register a username.
In total there are 17 users online :: 1 registered, 0 hidden and 16 guests
Users browsing this forum: Majestic-12 [Bot] and 16 guests
Moderator: coffeycup

Powered by phpBB :: Hosted by n3wton :: Molested by goats
CWA Links
Facebook