• Register

Absylon 7 is a first-person psychological horror game with shooter elements. The game features 13 different locations with multiple playthrough options. The player investigates several incidents near the Absylon research complex in Eastern Europe. The player has several types of weapons at his disposal, but it's necessary to use them wisely, as there is a limited amount of firepower at all levels. For this purpose we made several variants of passing each level, traps and unique AI for each type of enemies.

Post news Report RSS What we use audio tracing and cloud technology for in Absylon 7

Hi all. Welcome back to the TinyPlay team. Today we would like to talk about how and why we use audio tracing and cloud technologies in Absylon 7.

Posted by on

Hi all. Welcome back to the TinyPlay team. Today we would like to talk about how and why we use audio tracing and cloud technologies in Absylon 7.

Absylon 7 Audio

Audio architecture

The project consists of 3 components: sounds (footsteps, atmosphere, enemies, weapons, and more), music (atmospheric, action music, extra accompaniment), and voice acting (characters, audio diaries, thunderclaps). The audio architecture is divided as follows:

architect

Sounds:

  • The environment and everything associated with it (leaves, wind, creaks of trees, gates, etc.);
  • Sounds of enemies (attacking, taking damage, detecting, dying);
  • Sounds of footsteps for each of the surfaces (over 200 sounds in total for different physical materials);
  • Horror sounds (triggered by triggers);
  • Weapons (firing, reloading, etc.);
  • Collision sounds for physical objects;
  • Sounds of effects (explosions, hits, sparks, etc.);
  • Other sounds;

Music:

  • Atmospheric background music;
  • Action music for certain scenes;
  • Tense music;
  • Menu music;

Voiceovers:

  • Voice-overs for characters in different languages;
  • Audio diary voiceovers;
  • Switch voiceovers and other voiceovers;

Compression settings for music and sounds are different. Music – streaming, big sounds are loaded and unpacked before the scene is loaded, small sounds – on the fly.

Working with music and sounds. Mixing

To achieve smooth transitions, different sound areas, and work with compression, we use the standard Unity mixer. For smooth transitions, we use DOTween.

Mixers are also switched through special Volume-zones that change the active mixer or its settings to suit the environment (for example, to have an echo effect in the basement).

We use a player based on the animation’s event.

Volumetric sound. Rattling and geometry detection

We went through several options for working with surround and, most importantly, physically-based sound. We tried Steam Audio, FMOD, Microsoft Acoustics, etc.

In the end our choice was FMOD + Dolby Atmos + Microsoft Acousitcs. Why not Steam Audio? Well, we were getting unforeseen crashes in Windows builds from their library, which we couldn’t debug.

What do we use it all for?

1) For automatic calculation of sound propagation in the environment, taking into account its geometry, materials and reflectivity (each object in the game is configured separately);

2) For spatial processing of audio using HRTF. In conjunction with Dolby Atmos, the sound is as natural as possible.

How does it work?

hrtf


The system takes into account the spatial position of the sound, its receiving source, angle, and dozens of other parameters for correct perception, both on headphones and 5.1 systems.

In addition, the system uses raytracing (real-time ray tracing) to determine collisions and reflections applicable to sound waves. To reduce the load, these calculations are done on the GPU + sound is baked (similar to Light Probes, but for sound).

Cloud computing for baked sound

Baking sound into a scene with thousands of 3D models and millions of polygons is long enough, so we use Azure cloud computing. Fortunately Microsoft has a great tool on virtual machines designed for this – Azure Batch

Using a cloud computing service it is possible to reduce the sound bake time from 2 hours to 10 minutes, which saves a lot of time at a fairly low price (1.5 bucks per hour).

Summary

The combination of these technologies allows us to achieve more or less realistic sound, and it, in turn, can greatly affect the atmosphere of the game.

To see an example of how everything works together you can here (don’t pay attention to the voiceover of the main character, we have already replaced it, but haven’t published it yet):

Post a comment

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