Delayed action on start

#1

Hi

Our news jingle inforporates an ‘Action on Start’ to unmute a mixer channel.

We have changed the news jingle so that the intro is longer which unfortunately means that the last 5 seconds of the IRN pre-amble is still playing when our news jingle startes and this is heard as the unmute is actioned.

Is it possible to delay this ‘action on start’ by 10 seconds so that the ‘Action on Start’ happens 10s after the start of the audio.

If not - any suggestions on how to get around it (apart from splitting the audio into two parts).

Thanks

Ron.

#2

Hi Ron,

have you thought about incorporating a sleep(10000); statement together with the OnExecuteCommand procedure? This makes the code halt for 10000 milliseconds. Change your action-on-start command to, say, DELAY ACTION and load a background script, like such:

procedure OnExecuteCommand(Command: string);
begin
  if Command = 'DELAY ACTION' then begin
    sleep(10000);
    ExecuteCommand('<Your previous Action-on-start command>');
  end;
end;

begin
end.


Delayed regards

TSD