Difference between revisions of "Documentation/Engine/Sound/Tires"
< Documentation | Engine | Sound
Jump to navigation
Jump to search
DriveSafely (talk | contribs) m |
(Created page with "=== Sounds - Tires === This section is related to the sound of tires on different road substances.<br> <br> == Tire Sound Events == Tire sounds are kept separate for the truc...") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
=== Sounds - Tires === | === Sounds - Tires === | ||
This section is related to the sound of tires on different road substances.<br> | This section is related to the sound of tires on different road substances.<br> | ||
+ | <br> | ||
== Tire Sound Events == | == Tire Sound Events == | ||
Line 15: | Line 16: | ||
* <name_of_event>/speed<br>The parameter "speed" (km/h) controls the pitch and volume of the substance sound. | * <name_of_event>/speed<br>The parameter "speed" (km/h) controls the pitch and volume of the substance sound. | ||
* skid_speed<br>The parameter "skid_speed" (m/s) represents the speed of wheel slip in either direction. | * skid_speed<br>The parameter "skid_speed" (m/s) represents the speed of wheel slip in either direction. | ||
− | * note<br>The parameter "note" is present only for the "rumble" substance | + | * note<br>The parameter "note" is present only for the "rumble" substance<br>It is a frequency multiplier that is applied to the root note G and forming the melody for the singing road. |
== Engine Sound Configuration == | == Engine Sound Configuration == | ||
− | The tire sounds paths are stored in these 4 soundrefs for | + | The tire sounds paths are stored in these 4 soundrefs for truck:<br> |
<pre> | <pre> | ||
sound/tires/rumble.soundref | sound/tires/rumble.soundref | ||
Line 26: | Line 27: | ||
sound/tires/asphalt.soundref | sound/tires/asphalt.soundref | ||
</pre> | </pre> | ||
− | and these 4 for | + | and these 4 for trailer:<br> |
<pre> | <pre> | ||
sound/trailer/tires/rumble.soundref | sound/trailer/tires/rumble.soundref | ||
Line 33: | Line 34: | ||
sound/trailer/tires/asphalt.soundref | sound/trailer/tires/asphalt.soundref | ||
</pre> | </pre> | ||
− | + | <br> | |
− | + | Example:<br> | |
− | Example: | ||
− | |||
Content of the "sound/tires/rumble.soundref" is: | Content of the "sound/tires/rumble.soundref" is: | ||
<pre> | <pre> |
Revision as of 12:39, 2 August 2023
Contents
Sounds - Tires
This section is related to the sound of tires on different road substances.
Tire Sound Events
Tire sounds are kept separate for the truck tires and trailer tires, but both have the same events and parameters.
Currently there are 4 supported substances each with their own sound event:
- asphalt
- rumble
- gravel
- grass
Tire Sound Parameters
Sound parameters:
- <name_of_event>/speed
The parameter "speed" (km/h) controls the pitch and volume of the substance sound. - skid_speed
The parameter "skid_speed" (m/s) represents the speed of wheel slip in either direction. - note
The parameter "note" is present only for the "rumble" substance
It is a frequency multiplier that is applied to the root note G and forming the melody for the singing road.
Engine Sound Configuration
The tire sounds paths are stored in these 4 soundrefs for truck:
sound/tires/rumble.soundref sound/tires/grass.soundref sound/tires/gravel.soundref sound/tires/asphalt.soundref
and these 4 for trailer:
sound/trailer/tires/rumble.soundref sound/trailer/tires/grass.soundref sound/trailer/tires/gravel.soundref sound/trailer/tires/asphalt.soundref
Example:
Content of the "sound/tires/rumble.soundref" is:
source="/sound/tires/tires.bank#rumble"
The location of the sound bank for the truck: "/sound/tires/tires.bank"
and sound bank for the trailer: "/sound/trailer/tires/tires.bank"