Useful Sound converter for grimrock

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Useful Sound converter for grimrock

Post by msyblade »

Alot of ppl have issues with custom sounds crashing their game, and since mine always work fine I thought I would share my process for converting all sound files for Grimrock. Very quick, Very Simple.

Goto:

http://media.io

And upload the sound file,

for custom sounds in dungeon choose .wav

for custom music choose 128 kb .ogg

If your string syntax is correct, the sound should work everytime after this conversion.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Useful Sound converter for grimrock

Post by Komag »

what about mono vs stereo issues?
Finished Dungeons - complete mods to play
Lilltiger
Posts: 95
Joined: Sun Sep 16, 2012 1:12 am

Re: Useful Sound converter for grimrock

Post by Lilltiger »

Just get Audacity, it's free and can do all you need and stuff you didnt know you needed
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Useful Sound converter for grimrock

Post by msyblade »

On the mono vs. stereo thing (Not sure if this will work but worth a shot if u encounter it). You might try converting the .wav to .ogg, then the .ogg back to .wav.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Isaac
Posts: 3190
Joined: Fri Mar 02, 2012 10:02 pm

Re: Useful Sound converter for grimrock

Post by Isaac »

What issues? [mono vs Stereo]

A stereo sound effect will crash the game; it has to be mono.

Good instructions to convert stereo to mono from Steve, on the Audacity forums.
SpoilerShow
http://forum.audacityteam.org/viewtopic ... 538#p85460

This is easier to do in Audacity 1.3.12 than 1.2.x

1) Click on the track name (left side of the track).
2) From the drop down menu, select "Split Stereo Track"
You now have two mono tracks, but one is set to the Left channel and the other is set to the right channel.

If your original recording was made with a single microphone, both tracks will be identical, so you can simply set one track to "mono" and discard the other channel:

3) Click on the track name for one of the tracks and from the drop down menu select "Mono".
4) Click on the [X] on the top left corner of the other track to delete it.

If your original recording was made with a stereo microphone, the two tracks will be different so you will need to change both channels to mono and mix them together. Mixing the two tracks together may cause the resulting track to be too loud and distort, so it may be necessary to reduce the volume of each track before you mix them.

3) Click on the track name for one of the tracks and from the drop down menu select "Mono".
4) Repeat for the other track
5) Select both tracks and from the Effect menu select "Amplify" and amplify by -6dB (minus 6)
6) Select both tracks and from the Project menu select "Quick Mix".

In either case it may be a good idea to use the Amplify effect to bring the peak volume up to about -0.3 dB before you export.
User avatar
Jhaelen
Posts: 74
Joined: Fri Oct 19, 2012 10:49 am
Location: Paris, France

Re: Useful Sound converter for grimrock

Post by Jhaelen »

Personally I use this site to convert mp3 -> ogg or mp3 -> wav or anything else. It's fast, without ad and it does exactly what I want ;).
Hariolor
Posts: 42
Joined: Sun Apr 15, 2012 5:59 am

Re: Useful Sound converter for grimrock

Post by Hariolor »

Resurrecting this question as I am having a heck of a time importing any custom sounds I've made...they're all .wav...

I am recording with a fairly high-quality multi-channel mic, but I've converted them to mono...even tried dropping the bitrateand Hz, just on a lark...still getting the "trying to play non-mono 3D sound" error every time.

Anyone know any workarounds or other things to check? Pretty sure the code itself is fine and I've got the .lua files set up correctly...don't want to bother trying to create any others if I can't get this first one to work...I tried msyblade's link and it spit out the file exactly as it went in (no suprise) and still didn't work...at my wit's end here

For the record, I've played with Neikun's custom Urgardian asset and their sounds work fine...is there something else I'm failing to do?

Code: Select all


playSoundAt("wind_one",13,18,17)

	defineSound{
		name = "wind_one",
		filename = "mod_assets/sounds/wind1.wav",
		loop = false,
		volume = 1,
		minDistance = 1,
		maxDistance = 10,
	}

User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Useful Sound converter for grimrock

Post by Neikun »

Hmm. Well if it helps, when I'm in audacity and I'm exporting to .wav, I change no settings.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Isaac
Posts: 3190
Joined: Fri Mar 02, 2012 10:02 pm

Re: Useful Sound converter for grimrock

Post by Isaac »

When i first tried to import a custom sound it crashed the game, (because it was a stereo track). All problems went away once I made sure that it was exported as Mono.
(I exported a mono sound a few time as Stereo [accidentally] ~duplicated channels.)
Hariolor
Posts: 42
Joined: Sun Apr 15, 2012 5:59 am

Re: Useful Sound converter for grimrock

Post by Hariolor »

Isaac wrote:When i first tried to import a custom sound it crashed the game, (because it was a stereo track). All problems went away once I made sure that it was exported as Mono.
(I exported a mono sound a few time as Stereo [accidentally] ~duplicated channels.)


Thanks, Isaac - pretty sure this isn't a mono/stereo issue, though I've triple-checked now, just to appease my paranoia since you mentioned it ;)

Interesting sidenote - I just now tried to use the pre-defined sound "earthquake" and it threw the same error...maybe this is something specific to my system. I certainly never modified any of the pre-defined sounds...
Post Reply