How To Modify Horn Volume?

Discussion in 'General Discussion' started by KodiakJac, Feb 1, 2023.

Tags:
  1. KodiakJac

    KodiakJac Active Member

    Joined:
    Jul 30, 2022
    Messages:
    150
    Likes Received:
    82
    In particular in external view (but also internal view) some horn sounds are extremely muted, almost to the point of not being able to hear them at all over the engine. Can someone who knows how please explain how to modify the volume of horn sounds?

    Any example would do. For instance, the Wasatch Grade Union Pacific EMD F7 is really low in external view. Almost can't hear it at all. And it should be blaring at 100 yards down the track from it. All I need is an example on any loco, and then I'll know how to mod horn volumes throughout TSC.

    Thanks! :)
     
  2. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    8,514
    Likes Received:
    2,727
  3. KodiakJac

    KodiakJac Active Member

    Joined:
    Jul 30, 2022
    Messages:
    150
    Likes Received:
    82
    Thanks, 749006! Will check them out :)
     
  4. torfmeister

    torfmeister Guest

    There's an easier way than to directly modify the sound files. TS has its own mixer. You can edit the horn volume in the "proxyxml" file (which doesn't even need to be .bin'd). Look for the Horn entry and change its "BaseVolume". It's a scale from 0 to 1. Note that it's a logarithmic scale, meaning 1 is way more than double as loud as 0.5.

    Place to look: RailVehicles\Audio\...\.... - depends. Note there's a separate "Cab" folder for the in cab audio.

    Note that after editing this file, you need to clear the cache (deleting the one specific blueprints.pak is enough) and restart TS to note the changes.

    I have lowered the wiper motion volume on some locos which were pretty annoying :)
     
    Last edited by a moderator: Feb 18, 2023
    • Helpful Helpful x 3
  5. Calidore266

    Calidore266 Well-Known Member

    Joined:
    Jun 17, 2021
    Messages:
    1,230
    Likes Received:
    1,756
    Woof. Sympathy to whoever learned this the hard way, and their neighbors.
     
  6. KodiakJac

    KodiakJac Active Member

    Joined:
    Jul 30, 2022
    Messages:
    150
    Likes Received:
    82
    Thanks, Torf! That sounds much easier! :D
     
  7. Cuddy_Man

    Cuddy_Man Well-Known Member

    Joined:
    Jul 16, 2020
    Messages:
    136
    Likes Received:
    256
    How do you modify external sounds so they are quieter in the cab? The RSSLO 1822 has whine and fan noise that seems just as loud inside the cab as out and I'd like to make it quieter.
     
  8. torfmeister

    torfmeister Guest

  9. Cuddy_Man

    Cuddy_Man Well-Known Member

    Joined:
    Jul 16, 2020
    Messages:
    136
    Likes Received:
    256
    I'm sorry, but that article means nothing to me as I don't know how to use the blueprint editor (or even what it is). What file(s) should I be editing and what values please?
     
    • Like Like x 1
  10. torfmeister

    torfmeister Guest

    I'll take a look at the RSSLO 182 and report back. Have some patience :)
     
  11. KodiakJac

    KodiakJac Active Member

    Joined:
    Jul 30, 2022
    Messages:
    150
    Likes Received:
    82
    Hi Torf,

    Ok, I finally found one of these files to play with. The Class 101 Strathclyde's horn almost can't be heard in external view, and I'd like to increase its volume substantially. But the BaseVolume is already at 1, which you said is at its maximum. Then, below that it looks like settings for the doppler effect (attenuation and pitch shift). Could those values be killing the horn volume? Even up real close, the volume is very low.

    Any insight would be appreciated.

    P.S. You mention clearing the cache file after making any changes. I'm only aware of the RVDB and SDBC cache files. What is the blueprints.pak cache file, and where would I find it?

    Thanks! :)


    Class 101 Horn.proxyxml
    <?xml version="1.0" encoding="utf-8"?>
    <kLoud-cProxyControlLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
    <ProxyControl>
    <cGenericAudioControl xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
    <ProxyControlRevision d:type="cDeltaString">eVersion2</ProxyControlRevision>
    <ActivationDistance d:type="sFloat32">1000.000000</ActivationDistance>
    <Sound>
    <kLoud-cSingleSampleSound d:id="34933696">
    <Name d:type="cDeltaString">Horn</Name>
    <IsLooped d:type="bool">1</IsLooped>
    <Priority d:type="sUInt32">100</Priority>
    <BaseVolume d:type="sFloat32">1.000000</BaseVolume>
    <VolumeVariation d:type="sFloat32">0.000000</VolumeVariation>
    <BasePitchShift d:type="sFloat32">1.000000</BasePitchShift>
    <PitchShiftVariation d:type="sFloat32">0.000000</PitchShiftVariation>
    <AttenuationStartDist d:type="sFloat32">40.000000</AttenuationStartDist>
    <NoFutherAttenuationDist d:type="sFloat32">250.000000</NoFutherAttenuationDist>
    <InstanceGroup d:type="ref">0</InstanceGroup>
    <Sample>
    <kLoud-cSampleID>
    <Pathname d:type="cDeltaString">RSC\Class101Strath</Pathname>
    <Filename d:type="cDeltaString">RSC\Class101Strath\Audio\RailVehicles\Diesel\Class 101\Cab\Horn.dav</Filename>
    </kLoud-cSampleID>
    </Sample>
    </kLoud-cSingleSampleSound>
    </Sound>
    <Curve/>
    <ModifierChain/>
    <InstanceGroup>
    <kLoud-cInstanceGroup d:id="35058824">
    <Name d:type="cDeltaString">Horn Instance</Name>
    <MaximumNumberOfInstances d:type="sUInt32">1</MaximumNumberOfInstances>
    <InstanceExceededAction d:type="cDeltaString">StopNewest</InstanceExceededAction>
    </kLoud-cInstanceGroup>
    <kLoud-cInstanceGroup d:id="35063304">
    <Name d:type="cDeltaString">Blank</Name>
    <MaximumNumberOfInstances d:type="sUInt32">1</MaximumNumberOfInstances>
    <InstanceExceededAction d:type="cDeltaString">StopNewest</InstanceExceededAction>
    </kLoud-cInstanceGroup>
    </InstanceGroup>
    <Loop>
    <kLoud-cControlledLoop d:id="35000968">
    <PlayState d:type="cDeltaString">BOTH</PlayState>
    <Name d:type="cDeltaString"></Name>
    <Sound d:type="ref">34933696</Sound>
    <ModifierChain d:type="ref">0</ModifierChain>
    <ControllerName d:type="cDeltaString">Horn</ControllerName>
    <LoopCondition d:type="cDeltaString">ValueInRange</LoopCondition>
    <ActiveRangeStartValue d:type="sFloat32">0.010000</ActiveRangeStartValue>
    <ActiveRangeEndValue d:type="sFloat32">1.000000</ActiveRangeEndValue>
    <ValueIsChangingGateTime d:type="sFloat32">0.000000</ValueIsChangingGateTime>
    <InstanceGroup d:type="ref">35058824</InstanceGroup>
    </kLoud-cControlledLoop>
    <kLoud-cControlledLoop d:id="35089928">
    <PlayState d:type="cDeltaString">INSIDE</PlayState>
    <Name d:type="cDeltaString"></Name>
    <Sound d:type="ref">0</Sound>
    <ModifierChain d:type="ref">0</ModifierChain>
    <ControllerName d:type="cDeltaString">Horn</ControllerName>
    <LoopCondition d:type="cDeltaString">ValueInRange</LoopCondition>
    <ActiveRangeStartValue d:type="sFloat32">0.010000</ActiveRangeStartValue>
    <ActiveRangeEndValue d:type="sFloat32">1.000000</ActiveRangeEndValue>
    <ValueIsChangingGateTime d:type="sFloat32">0.000000</ValueIsChangingGateTime>
    <InstanceGroup d:type="ref">35063304</InstanceGroup>
    </kLoud-cControlledLoop>
    </Loop>
    <Oneshot/>
    </cGenericAudioControl>
    </ProxyControl>
    </kLoud-cProxyControlLoader>
     
  12. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,729
    Likes Received:
    1,791
    • Like Like x 1
  13. KodiakJac

    KodiakJac Active Member

    Joined:
    Jul 30, 2022
    Messages:
    150
    Likes Received:
    82
    Thanks, Reef! See you in your lair :)
     
    • Like Like x 1

Share This Page