ORTS sound triggers, variables and the future of OR sound management.
#31
Posted 03 November 2015 - 11:27 AM
#32
Posted 03 November 2015 - 12:37 PM
#33
Posted 03 November 2015 - 01:37 PM
Csantucci, on 03 November 2015 - 12:37 PM, said:
Dont know, i can't run MSTS. But i think it would ignore as it does with the new discrete triggers.
Another thing that i've noticed. OR adds the VolumeCurves to a list, for each sound source, so it seems that it supports multiple volumecurves for the same stream.
#35
Posted 12 November 2015 - 08:36 AM
Applying the brake when the engine/consist is at a stand, will cause the brake rub sound to play!
Setting the volume stream to 0, using the
Variable_Trigger ( Speed_Dec_Past 0.1 SetStreamVolume ( 0.0 ) )has no effect!
Any ideals ?
#36
Posted 12 November 2015 - 01:18 PM
Coolhand101, on 12 November 2015 - 08:36 AM, said:
Applying the brake when the engine/consist is at a stand, will cause the brake rub sound to play!
Setting the volume stream to 0, using the
Variable_Trigger ( Speed_Dec_Past 0.1 SetStreamVolume ( 0.0 ) )has no effect!
Any ideals ?
probably the volume curve overrides the volume. But actually that loop should be stopped with releaselooprelease when the speed drops, not just silenced which wasting the resources. It makes no sense to play a sound at volume 0.
#37
Posted 12 November 2015 - 01:38 PM
disc, on 12 November 2015 - 01:18 PM, said:
The Loop sound does stop with
Variable_Trigger ( Speed_Dec_Past 0.1 ReleaseLoopReleaseWithJump () )but as soon as you apply the brake again, the loop sound plays while at a stand.
However i remember you saying that you can add more than one volume curve for one stream, so i added the extra curve to set zero volume at zero speed, this allows no sound played at 0 speed, and variable sound to play above 0 speed via the brake cylinder pressure readings.
Thanks
#38
Posted 12 November 2015 - 01:44 PM
#39
Posted 12 November 2015 - 03:16 PM
Just a thought . . .
As always, thanks to the OR team for thinking of new and better things to add to the OR sim.
#40
Posted 13 November 2015 - 04:44 AM
railguy, on 12 November 2015 - 03:16 PM, said:
Just a thought . . .
As always, thanks to the OR team for thinking of new and better things to add to the OR sim.
These are possible, but another controller is needed, as the precipitation type is independent from the season. Timeofday is a good idea, for example industrial sounds at day, birds singing at the morning, cricket chirping at night :)
But with current SMS definitions, how do you describe that a sound should be played at summer night, but not in other times?