Post news Report RSS Audible Immersion

Vunsunta, the audio director of Firearms: Source, gives insight into the development and production of the FAS sound effects and audio in 2.0 and how he has been working with the team to increase the immersion of our modification. In this developer blog, he compares some differences between FAS versions 1.0 and 2.0 and includes a sample of Firearms: Source sound effects as they are in game in 2.0.

Posted by on

Sound plays a major role in video games. That is why the audio team here at Firearms: Source (FAS) is extremely passionate about producing a quality audio experience for your enjoyment. We believe that the sound in a video game should represent physical reality for the purpose of realism, but also allow for creative artistic expression. Firearms: Source strives to be a source of realistic weapon functionality in electronic interactive art, and it is the mission of the audio team to have FAS sound accurate and detailed as well.

Our approach to sound design in FAS is evolving as production progresses. Our primary focus on the games sound design is to elicit an emotion of great satisfaction as the players pop off shots. An in-game gun battle should bring to your subconscious mind a sense that these things will kill shit. It's crucial that we tailor the waveforms in such a way that strikes those chords.

Firstly we're going to take a look at what's planned for version 2.0, then we'll dive into the technical aspects of how we refined our work. The atmosphere of FAS 1.0 was extremely quiet in terms of ambient sound; there was barely any action in the background. For 2.0, we actually have ambient battles taking place, even if the map just started, giving the player’s mind the perception that things are happening. Now we understand there's a delicate balance to this, so be aware that we don't want to deafen players from ambient jargon, no. We simply want to keep the player immersed in the battle experience and bring about a sense of a wartime environment.

FAS 2.0 takes the maps and brings them to life by adding locational sound, like air conditioners, fires, buzz and hum from improperly wired circuitry, etc. We want these things to "pan" across the player’s speakers as you pass them by, to give a sonic reference to where things are to accompany the visual aspects. This is by no means revolutionary technology, but it's important that we do bring this dimension to the experience for that extra immersive kick. For an interesting in-depth look at soundscapes (the source engines audible environment) read Acoustic Ecologies: Half-Life 2’s City 17 by Michel McBride-Charpentier. Michel shows you how big of a role sound plays in telling the story of a level.

Gunshot sounds in 2.0 just picked up a berzerker pack. We've jacked them up almost an additional 6 dB in volume. Extra care has been brought to these sounds with the addition of a new technique to creating more of a punch. One observation about version 1.0’s way of making gunshots was that the sound was a bit quiet and weak. This was because gunshots began with the most intensity in the beginning and then gradually decreased to silence. Seems normal. Well 2.0 goes a step further and takes into strong consideration the cycle time of automatic weapons. The time in which a gunshot repeats (in milliseconds) is marked in the audio software as the gunshot is created. Still the most intensity is in the beginning of the shot, but it quickly descends in volume around 6-9dB as we reach the marking of the cycle time. Then after the cycle time, the volume is brought back up in intensity to almost the same level as the beginning, where from there it begins to gradually decrease to silence. Take a look at this graph for a better illustration of what the waveform looks like in this example.


Why do this? Well on single fire, the gunshot sounds like a whip-crack, instead of just a crack. You hear a slight delay before the beginning of the echo, and that really helps you to feel like you’re in a reverberant environment. On automatic, this helps tremendously in letting the intense gunshots breathe a bit. What's perceived from that is a sense of space. This lets us make the initial pop of the gunshots louder than normal, while allowing on automatic fire for this pop to remain at a comfortable level, without distortion. Keep in mind, since 1.0, our gunshots overlapped each other. Never had they acted in a monophonic sense, such as once the next gunshot is played, the previous one becomes cut out. Next time you’re in-game, turn cheats on with "sv_cheats 1" and type "snd_show 1" into the console and start shooting. You'll notice in the text readout that multiple gunshots are overlapping and mixing with each other, just like Left4Dead.

In terms of making the gunshots sound different, we took a realistic/artistic approach to this. What makes a gun sound the way it does is really determined by three major factors. First the caliber and amount of grain of the bullet, second the length of the barrel, and finally the environment in which it's fired in. We kept in mind that a weapon of similar caliber with a shorter barrel generally has a louder sound, higher in pitch. Longer barrels generally are lower in pitch and actually not as loud. Now this isn't our guide that determines all we do, but we use physical reality as an inspiration to where we take the general direction of the sounds. We still enjoy letting our creativity flow without hardcore restrictions, otherwise literally everything would sound too similar. For a good example of how the unique environment plays a role in the sound timbre (its unique tone), check out a few videos on Hickok45's YouTube Channel. He's very knowledgeable and to me quite entertaining, but at the same time you'll notice how almost every gun sounds extremely similar due to the environment.

