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

From SCS Modding Wiki
Jump to navigation Jump to search
(Sound processing)
(Sound processing)
Line 7: Line 7:
  
 
'''Listener position (inside / outside)'''
 
'''Listener position (inside / outside)'''
** This state is controlled by the global parameter ''cabin_out'' (0 means inside, 1 means outside).
+
* This state is controlled by the global parameter ''cabin_out'' (0 means inside, 1 means outside).
 
'''Window opening status (closed / open)
 
'''Window opening status (closed / open)
** This state is controlled by the global parameters ''wnd_left'', ''wnd_rigth''.
+
* This state is controlled by the global parameters ''wnd_left'', ''wnd_rigth'' (0 means closed, 1 means opened).
  
* a
+
* 1. The sound is processed as external generally with respect to the position of the listener. The result of processing is in the audio bus ['''Grp outside'''].
 +
* 2. Subsequently, this channel is redirected (divided) into three audio buses:
 +
** ['''Rtn window_out'''] Central sound overhang in the cab.
 +
** ['''Rtn window_left'''] Pass the sound through the left window.
 +
** ['''Rtn window_right'''] Pass the sound through the right window.
 +
* 3. Finally, all three buses are mixed into the resulting sound.

Revision as of 07:59, 14 December 2021

The truck cabin filtering

There is possibility of individual (per truck) sound filtering for the cabin truck. (Added in 1.43 version)

Sound processing

The following features are important when processing cabin sound:

Listener position (inside / outside)

  • This state is controlled by the global parameter cabin_out (0 means inside, 1 means outside).

Window opening status (closed / open)

  • This state is controlled by the global parameters wnd_left, wnd_rigth (0 means closed, 1 means opened).
  • 1. The sound is processed as external generally with respect to the position of the listener. The result of processing is in the audio bus [Grp outside].
  • 2. Subsequently, this channel is redirected (divided) into three audio buses:
    • [Rtn window_out] Central sound overhang in the cab.
    • [Rtn window_left] Pass the sound through the left window.
    • [Rtn window_right] Pass the sound through the right window.
  • 3. Finally, all three buses are mixed into the resulting sound.