Elvas Tower: ORTS sound triggers, variables - Elvas Tower

Jump to content

  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

ORTS sound triggers, variables and the future of OR sound management. Rate Topic: -----

#21 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 638
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 14 October 2015 - 09:28 AM

Sure be nice for some new sound triggers that sound when suddenly stretched or bunched at any speed.

#22 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 14 October 2015 - 10:08 AM

That's possible, but i won't implement it until this(latest) patch is applied to svn.
However the question is, how this trigger would be activated? By slack forces, or by the change rate of the force?

#23 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 16 October 2015 - 10:17 AM

The new triggers are available from v3282

See the trigger numbers

#24 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 638
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 16 October 2015 - 12:49 PM

View Postdisc, on 14 October 2015 - 10:08 AM, said:

That's possible, but i won't implement it until this(latest) patch is applied to svn.
However the question is, how this trigger would be activated? By slack forces, or by the change rate of the force?


I would have to say by change rate of the force of a cars impact... Force information tells whether a car is in positive numbers being stretched as pulled vs negative numbers being bunched as in pushed. So if a car reaches a change from 0 coupler force to +/- forces, sound may be triggered so slack action may still change back an forward - or + from 0 force to trigger sound. You have an idea yourself to test out?

#25 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 28 October 2015 - 09:32 AM

When using triggers 14 and 54. The Brake pressure sounds play, but as soon as you partially release the brake, the brake sound stops.

Disc, do your new sound triggers overcome this problem ? Also will there be a new sound trigger when applying the emergency brake?

Thanks

#26 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 28 October 2015 - 11:02 AM

I think if there is az apply and a release sound in the same stream, then of course the apply sound will stop if you release the brake and the release sound is activated, that's how it meant to work. But why should it work othewise?
BTW you can try it. Its simple: trigger 14 is activated when brake pressure starts increasing. 54 is activated whem the pressure starts to decrease, and 139 is triggered, if the pressure stops changing (to use for ReleaseLoopRelease for example).

No, emergency brake trigger isn't added yet, but it's possible.

#27 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 29 October 2015 - 02:10 AM

I don't think it is possible atm, to achieve what i need.

My brake sound is 'brake rub' and once trigger 14 applies, the brake rub sound plays via the 'start loop release' command.

Partially releasing the brake, stops the 'brake rub' sound with 'release loop release' command from trigger 54.

All i can think of is a new trigger that stops the 'brake rub' sound when the train brake is in the fully released position or when the brake cylinder pressure returns to zero.

I had this same problem in MSTS with partial release brakes.

Thanks

#28 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 03 November 2015 - 06:41 AM

What about this?

			Stream (
				Priority ( 6 )
                Volume ( 1 )
				Triggers ( 2
					Variable_Trigger ( BrakeCyl_Inc_Past   2	StartLoop ( 1	File ( "BrakeRub.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( BrakeCyl_Dec_Past   2	ReleaseLoopRelease () )
					Variable_Trigger ( Speed_Dec_Past   0.2		ReleaseLoopRelease () )	
				)
				FrequencyCurve ( 
					SpeedControlled	
					CurvePoints ( 2						
						0.1,	4000						
						15,	44100
					)
					Granularity (0.1)
                )
				VolumeCurve ( 
					BrakeCylControlled	
					CurvePoints ( 2						
						2,	0.0
						20,	1.0
					)
					Granularity (0.5)
                )
            )


#29 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 03 November 2015 - 07:51 AM

View Postdisc, on 03 November 2015 - 06:41 AM, said:

What about this?

Variable_Trigger ( BrakeCyl_Inc_Past   2	StartLoop ( 1	File ( "BrakeRub.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( BrakeCyl_Dec_Past   2	ReleaseLoopRelease () )
BrakeCylControlled    




Ahhh i see new trigger(s) and curves. That will definitely do it Disc :thumbup3:

#30 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 03 November 2015 - 11:16 AM

Good job disc. Thank you.

  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users