For us to give the weapons different personality, we needed to change some qualities about each gunshot, such as: differences in echos like the ammount of distinct reflections, dominant frequencies in the explosion of the round, and clarity of phase in the initial shot. When mixing multiple sounds together to create an entirely new sound, it's very important that we align the frequencies in the beginning of the wave as best as we can to allow for the most clarity. A good example of phase alignment can be seen in this following example. This over dramatized example shows you how making the strongest sounding punch occurs when you have as many waves aligned as close to eachother as possible.


(Top: Out of Phase; Bottom: In Phase)

In version 2.0 we now included properly implemented distant gunshot sounds. The source engine allows us to use a stereo wav file as both the close up sound (the left channel) and as a distant sound (the right channel). After the player hears a sound beyond the engines pre determined range, the engine will mix volumes between the left and right channel and give us the effect of distance as players shoot from afar. The difference this makes from not having this to having this is remarkable. A whole new dimension is added to the gameplay where you now have a great sense of how far someone may be when they're shooting. You'r probably familiar with this if you've played Day Of Defeat: Source. Having this in the game means that we need to create a new sound for the distance versions, so to do this we duplicate the close up sound and begin to use a series of effects to create that sound. Starting with a shelf equalization boost of 6dB at 5000Hz brings that neccessary air to the sound. Next passing the audio through a wah-wah filter with the center frequency set to 1,000Hz with our depth percentage at 50% and our resonance percentage at 50% somehow does just the right job at giving the audible illusion of distance. Combine that with a serious ammount of amplitude compression (it varies for each sound) and you have a very detailed distance sound. For best results, if you happen to mix sounds with multiple tracks, you can select which individual tracks will have these effects applied to them and which ones stay the same. Finding the right mix will allow for the explosion of the round to have the highest frequencies, while the decaying echo sounds mostly distant and filtered.


On behalf of our sound designers Engineer and myself, we want to thank you for reading what's been going on in our part of the world here. We'll sign off with an mp3 of some sample audio planned for 2.0. Have fun reading our upcoming blogs of behind the scenes goodies from other members of the team, and be sure to check out the new news posts as they come!

Post comment Comments
version15
version15 - - 351 comments

Excellent progress, sound is definitely important in a game. BBC2's weapons were often made impressive due to the quality sound that went along with them.

Reply Good karma Bad karma+5 votes
Sgt.Kelly
Sgt.Kelly - - 113 comments

Wow, very nice! Listening to that sound preview, you can really hear how each weapon is unique. The distant sounds are amazing too. Great work, guys. :D

Reply Good karma Bad karma+3 votes
Dnst
Dnst - - 366 comments

I am impressed, i will post this on our website. Second thing would be correct and individual muzzle flash.

Reply Good karma Bad karma+1 vote
TheSniperFan
TheSniperFan - - 376 comments

Impressive...nothing more to say on this.

Reply Good karma Bad karma+1 vote
{imperialreign}
{imperialreign} - - 57 comments

Extremelly interesting read - it has given me some ideas for my ongoing work with STALKER projects. Thanks for sharing this info!

Reply Good karma Bad karma+1 vote
bad@chaos
bad@chaos - - 56 comments

Love the random AAAHhhh in the background toward the end.

Reply Good karma Bad karma+1 vote
.sverek
.sverek - - 97 comments

Good read.

Shame source engine is buggy and limited once you start to get serious about sounds in game. I wish for better audio support in SDK2011(?) (portal2).

Very glad to see more people trying to record and mix their own sounds for mods, instead of just stealing and adding weird effects on HL2/CSS or random sounds from internet.

Good luck guys, and just a tip:
keep game sounds well balanced. There also ambient, player, physics and UI sounds in game. If put attention only on guns sounds, other sounds won't fit game atmosphere and pulling overall audio quality of game.

You rock.

Reply Good karma Bad karma+2 votes
KortalMombat
KortalMombat - - 391 comments

Shame we wont be getting 2011 ever if not for a long long time :(

Reply Good karma Bad karma0 votes
rebel28
rebel28 - - 231 comments

The game Borderlands has pretty interesting weapon fire sounds. Some shots seem to differ from the rest in automatic, and gun won't just recoil upwards.

Reply Good karma Bad karma0 votes
jerry111
jerry111 - - 60 comments

I throughly enjoyed this article.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: