Tutorial: Using 2 Sound Sets for An Engine

Discussion in 'Content Creation' started by 440cid, Dec 26, 2018.

  1. 440cid

    440cid
    Expand Collapse

    Joined:
    Jul 12, 2015
    Messages:
    263
    The 0.15 update added support for multiple engine sound source. You can now use two set of sounds, one for engine and one for exhaust.

    To utilize the feature, open your engine jbeam file, find this line:
    Code:
    "soundConfig": "soundConfig",
    then add below
    Code:
    "soundConfigExhaust": "soundConfigExhaust",
    You can now proceed to add a new SoundConfigExhaust section to your engine jbeam.
    Code:
    "soundConfigExhaust": {
            "sampleName": "I4",
            "mainGain": -14,
            "maxLoadMix": 0.65,
            "minLoadMix": 0,
            "onLoadGain":1,
            "offLoadGain":0.7,
            "eqLowGain": 10,
            "eqLowFreq": 400,
            //"eqLowWidth": 0,
            "eqHighGain": -5,
            "eqHighFreq": 6000,
            //"eqHighWidth": 0.5,
            "lowCutFreq":80,
            "fundamentalFrequencyCylinderCount":4
            "eqFundamentalGain": 10
        },
    
    When done correctly, your code should look like this.

    Code:
            "soundConfig": "soundConfig",
            "soundConfigExhaust": "soundConfigExhaust",
        },
        "soundConfig": {
            "sampleName": "V8_2",
            "mainGain": -14,
            "maxLoadMix": 0.6,
            "minLoadMix": 0,
            "onLoadGain":1,
            "offLoadGain":1,
            "eqLowGain": -5,
            "eqLowFreq": 150,
            //"eqLowWidth": 0,
            "eqHighGain": -5,
            "eqHighFreq": 6000,
            //"eqHighWidth": 0,
            "lowCutFreq":90,
            //"fundamentalFrequencyCylinderCount":8
            //"eqFundamentalGain": 15,
        },
        
        "soundConfigExhaust": {
            "sampleName": "I4",
            "mainGain": -14,
            "maxLoadMix": 0.65,
            "minLoadMix": 0,
            "onLoadGain":1,
            "offLoadGain":0.7,
            "eqLowGain": 10,
            "eqLowFreq": 400,
            //"eqLowWidth": 0,
            "eqHighGain": -5,
            "eqHighFreq": 6000,
            //"eqHighWidth": 0.5,
            "lowCutFreq":80,
            "fundamentalFrequencyCylinderCount":4
            "eqFundamentalGain": 10
        },

    The above code is Barstow's engine jbeam. Engine sound is using stock V8_2 sample set, and exhaust is using I4 sample set.

    Example Sound result:


    Further reading about engine sound basics: https://wiki.beamng.com/Sound
     
    • Like Like x 9
    • Informative Informative x 3
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice