Pages

01 February 2011

Procedural sound, well not really but sort of.

Forget-Me-Not has sound now. It sounds like a zappy old arcade machine, hopefully. Eventually I want to learn how to code a synth so I can make games generate their own audio, but for now I'm just making sounds with good old sfxr... it's easy and makes the kind of stuff that suits a game like this.

But! It's amazing what you can do with a bit of pitch shift. I'm using Finch for .wav playback.. cool little bit of code that makes OpenAL very easy. Much thanks to Zoul who wrote it! Finch lets you change the pitch of samples, all nice and smooth. Playing stuff back at different rates depending on what's happening makes things come alive. Looping very short samples and changing the pitch = game-controlled instrument. Awesome. Try it.

Here's what it sounds like so far: fmnsfx.mp3 .... is it weird to upload the sound of your game being played? =P