I am using track sound configuration possibilities developed by Carlo but in a way that my ttype.dat file has only default track sound and switch sound. I have found that coding all squeal sounds thru eng\wag sms file gives better sound experience. Never mind - just this better suits my taste.
My ttype.dat file looks like this:
SIMISA@@@@@@@@@@JINX0t1t______ 2 TrackType ( "Default" "def_in.sms" "def_ex.sms" ) TrackType ( "Switch" "AutoSound/soloswitchtrackin.sms" "AutoSound/soloswitchtrackex.sms" )
and of course there is appropriate command in .trk file
include ( "../route.trk" ) ORTSSwitchSMSNumber ( 1 ) ORTSUserPreferenceForestClearDistance ( 2 ) ORTSUserPreferenceRemoveForestTreesFromRoads ( 1 )
Everything works well as intended (switch sound is played during crossing a switch only) unless there is a curve right after a switch. In that case switch sound is played starting from the switch to the end of the curved track piece (or rather to the first straight track piece after the switch) where it return to default track sound. If there is no switch before curved track then default track sound is played during run at curve.
Edit:
Using U2020.02.09-0406