You're right, it works with a simpler stream. (as with startloop and releaselooprelease).
Still further tested, but the combination "streamvolume on/off" and "random-trigger" does not work (?), even if I remove the volume rules inside the stream and/or random-trigger.
But I have found a solution with the "enable and disable" triggers, this works well. :D
An example below:
Stream (
Priority ( 6 )
Volume ( 1.0 )
Triggers ( 4
Initial_Trigger ( DisableTrigger ( 4 ) )
Discrete_Trigger ( 162 EnableTrigger ( 4 ) )
Discrete_Trigger ( 163 DisableTrigger ( 4 ) )
Random_Trigger (
Delay_Min_Max ( 5 40 )
Volume_Min_Max ( 2.5 3.0 )
PlayOneShot ( 16
File ( "DispatchSound-1/R_TEM2-Radio01.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio02.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio03.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio04.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio05.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio06.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio07.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio08.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio09.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio10.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio11.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio12.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio13.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio14.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio15.wav" -1 )
File ( "DispatchSound-1/R_TEM2-Radio16.wav" -1 )
SelectionMethod ( RandomSelection )
)
)
)
)
BTW, the "random" block of 16 files was, in my opinion, an MSTS limit?
Does anyone know if there is a limit in OR?
(I can fill in 32 files without error, but ......? Otherwise just make two stream blocks of 16, this works also ......)
.