Difference between revisions of "Documentation/Engine/Sound/Mixer"

From SCS Modding Wiki
Jump to navigation Jump to search
(Audio buses, routing and mixer)
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
The definition of the sound buses and their routing is very important part of the Master Bank.
 
The definition of the sound buses and their routing is very important part of the Master Bank.
  
* Bus<br>
+
* Master Bus<Br>The master bus creates the final submix of all buses routed to it before outputting audio to the speaker channels.<br>All buses, return buses, and events not assigned to a group are routed into the master bus.
* Routing<br>
+
* Bus<br>The bus is object which helps to collect specific sounds to groups and centaly control their volume or mute state.<br>Any sound event in the game should be assigned to the corresponding prepared audio bus.
 +
* Routing<br>Routing the events and buses by the mixer helps to control specific sounds in groups and applying effects (as a reverb) for the whole group of the sounds together.
  
 
Current table describes mixer principles in our Master Bank:
 
Current table describes mixer principles in our Master Bank:
Line 11: Line 12:
 
! Bus !! Routing to... !! Using for sounds... !! Remark
 
! Bus !! Routing to... !! Using for sounds... !! Remark
 
|-
 
|-
| master || Example || Example || Example
+
| master || || ''- none -'' || Target for the central mixing of all other audio buses.<br>"Master" volume and mute state (from application settings) is applied to the bus.
 
|-
 
|-
| <--- cabin || Example || Example || Example
+
| <--- cabin || ''master'' || ''- none -'' ||  
 
|-
 
|-
|   interior || Example || Example || Example
+
| .....<--- interior || ''cabin'' || Individual truck interior sounds as for example:<br>air warning, blinkers, sticks, park brake, wipers, windows, seat noise... ||  
 
|-
 
|-
|   window_left || Example || Example || Example
+
| .....<--- window_left || ''cabin'' || ''- none -'' ||  
 
|-
 
|-
|   window_right || Example || Example || Example
+
| .....<--- window_right || ''cabin'' || ''- none -'' ||  
 
|-
 
|-
| <--- exterior || Example || Example || Example
+
| .....<--- window_out || ''cabin'' || ''- none -'' ||  
 
|-
 
|-
|   traffic || Example || Example || Example
+
| <--- outside || ''master'' || ''- none -'' || The bus should not contents any sounds. It is only technically group to collect all sounds from the outer world.
 
|-
 
|-
|   trailer || Example || Example || Example
+
| ...<--- exterior || ''outside'' || ''- none -'' || The bus should not contents any sounds. It is only technically group to collect all exterior sounds.
 
|-
 
|-
|   truck_effects || Example || Example || Example
+
| .....<--- traffic || ''exterior'' || Sounds of the traffic system. ||  
 
|-
 
|-
|   truck_engine || Example || Example || Example
+
| .....<--- trailer || ''exterior'' || Player's trailer sounds. ||  
 
|-
 
|-
|   truck_exhaust || Example || Example || Example
+
| .....<--- truck_effects || ''exterior'' || Player's truck effects<br>(air cutoff, air gear, hook, horns, reverse, ...). ||  
 
|-
 
|-
|   truck_noise || Example || Example || Example
+
| .....<--- truck_engine || ''exterior'' || Player's truck engine.<br>([[Documentation/Engine/Sound/TruckEngine|see: Sounds - Truck Engine]]) ||  
 
|-
 
|-
|   world || Example || Example || Example
+
| .....<--- truck_exhaust || ''exterior'' || Player's truck exhaust.<br>([[Documentation/Engine/Sound/TruckEngine|see: Sounds - Truck Engine]]) ||  
 
|-
 
|-
| <--- game || Example || Example || Example
+
| .....<--- truck_turbo || ''exterior'' || Player's truck turbo.<br>([[Documentation/Engine/Sound/TruckEngine|see: Sounds - Truck Engine]]) ||  
 
|-
 
|-
|   music || Example || Example || Example
+
| .....<--- truck_noise || ''exterior'' || Player's truck noise<br>(aero noise, suspension noise, ...). ||  
 
|-
 
|-
|   navigation || Example || Example || Example
+
| .....<--- world || ''exterior'' || Prefab sounds, sounds of animations...||  
 
|-
 
|-
|   ui || Example || Example || Example
+
| ...<--- unprocessed || ''outside'' || ''- none -'' || The bus should not contents any sounds. It is only technically group to collect all exterior sounds which are not affected by sound processing (like reverb).
 
|-
 
|-
|   ui_music || Example || Example || Example
+
| .....<--- ambient || ''unprocessed'' || Ambient and environmental sounds and effects. ||  
 
|-
 
|-
|   voiceover || Example || Example || Example
+
| <--- game || ''master'' || ''- none -'' ||  
 
|-
 
|-
| <--- radio || Example || Example || Example
+
| .....<--- music || ''game'' || In-game music (as a 'hurry up' melody). ||
 +
|-
 +
| .....<--- navigation || ''game'' || Voice navigation output. ||
 +
|-
 +
| .....<--- ui || ''game'' || Sounds of the user interface<br>(click, mail, reward, camera, ...). ||
 +
|-
 +
| .....<--- ui_music || ''game'' || Music for UI (menu, garage, service, ...).  ||
 +
|-
 +
| .....<--- voiceover || ''game'' || Reserved for the future use. ||
 +
|-
 +
| <--- radio || ''master'' || Output for the in-game radio (user music) player. ||  
 
|}
 
|}

Revision as of 07:55, 15 October 2020

Audio buses, routing and mixer

The definition of the sound buses and their routing is very important part of the Master Bank.

  • Master Bus
    The master bus creates the final submix of all buses routed to it before outputting audio to the speaker channels.
    All buses, return buses, and events not assigned to a group are routed into the master bus.
  • Bus
    The bus is object which helps to collect specific sounds to groups and centaly control their volume or mute state.
    Any sound event in the game should be assigned to the corresponding prepared audio bus.
  • Routing
    Routing the events and buses by the mixer helps to control specific sounds in groups and applying effects (as a reverb) for the whole group of the sounds together.

Current table describes mixer principles in our Master Bank:

Bus Routing to... Using for sounds... Remark
master - none - Target for the central mixing of all other audio buses.
"Master" volume and mute state (from application settings) is applied to the bus.
<--- cabin master - none -
.....<--- interior cabin Individual truck interior sounds as for example:
air warning, blinkers, sticks, park brake, wipers, windows, seat noise...
.....<--- window_left cabin - none -
.....<--- window_right cabin - none -
.....<--- window_out cabin - none -
<--- outside master - none - The bus should not contents any sounds. It is only technically group to collect all sounds from the outer world.
...<--- exterior outside - none - The bus should not contents any sounds. It is only technically group to collect all exterior sounds.
.....<--- traffic exterior Sounds of the traffic system.
.....<--- trailer exterior Player's trailer sounds.
.....<--- truck_effects exterior Player's truck effects
(air cutoff, air gear, hook, horns, reverse, ...).
.....<--- truck_engine exterior Player's truck engine.
(see: Sounds - Truck Engine)
.....<--- truck_exhaust exterior Player's truck exhaust.
(see: Sounds - Truck Engine)
.....<--- truck_turbo exterior Player's truck turbo.
(see: Sounds - Truck Engine)
.....<--- truck_noise exterior Player's truck noise
(aero noise, suspension noise, ...).
.....<--- world exterior Prefab sounds, sounds of animations...
...<--- unprocessed outside - none - The bus should not contents any sounds. It is only technically group to collect all exterior sounds which are not affected by sound processing (like reverb).
.....<--- ambient unprocessed Ambient and environmental sounds and effects.
<--- game master - none -
.....<--- music game In-game music (as a 'hurry up' melody).
.....<--- navigation game Voice navigation output.
.....<--- ui game Sounds of the user interface
(click, mail, reward, camera, ...).
.....<--- ui_music game Music for UI (menu, garage, service, ...).
.....<--- voiceover game Reserved for the future use.
<--- radio master Output for the in-game radio (user music) player.