User Tools

Site Tools


config:remotecontrol:airlite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:remotecontrol:airlite [2018/03/21 07:10] – [Advanced] twconfig:remotecontrol:airlite [2022/04/15 15:03] (current) – Beispiel aktualisiert tondose
Line 5: Line 5:
 The AIRLITE is an 8-channel 19" mixer which includes four stereo USB audio interfaces, and a USB control module for fader start etc., all through a single USB connection. The AIRLITE is an 8-channel 19" mixer which includes four stereo USB audio interfaces, and a USB control module for fader start etc., all through a single USB connection.
  
-The WEBSTATION is the smaller brother of the AIRLITE, featuring 6 channels and three USB audio interfaces.+The WEBSTATION is the little brother of the AIRLITE, featuring 6 channels and three USB audio interfaces.
  
 Configuration steps are similar for both models. Configuration steps are similar for both models.
Line 68: Line 68:
 ===== Scripting ===== ===== Scripting =====
  
-The AIRLITE remote offers an interface which can be used to communicate with the console from a script. To access the interface, use the following function:+The AIRLITE/WEBSTATION remote offers an interface which can be used to communicate with the console from a script. To access the interface, use the following function:
  
   function AirliteRemote(iIndex: integer): IAirliteRemote;   function AirliteRemote(iIndex: integer): IAirliteRemote;
 +
 +Note: Name of the function is always ''AirliteRemote'', and name of the interface is always ''IAirliteRemote'', also for WEBSTATION. (The same class is used used internally for both models.)
      
 Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system. Remotes are 0-based, so ''AirliteRemote(0)'' will return a reference to the first remote in the system.
      
-At the time being, the ''IAirliteRemote'' interface offers two useful functions:+Up to mAirList 6.2, the ''IAirliteRemote'' interface offers two useful functions:
  
   procedure SetLED(iNumber: integer; iColor: TAirliteColor);   procedure SetLED(iNumber: integer; iColor: TAirliteColor);
   procedure SetLEDBlink(iNumber: integer; iOnColor, iOffColor: TAirliteColor; iSpeed: TAirliteBlinkSpeed);   procedure SetLEDBlink(iNumber: integer; iOnColor, iOffColor: TAirliteColor; iSpeed: TAirliteBlinkSpeed);
  
-The first one sets an LED of one of the push buttons to a particular color, the second one does the same, but with flashing. The available button IDs are:+The first one sets an LED of one of the push buttons to a particular color, the second one does the same, but with flashing. The available button IDs for AIRLITE are:
  
   * "A" buttons: 0 (Button 1A) to 7 (Button 8A)   * "A" buttons: 0 (Button 1A) to 7 (Button 8A)
   * "B" buttons: 8 (Button 1B) to 15 (Button 8B)   * "B" buttons: 8 (Button 1B) to 15 (Button 8B)
 +  * 255 (hex ''$FF''): All buttons at the same time
 +
 +And for WEBSTATION, given the lower number of butttons:
 +
 +  * "A" buttons: 0 (Button 1A) to 5 (Button 6A)
 +  * "B" buttons: 6 (Button 1B) to 11 (Button 6B)
   * 255 (hex ''$FF''): All buttons at the same time   * 255 (hex ''$FF''): All buttons at the same time
  
Line 96: Line 104:
   * ''albsNormal''   * ''albsNormal''
   * ''albsFast''   * ''albsFast''
 +
 +Starting with mAirList 6.3, access to the following low level remote functions is possible through the ''IAirliteRemote'' interface:
 +
 +  function RemoteOn(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteCue(iCueType: TAirliteCueType; iAction: TAirliteAction): integer;
 +  function RemoteCueReset: integer;
 +  function RemoteAutoCueAnnouncer(iAction: TAirliteAction): integer;
 +  function RemoteAutoCueCRM(iAction: TAirliteAction): integer;
 +  function RemoteNonStop(iAction: TAirliteAction): integer;
 +  function RemoteComm(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteCough(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +  function RemoteVT(iModule: TAirliteModuleType; iAction: TAirliteAction): integer;
 +
 +Possible values for ''TAirliteModuleTypes'' are:
 +
 +  * ''almModule1''
 +  * ''almModule2''
 +  * ''almModule3''
 +  * ''almModule4''
 +  * ''almModule5''
 +  * ''almModule6''
 +  * ''almModule7''
 +  * ''almModule8''
 +  * ''almModuleAll''
 +
 +Possible values for ''TAirliteCueType'' are:
 +
 +  * ''actModule1''
 +  * ''actModule2''
 +  * ''actModule3''
 +  * ''actModule4''
 +  * ''actModule5''
 +  * ''actModule6''
 +  * ''actModule7''
 +  * ''actModule8''
 +  * ''actAux''
 +  * ''actNonStop''
 +  * ''actAir''
 +  * ''actAll''
 +
 +Possible values for ''TAirliteAction'' are:
 +
 +  * ''alaDeactivate''
 +  * ''alaActivate''
 +  * ''alaToggle''
 +
 +==== Example ====
 +
 +Switch on //Cue// over AIR input when Extra-PFL is launched:
 +
 +  procedure OnExtPFLOn(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount <> 0 then
 +      AirliteRemote(0).RemoteCue(actAir, alaActivate);
 +  end;
 +
 +… and turn off when Extra-PFL is closed:
 +
 +  procedure OnExtPFLOff(Item: IPlaylistItem; ExtPFLCount: integer);
 +  begin
 +    if ExtPFLCount = 0 then
 +      AirliteRemote(0).RemoteCue(actAir, alaDeactivate);
 +  end;
 + 
 +
 +
 +
config/remotecontrol/airlite.1521616247.txt.gz · Last modified: 2019/07/09 16:18 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki