We want to blink the NONSTOP led.
We start an event at xx:59:30 in Playlist 1, then load an playlist with an dummy that says pull up the Nonstop fader.
And we want to start an script that blink the NONSTOP led
We use Playlist1 only at nonstop hours.
When we are live we use playlist one for events. At diverse times the playlist is filled with dummy’s to tell the dj that an commercial break is coming or play the headlines. At the TOTH we start an new playlist in playlist one with News and nonstop music than the DJ go from Live to Nonstop.
Well it seems, that the Airence does not offer to toggle the LED via it’s remote control. So the LED in this button only reflects the mode and changes on push only.
Once it is pressed, you can make mAirlist react to it, but not the other way round.
D&R only allows buttons 0 to 23, you would need Button No 26.
Then it’s me who messed it up … (Script has been edited by heart between breakfast and shower.) I will have a further look at.
Failed regards
TSD
Edit: From a distance, you take a simple look at and …
procedure OnExecuteCommand(Command: string);
begin
if Command = 'BLINK AIRENCE' then begin
AirenceRemote(0).SetLEDBlink(0, acRed, absFast);
end;
end;
begin
end.
I have done that via an event.
With commando BLINK AIRENCE
When i make an edit in the script (Change a letter) then Mairlist says error on parameter.
When i set back the letter i have no error.
Mairlist uses the script.
So if you do edit the script, it is crucial which letter(s) you are changing. Please give me more information about this.
This script is an example only for illuminating Button 1A flashing red on the given command. It will remain flashing endlessly because this had been the only thing you requested.
If you could describe a little more precisely which button(s)* should light up when, in which colour, flashing or not and when to go out, please? This woud be really helpful.
Requesting regards
TSD
* Addendum:NONSTOP Button does not count for above reasons.
We want to make an alert to the dj when its time to play an item.
We work with young radiomakers who don’t have the time sharp.
With an blinking led we can trigger them to take action.
It;s fine when the led blinks for 30 seconds and then goes off.
When i use the script you posted here the led on 1a is not blinking.
I changed a parameter in the script to test if Mairlist use this script. An mairlist give an error at the script. I changed the parameter to its original value en start the event again and mairlist has no error.
For me only an test mairlist uses the right script.
So before we carry on with the stubborn Airence console, yet another question regarding the timing of the blinking LEDs: You say, the LED should warn the personnel – were it feasible to use the EOF-Warning for triggering instead or additionally or do you like the LED to be triggered by the playlist events only?
We want to have the use of a blinking led by an event at several times.
It’s a warning when they have to play an special recorded item. We let the event load that item in an playlist. The young radiomakers are not triggered by the item coming up in mairlist. When an led is blinking at their mixer we hope that we warn them.
As I do not own an Airence mixer myself, we have to proceed by trial and error. So would you mind trying out this one please. After slaying another bug I put in by mistake I have made the script trigger the LED for 10 seconds after a player has been started. So we can exclude any possible errors caused by the playlist itself. In case of starting up or shutting down mAirList, all LEDs are turned off, additionally:
procedure OnLoad; // All LEDs out on startup
begin
AirenceRemote(0).SetLED(255, acNone);
end;
procedure OnUnload; // All LEDs out on shutdown
begin
AirenceRemote(0).SetLED(255, acNone);
end;
procedure OnTimer;
begin
AirenceRemote(0).SetLED(0, acNone); // Turn off LED 1A
DisableTimer; // Stop timer
end;
procedure OnPlayerStateChange(PlaylistIndex: integer; PlayerIndex: integer;
OldState: TPlayerState; NewState: TPlayerState;
Item: IPlaylistItem);
begin
if NewState = psPlaying then begin // Wait for player to be started
AirenceRemote(0).SetLEDBlink(0, acRed, acNone, absFast); // Turn on Airence LED
EnableTimer(10000); // Start timer for 30 seconds
end;
end;
begin
end.
Let’s see what happens, please report any success or failure.