Sound config explaination needed

The forum is in reduced operation. The Addon and Support forums remain open.
Please note that OMSI is no longer under development. Some of the developers are now working on a new simulator. Further information concerning the LOTUS-Simulator can be found here.
  • Could anyone please explain what various lines in sound config mean ?



    [loopsound]
    D_2566UHx@1214.wav
    44100
    engine_n
    1214
    0.8


    [viewpoint]
    5


    [3d]
    -0.7
    -4.5
    0.5
    4.5


    [volcurve]
    engine_throttle_injection


    [pnt]
    0
    0.7


    [pnt]
    1.0
    1.0


    [volcurve]
    engine_n


    [pnt]
    722
    0


    [pnt]
    968
    0.7


    [pnt]
    1214
    1


    [pnt]
    1434
    0.7


    [pnt]
    1653
    0


    Of all these i only understand what volume curve and sound file name means

  • I don't know definitively, but I'll try:

  • Thanks.


    Code
    1. engine_n < --- volume constant
    2. 1214 < --- point on volume constant where it is at max volume


    I now understand the the 3d position and volume curves
    I think 44100 is the sampling rate whatever it means i will try to find out what it is.
    I have another question

    Code
    1. [conditionSingle]
    2. antrieb_getr_aktugang <--the variable ?
    3. 3 <--value of the variable that is required to play the sound ?
    4. 5 <--what does this mean ?
  • I found a part of the file for the D92 which explains it in German, which I believe means that you enter the variable and a value you want to compare and then the comparison, so you can say if "variable1" > 3 for instance. The final value is as follows:
    0 : "<>" Nul value?
    1 : = Equal to
    2 : < Less than {value}
    3 : > Greater than {value}
    4 : <= Less than or equal to {value}
    5 : >= Greater than or equal to {value}


    So
    [conditionSingle]
    antrieb_getr_aktugang
    3
    5
    Means that when "antrieb_getr_aktugang" is larger than or equal to 3, then the sound will be played. Hopefully this makes an ounce of sense!

    :)
  • In the case of [loopsound], the two values (1214 and 0.8 ) directly under the variable (engine_n) actually determine the pitch (instead of volume) of sound played. In your case, they mean "when engine_n =1214, the sound file is played in 0.8x of its original pitch" (pitch =engine_n /1214 x 0.8 ).
    Hope this can help you.