Elvas Tower: Faking an EMU controller - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Faking an EMU controller Rate Topic: -----

#1 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,250
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 02 October 2022 - 10:42 PM

Until such time as we have electric multiple unit controllers with automatic acceleration in OR, can we fake the effect?

Due to the relationship of current, force and speed then for current controlled relays we can fake opening the controller using tractive force curves.

Unfortunately we can not fake the backward movement of the controller - which can not move the connections back to a lower level.

What about sound effects?

For an old style electro-magnetic controller we should hear the relays click every time the controller automatically "notches up".
For an even older electro-pneumatic controller then there should be a hiss of air (as well as a click of contactors) each time it "notches up"

So far, so good, we have speed based sound triggers in OR.

We also have control based sound triggers so we could presumably arrange the loud "pop" of the blow out relay each time the throttle is closed.

There is a slight problem though. We would need sound triggers that work at certain speeds ONLY when the controller is in certain positions. Could we set up sound triggers that work at certain speeds ONLY if the throttle is in certain positions?

For this throttle:

Throttle ( 0 1.0 1 0
NumNotches ( 5
Notch ( 0.00 0 Dummy ) Comment ( OFF )
Notch ( 0.25 0 Dummy ) Comment ( Shunt or Inch )
Notch ( 0.50 0 Dummy ) Comment ( FULL SERIES )
Notch ( 0.75 0 Dummy ) Comment ( Transition or First Parallel )
Notch ( 1.00 0 Dummy ) Comment ( FULL PARALLEL) ) )

If the controller is OFF there will be no notching up sounds at any speed.
When the controller is in position 1 there will be no notching up sounds at any speed.
When the controller is in position 2 there will be 6 notching up sounds at the speeds highlighted in the traction curves below.
When the controller is in position 3 there will be 7 notching up sounds at the speeds highlighted in the traction curves below.
When the controller is in position 4 there will be 12 notching up sounds at the speeds highlighted in the traction curves below.

Comment ( Control System: MV type OA-3-B electro-magnetic control )
Comment ( Notch 1 Shunting = Step 1 / Notch 2 SERIES = Steps 2, 3, 4, 5, 6, 7 / Notch 3 = Step 8 Transition / Notch 4 Steps 9, 10, 11, 12, 13, 14 PARALLEL )

ORTSMaxTractiveForceCurves(
0 (
0.00 0
35.76 0
)
0.25 (
0.00 50813
1.12 23655
2.24 10229
3.35 4366
4.47 2386
5.59 1493
6.71 1018
8.05 694
9.39 502
10.73 380
12.07 296
13.41 238
14.75 194
15.65 172
17.88 130
20.12 101
22.35 81
24.59 67
26.82 55
29.06 47
31.29 40
33.53 35
35.76 30
)
0.5 (
0.00 50813
1.12 23655
1.13 46015
2.24 23655
2.25 38562
3.35 23655
3.36 34835
4.47 23655
4.48 32599
5.59 23655
5.60 31108
6.71 23655
6.72 30043
8.05 22361
9.39 14602
10.73 12018
12.07 9384
13.41 7522
14.75 6157
15.65 5442
17.88 4111
20.12 3210
22.35 2573
24.59 2106
26.82 1754
29.06 1483
31.29 1269
33.53 1098
35.76 959
)
0.75 (
0.00 50813
1.12 23655
1.13 46015
2.24 23655
2.25 38562
3.35 23655
3.36 34835
4.47 23655
4.48 32599
5.59 23655
5.60 31108
6.71 23655
6.72 30043
8.05 22361
8.06 30332
9.39 23096
10.73 18792
12.07 15382
13.41 12860
14.75 10936
15.65 9895
17.88 7886
20.12 6455
22.35 5396
24.59 4589
26.82 3958
29.06 3454
31.29 3046
33.53 2708
35.76 2427
)
1.0(
0.00 50813
1.12 23655
1.13 46015
2.24 23655
2.25 38562
3.35 23655
3.36 34835
4.47 23655
4.48 32599
5.59 23655
5.60 31108
6.71 23655
6.72 30043
8.05 22361
8.06 30332
9.39 23096
9.40 28637
10.73 22194
10.74 27342
12.07 21544
12.08 26221
13.41 20943
13.42 25400
14.75 20567
14.76 24652
15.65 22561
17.88 17979
20.12 14717
22.35 12303
24.59 10463
26.82 9024
29.06 7876
31.29 6944
33.53 6175
35.76 5534
)
)

Is there any way to make the sounds depend on both speed AND throttle position like this?

#2 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 950
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 03 October 2022 - 01:55 AM

Hello.

Quote

There is a slight problem though. We would need sound triggers that work at certain speeds ONLY when the controller is in certain positions. Could we set up sound triggers that work at certain speeds ONLY if the throttle is in certain positions?


EnableTrigger ( X ), DisableTrigger ( X ) can be used to enable or disable a sound or sounds. For example, I control the fan in this way because it still doesn't have its own sound trigger.

			Skip ( V/1. Szellozo )
			Stream (
			Priority ( 7 )
			Triggers ( 37
			Skip ( By default, the ventilation shutdown process is disabled )
		Skip ( 1 )	Initial_Trigger ( DisableTrigger ( 6 ) )
		Skip ( 2 )	Initial_Trigger ( DisableTrigger ( 7 ) )
		Skip ( 3 )	Initial_Trigger ( DisableTrigger ( 8 ) )
		Skip ( 4 )	Initial_Trigger ( DisableTrigger ( 9 ) )
		Skip ( 5 )	Initial_Trigger ( DisableTrigger ( 10 ) )
								
			Skip ( After stopping, it switches off the ventilation after 30 seconds )
		Skip ( 6 )	Random_Trigger ( Delay_Min_Max ( 60 61 ) Volume_Min_Max ( 1.0 1.0 ) PlayOneShot ( 1 File ( "V43_szellozoleall.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	Skip ( Szellozo leall )
		Skip ( 7 )	Random_Trigger ( Delay_Min_Max ( 60 61 ) Volume_Min_Max ( 1.0 1.0 ) ReleaseLoopRelease () )	Skip ( Szellozo leallitas )
		Skip ( 8 )	Random_Trigger ( Delay_Min_Max ( 60 62 ) Volume_Min_Max ( 1.0 1.0 ) DisableTrigger ( 6 ) )	Skip ( Random -> Szellozo )
		Skip ( 9 )	Random_Trigger ( Delay_Min_Max ( 60 62 ) Volume_Min_Max ( 1.0 1.0 ) EnableTrigger ( 18 ) )	Skip ( Szellozo ind engedelyezes )
		Skip ( 10 )	Random_Trigger ( Delay_Min_Max ( 60 62 ) Volume_Min_Max ( 1.0 1.0 ) EnableTrigger  ( 19 ) )	Skip ( Szellozo engedelyezes )
		
			Skip ( If the pantograph goes down /46/, the ventilation stops )
		Skip ( 11 )	Initial_Trigger ( DisableTrigger ( 13 ) )
		Skip ( 12 )	Discrete_Trigger ( 24 ReleaseLoopRelease () )	Skip ( Szellozo leallitas )
		Skip ( 13 )	Discrete_Trigger ( 24 PlayOneShot ( 1 File ( "x_V43_szellozoleall.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	Skip ( Szellozo leall )
		Skip ( 14 )	Discrete_Trigger ( 24 DisableTrigger ( 12 ) )	Skip ( Szellozo leallitas  tiltas )
		Skip ( 15 )	Discrete_Trigger ( 24 DisableTrigger ( 17 ) )	Skip ( Szellozo inditas  tiltas )

				Skip ( Pantograph goes up /45/, ventilation enabled )
		Skip ( 16 )	Discrete_Trigger ( 23 EnableTrigger ( 17 ) )  Skip ( Szell hang )
		Skip ( 17 )	Discrete_Trigger ( 23 EnableTrigger ( 18 ) )  Skip ( Szell hang )

				Skip ( Controller output starts the ventilation if it is enabled )
		Skip ( 18 )	Variable_Trigger ( Variable2_inc_past 1 PlayOneShot ( 1 File ( "x_V43_szellozoind.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )	Skip ( Szellozo ind )
		Skip ( 19 )	Variable_Trigger ( Variable2_inc_past 1 StartLoopRelease ( 1 File ( "x_V43_szellozojar.wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) Skip ( Szellozo )
		Skip ( 20 )	Variable_Trigger ( Variable2_Inc_Past 1 DisableTrigger ( 19 ) ) Skip ( Szellozo )
		Skip ( 21 )	Variable_Trigger ( Variable2_Inc_Past 1 DisableTrigger ( 18 ) ) Skip ( Szellozo inditas )

				Skip ( If the machine is moving, the ventilation shutdown process is disabled )
		Skip ( 22 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 6 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 23 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 7 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 24 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 8 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 25 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 9 ) ) Skip ( 30s utan szellozo hang engedelyezes )
		Skip ( 26 )	Variable_Trigger ( Speed_inc_past 0.1 DisableTrigger ( 10 ) ) Skip ( 30s utan szellozo hang engedelyezes )

				Skip ( If the compressor is running, the ventilation shutdown process is disabled )
		Skip ( 27 )	Discrete_Trigger ( 12 DisableTrigger ( 6 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 28 )	Discrete_Trigger ( 12 DisableTrigger ( 7 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 29 )	Discrete_Trigger ( 12 DisableTrigger ( 8 ) ) Skip ( 30s utan szellozo leallitas )
		Skip ( 30 )	Discrete_Trigger ( 12 DisableTrigger ( 9 ) ) Skip ( 30s utan szellozo hang engedelyezes )
		Skip ( 31 )	Discrete_Trigger ( 12 DisableTrigger ( 10 ) ) Skip ( 30s utan szellozo hang engedelyezes )

				Skip ( If the machine stops, the ventilation stop delay is enabled. )
		Skip ( 32 )	Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger ( 6 ) ) Skip ( 30s Leallitas engedelyezes )
		Skip ( 33 )	Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger ( 7 ) ) Skip ( 30s Szellozo hang ujra engedelyezes )
		Skip ( 34 )	Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger ( 8 ) ) Skip ( 30s Leallitas engedelyezes )
		Skip ( 35 )	Variable_Trigger ( Speed_Dec_Past 0.1 EnableTrigger ( 9 ) ) Skip ( 30s Szellozo hang ujra engedelyezes )
		Skip ( 36 )	Variable_Trigger ( Speed_Dec_past 0.1 EnableTrigger ( 10 ) ) Skip ( 30s utan szellozo hang engedelyezes )
		Skip ( 37 )	Variable_Trigger ( Speed_Dec_past 0.1 DisableTrigger ( 13 ) )	Skip ( Szellozo leallitas tiltas )
				)
			)


I have commented the number of the respective line before each line for better transparency. I always accounted for myself and was surprised that it didn't work. This was made back in the MSTS days, the part about the air compressor should probably be reconsidered.

Something similar should be made.

Sincerely, Laci 1959

#3 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 950
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 03 October 2022 - 02:01 AM

Variations on the theme. The clicking sound of a contactor.
			Skip( V/10. Kontaktor 1 )
			Stream(
			Priority ( 6 )
			Volume ( 0.70 )
			Triggers ( 11
				Variable_Trigger ( Variable2_Inc_Past 1 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 10 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 20 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 30 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 40 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 50 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 60 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 70 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 80 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Inc_Past 90 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				Variable_Trigger ( Variable2_Inc_Past 95 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)

			Skip( V/11. Kontaktor 2 )
			Stream(
			Priority ( 6 )
			Volume ( 0.70 )
			Triggers ( 11
				Variable_Trigger ( Variable2_Dec_Past 1 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 10 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 20 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 30 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 40 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 50 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 60 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 70 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 80 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				Variable_Trigger ( Variable2_Dec_Past 90 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

				Variable_Trigger ( Variable2_Dec_Past 95 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)


Variations on the theme. The clicking sound of a contactor.

In this version, the increase and decrease of the motor current (Variable2) controls the sound of the contactors. Maybe that would be a good solution. Of course, not every decade, but more often, but I didn't feel like it then.

#4 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,011
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 03 October 2022 - 10:36 AM

Speed or variable2 may control SetStreamVolume command as well. Then the rest one - trigger sounds playback itself.

#5 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,250
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 03 October 2022 - 10:04 PM

Of course, current (or tractive force) should be the answer. Just like the real thing.

Looking at the charts that Weter posted as an example, we could get a "click" each time the current went up.

https://i.imgur.com/Uqaw4om.jpg

For the higher acceleration rate, each time the current rises above 180A then the contactor clicks.

Now thinking to try some experiments. Please can I use your kontaktor.wav sound?

Do you also have a "pop" sound for the blowout relay?

#6 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 950
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 03 October 2022 - 10:54 PM

Hello.

My link

Here's the sound of the contactor.
If I understand correctly, it should be programmed so that there is some kind of sound when the controller is in a given position and at a given speed.
Well, I'll have fun this afternoon.

Sincerely, Laci 1959

#7 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,250
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 09 October 2022 - 05:33 AM

Thanks for that. Now that I have worked out how to add contactor and line breaker sounds I am wondering about modelling some very old electric trains, without multiple unit control.


Direct Control

Both leading and trailing motor cars provide power (and therefore motor noise) but all the electrical control is done by the driver at the front, with the rear motors powered by bus lines from the controller in use.
In this case the contactors and linebreakers will only be heard from the front motor car in the direction of travel.

If I add a Scalability Group to the cab sounds that will make the contactor and linebreaker sounds heard in external view will they only be heard from the front car in direction of travel (active cab)?


Only Leading Motor Car Provides Power

If the above works, perhaps I could add the motor sounds only to the cab view so that they will only be heard from the front vehicle, but in this case I am not sure if it would be possible to prevent the rear car in the direction of travel providing power. OR seems to have everything MU linked up by default, which works for most cases. Is there any way to over ride that so that only the front car would be working?


Air Brake Reservoirs charged by land line

Perhaps as well as fuel (coal) fuel (diesel) and fuel (water) a pickup for air could be added in future so that trains without compressors could also be run. As this was not very common it may be something that could be custom made for a route. (No, I am not building such a route, just thinking about random possibilities!)

#8 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,011
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 09 October 2022 - 09:57 AM

First:
Scalability group has an option, with which cameras it should be activated, and with which - deactivated.
Else, the deactivation distance may be defined.
Second:
It may be defined as a trailer, or MU cable can be plugged-out through F9 train operations menu. Helpers management menu could be used as well.
Third:
I've read somewhere (maybe, Your recent EMU history document?) about early EMUs without compressors, which charged reservoirs at terminal stations.
My colleague told me about pneumatic trams in Paris, which were charged with compressed air and boiling-hot water at terminal stations too.
Our early trams had mechanical compressors, driven by wheels, so they have to move for pumping air, as early American steamers, which had pumps for feeding their boilers, instead of injectors (latter yet weren't been invented), driven by running gear.
Also, our modern metro trains AE being fed with compressed air in depots, before going out to area, where contact rail present.
ЧС6 Czecho-Slovakian built locomotive have pneumatic power contractors, whose sound was well-modelled.

#9 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,250
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 12 October 2022 - 05:52 AM

Well, basing the notching up on current works very well when starting from rest. Also the "pop" for shutting off power.

  Stream ( Skip ( **** 5 - Linebreaker **** )
   Priority ( 5 )
   Triggers ( 1
	Variable_Trigger ( Variable2_Dec_Past  0.1 PlayOneShot ( 1 File ( "EPlinebreaker.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
   VolumeCurve(
	Variable2Controlled
	CurvePoints ( 4
 	0.0   0.50
 	40.0  0.96
 	60.0  0.98
 	100.0 1.00
	)
   Granularity ( 100 )
   )
	)
   )

  Stream ( Skip ( **** 6 - Notching up Relays during acceleration **** )
   Priority ( 4 )
   Triggers ( 4
	Initial_Trigger  ( SetStreamVolume ( 0.8 ) )
	Variable_Trigger ( Variable2_Inc_Past 40 EnableTrigger ( 3 ) )
	Variable_Trigger ( Variable2_Dec_Past 45 DisableTrigger ( 3 ) )
	Variable_Trigger ( Variable2_Dec_Past 50 PlayOneShot ( 1 File ( "EPrelay.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
	)
   )


What is a whole lot more complicated is that if you close the throttle when the train is moving and then open it again, the relays should quickly notch up to the correct place.
You should hear a whole series of clicks. So I made a wave with 7 clicks (for full series) and another with 15 clicks (for full parallel).
The logic should be something like this:

IF throttle is already open to less than 0.76 (but has never been open to more than 0.76 without being closed to 0.00) AND speed > 4.31 then play EPrelay07.wav

IF throttle is closed to 0.00 AND speed between 4.31 and 7.89 THEN throttle is opened past 0.26 then play EPrelay07.wav

IF throttle is closed to 0.00 AND speed > 7.89 THEN EITHER IF throttle is opened past 0.76 then play EPrelay15.wav OR ELSE IF throttle is opened between 0.26 and 0.76 play EPrelay07.wav

What I can't seem to do is translate that logic into the sms file. I am finding the sms a bit awkward to use. This is what I tried:

Stream ( Skip ( **** 7 - Notching up Relays power resumed after coasting **** )
Priority ( 4 )
Triggers ( 25
Skip (1) Initial_Trigger ( SetStreamVolume ( 0.8 ) )

Skip ( **** Throttle Increased to Full Parallel when Running in Full Series above Full Parallel speed **** )
Skip (2) Initial_Trigger ( DisableTrigger ( 5 ) )
Skip (3) Variable_Trigger ( Variable1_Inc_Past 0.76 DisableTrigger ( 4 ) )
Skip (4) Variable_Trigger ( Speed_Inc_Past 7.89 EnableTrigger ( 5 ) )
Skip (5) Variable_Trigger ( Variable1_Inc_Past 0.76 PlayOneShot ( 1 File ( "EPrelay07.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Skip (6) Variable_Trigger ( Variable1_Inc_Past 0.76 DisableTrigger ( 5 ) )

Skip ( **** Rapid Notching Up to Full Series when Resuming Power above Full Series speed **** )
Skip (7) Initial_Trigger ( DisableTrigger ( 12 ) )
Skip (8) Variable_Trigger ( Variable1_Inc_Past 0.26 DisableTrigger ( 9 ) )
Skip (9) Variable_Trigger ( Speed_Inc_Past 4.31 EnableTrigger ( 11 ) )
Skip (10) Variable_Trigger ( Speed_Inc_Past 7.89 DisableTrigger ( 11 ) )
Skip (11) Variable_Trigger ( Variable1_Dec_Past 0.01 EnableTrigger ( 12 ) )
Skip (12) Variable_Trigger ( Variable1_Inc_Past 0.26 PlayOneShot ( 1 File ( "EPrelay07.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Skip (13) Variable_Trigger ( Variable1_Inc_Past 0.26 DisableTrigger ( 12 ) )

Skip ( **** Rapid Notching Up to Full Series or Full Parallel when Resuming Power above Full Parallel speed **** )
Skip (14) Initial_Trigger ( DisableTrigger ( 22 ) )
Skip (15) Initial_Trigger ( DisableTrigger ( 23 ) )
Skip (16) Variable_Trigger ( Variable1_Inc_Past 0.26 DisableTrigger ( 17 ) )
Skip (17) Variable_Trigger ( Speed_Inc_Past 7.89 EnableTrigger ( 18 ) )
Skip (18) Variable_Trigger ( Variable1_Dec_Past 0.01 EnableTrigger ( 19 ) )
Skip (19) Variable_Trigger ( Variable1_Inc_Past 0.26 EnableTrigger ( 22 ) )
Skip (20) Variable_Trigger ( Variable1_Inc_Past 0.76 DisableTrigger ( 22 ) )
Skip (21) Variable_Trigger ( Variable1_Inc_Past 0.76 EnableTrigger ( 23 ) )
Skip (22) Variable_Trigger ( Variable1_Inc_Past 0.26 PlayOneShot ( 1 File ( "EPrelay07.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Skip (23) Variable_Trigger ( Variable1_Inc_Past 0.26 PlayOneShot ( 1 File ( "EPrelay15.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Skip (24) Variable_Trigger ( Variable1_Inc_Past 0.26 DisableTrigger ( 22 ) )
Skip (25) Variable_Trigger ( Variable1_Inc_Past 0.26 DisableTrigger ( 23 ) )

)
)

It does not seem to work at all.

#10 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 950
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 12 October 2022 - 07:31 AM

Helló.
			Stream (       
				Priority ( 6 )
				Triggers ( 3
			Skip ( Sounds are disabled by default. )
			Skip ( Alaphelyzetben a hangok letiltva. )
		Skip ( 1 )		Initial_Trigger ( DisableTrigger ( 13 )
					)
		Skip ( 2 )		Initial_Trigger ( DisableTrigger ( 14 )
					)
		Skip ( 3 )		Initial_Trigger ( DisableTrigger ( 15 )
					)
		Skip ( 4 )		Discrete_Trigger ( DisableTrigger ( 16 )
					)
		Skip ( 5 )		Initial_Trigger ( DisableTrigger ( 17 )
					)
		Skip ( 6 )		Initial_Trigger ( DisableTrigger ( 18 )
					)
		Skip ( 7 )		Initial_Trigger ( DisableTrigger ( 19 )
					)
		Skip ( 8 )		Discrete_Trigger ( DisableTrigger ( 20 )
					)
		Skip ( 9 )		Initial_Trigger ( DisableTrigger ( 21 )
					)
		Skip ( 10 )		Initial_Trigger ( DisableTrigger ( 22 )
					)
		Skip ( 11 )		Initial_Trigger ( DisableTrigger ( 23 )
					)
		Skip ( 12 )		Discrete_Trigger ( DisableTrigger ( 24 )
					)


			Skip ( List of sounds according to speed, broken down into notches. )
			Skip ( Hangok sebesség szerinti felsorolása bevágásokra bontva. )
			Skip ( Notch 0.5 )
		Skip ( 13 )		Variable_Trigger ( Speed_Inc_Past 1.13 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 14 )		Variable_Trigger ( Speed_Inc_Past 2.25 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 15 )		Variable_Trigger ( Speed_Inc_Past 3.36 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 16 )		Variable_Trigger ( Speed_Inc_Past 4.48 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 17 )		Variable_Trigger ( Speed_Inc_Past 5.6 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 18 )		Variable_Trigger ( Speed_Inc_Past 6.72 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
			Skip ( Notch 0.75 )
		Skip ( 19 )		Variable_Trigger ( Speed_Inc_Past 8.06 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)

			Skip ( Notch 1.0 )
		Skip ( 20 )		Variable_Trigger ( Speed_Inc_Past 9.40 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 21 )		Variable_Trigger ( Speed_Inc_Past 10.74 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 22 )		Variable_Trigger ( Speed_Inc_Past 12.08 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 23 )		Variable_Trigger ( Speed_Inc_Past 13.42 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)
		Skip ( 24 )		Variable_Trigger ( Speed_Inc_Past 14.76 PlayOneShot ( 1 File ( "v43_kontaktor.wav" -1 ) SelectionMethod ( SequentialSelection ) )
					)

			Skip ( The notch allows 0.5 half to play the closed notes in lines 13 - 18. )
			Skip ( A bevágás 0.5 felet engedélyezi a lezárt hangok lejátszását a 13 - 18 sorokban. )
		Skip ( 25 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 13 )
					)
		Skip ( 26 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 14 )
					)
		Skip ( 27 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 15 )
					)
		Skip ( 28 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 16 )
					)
		Skip ( 29 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 17 )
					)
		Skip ( 30 )		Variable_Trigger ( Variable1_inc_past 0.5 EnableTrigger ( 18 )
					)
			Skip ( The notch below 0.5 closes the notes again in lines 13 - 18. )
			Skip ( A bevágás 0.5 alatt ismét lezárja a hangokat a 13 - 18 sorokban. )
		Skip ( 31 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 13 )
					)
		Skip ( 32 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 14 )
					)
		Skip ( 33 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 15 )
					)
		Skip ( 34 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 16 )
					)
		Skip ( 35 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 17 )
					)
		Skip ( 36 )		Variable_Trigger ( Variable1_dec_past 0.5 DisableTrigger ( 18 )
					)

			Skip ( The notch at 0.75 also allows the playing of line 19. Now the range of notes that can be played is 13-19 depending on the speed. )
			Skip ( A bevágás 0.75-nél engedélyezi 19. sor lejátszását is. Most 13 -19 a lejátszható hangok tartománya a sebesség függvényében. )
		Skip ( 37 )		Variable_Trigger ( Variable1_inc_past 0.75 EnableTrigger ( 19 )
					)

			Skip ( The notch below 0.75 closes the note again in line 19. )
			Skip ( A bevágás 0.75 alatt ismét lezárja a hangokat a 19 sorokban. )
		Skip ( 38 )		Variable_Trigger ( Variable1_dec_past 0.75 DisableTrigger ( 19 )
					)
		...				...

				)


I would do it this way.
It seems a bit complicated, since sms does not know the concept of AND, i.e. it is not possible to formulate two conditions at the same time. A lot depends on the sequence. Initial_Trigger ( SetStreamVolume ( 0.8 ) ) is not good because it applies to playing all sounds.
In the place of the dots, you must add ENABLE and DISABLE the sounds belonging to the Noch 1.0 notch. Controller notch is always ENABLED or DISABLED. When you switch the controller up, it expands the list of allowed sounds. When it closes, it narrows the list of allowed sounds. Under Noch 0.5, it disables all sounds. In lines 13-24, the pitch is lowered according to the rising speed. It is always the range that the controller allows.

I HAVE NOT TRIED, there may be errors.

Sincerely, Laci1959

  • 2 Pages +
  • 1
  • 2
  • 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