Difference between revisions of "Documentation/Engine/Sound/TruckCabinFiltering"
< Documentation | Engine | Sound
Jump to navigation
Jump to search
(→Sound processing) |
(→Sound processing) |
||
Line 18: | Line 18: | ||
** ['''Rtn window_right'''] Pass the sound through the right window. | ** ['''Rtn window_right'''] Pass the sound through the right window. | ||
* 3. Finally, all three buses are mixed into the resulting sound. | * 3. Finally, all three buses are mixed into the resulting sound. | ||
+ | [[File:Http://download.eurotrucksimulator2.com/sound/truck cabin sound.png|thumb]] |
Revision as of 08:05, 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).
Sound processing
- 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.