Skip to main content

Sounds Dumb and Horrible

·371 words·2 mins

First time working on sound effects. Man, I have a lot to learn.

Zap Splat was good for finding free sounds I can use. They keep pushing the premium version but they were one of the few sites that had useful bee sounds for free. Requires attribution but I can work with that.

Here’s one I’m testing out: https://www.zapsplat.com/music/bee-or-wasp-fly-by-fast-buzz-past-1/

I used Audacity to cut the sound down to a shorter length. Quick fade in and fade out.

When I play the sound back in Audacity I can hear a click at the end, despite running the fade out filter at the end. In Godot it’s not there so I guess that’s good enough. Slightly annoying while working in Audacity, though, since I need to play the sound dozens of times to get the effect I want.

AudioStreamPlayer2D is the Godot node to play the sound. Hooked it up to the Player script and got it working. I figured it’d be good to hear the sound when you make a quick turn. I had to save the past few values for the velocity so I could compare the recent velocity to the current velocity. If it’s above a certain threshold then play the sound.

Here’s a screen grab from testing it out:

It’s … it’s dumb. It’s horrible.

I, uh, maybe I need to have a constant buzzing which changes pitch and volume as the acceleration changes? Or just a constant buzzing? Sounds like it’d be annoying, though.

I tried loading up AMSynth (Analogue Modeling Synthesizer) and seeing if I could find a buzzing bee sound. But that’s a whole ’nother can of worms. I don’t know how to synth.

One thing that’s making this trickier than, say, Mario, is I’m tryna get sounds to happen when there isn’t really an event for it. Maybe the bee should be silent unless it’s actually dashing, landing, jumping, or harvesting pollen/nectar.

What other flying games are there? What do they do? What does flappy bird do? I think I saw a bee game while researching this. What do they do? I know Don’t Starve Together has bee sounds but the bee is not the character so it’s okay that they’re buzzing all the time.