beyond:pangoscript_commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| beyond:pangoscript_commands [2020/05/26 12:39] – Bob Varkevisser | beyond:pangoscript_commands [2026/02/27 12:51] (current) – Bob Varkevisser | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | PangoScript Commands | + | ====== |
| - | ^ Function ^ Code ^ Description ^ | + | New for 2026, a tool has been created with all new fresh documentation of every Pango script Command. The tool linked below allows you to read every command as well as see examples the script commands |
| - | | AddSMS | AddSMS "This is my demo message" | + | |
| - | | Angle | Angle 0,0,0 | X,Y,Z angles | + | |
| - | AngleDelta | + | Click the link below to review this tool which will open in a new window. |
| - | AngleDelta 0,0,0 // increment X,Y,Z angles | + | |
| - | AngleX | + | [[https://wiki.pangolin.com/ |
| - | AngleX 0 // degree | + | |
| - | AngleY | ||
| - | AngleY 0 // degree | ||
| - | AngleZ | ||
| - | AngleZ 0 // degree | ||
| - | AnimateProp | ||
| - | AnimateProp "", | ||
| - | AnimatePropDelta | ||
| - | AnimatePropDelta "", | ||
| - | AnimationSpeed | ||
| - | AnimationSpeed 100 // speed in %. Zero full stop. | ||
| - | AnimationSpeedDelta | ||
| - | AnimationSpeedDelta 0 | ||
| - | AudioBeat | + | ---- |
| - | AudioBeat | + | |
| - | Autostart | ||
| - | AutoStart | ||
| - | BeatResync | + | Information below is being rewritten |
| - | BeatResync | + | |
| - | BeatTap | + | < |
| - | BeatTap | + | |
| - | BlackOut | + | ==== Intro ==== |
| - | BlackOut | + | |
| - | Brightness | ||
| - | Brightness 100 // 0..100 (percents) | ||
| - | BrightnessDelta | + | Currently, the main purpose of " |
| - | BrightnessDelta 0 | + | |
| - | CaptureToClipboard | ||
| - | CaptureToClipboard | ||
| - | ChannelOut | + | ==== Numbers ==== |
| - | ChannelOut 1, 1000 // set first channel to 1000 (max value) | + | |
| - | ClickFXStopAll | + | Supported float point , integer and hexadecimal numbers. As example: |
| - | ClickFXStopAll | + | 100 |
| + | -20 | ||
| + | 1.01 | ||
| + | 0xBF | ||
| + | All hexadecimal numbers much have 0x prefix, similar to C language, but without ending H | ||
| - | ClickFXTabMode | + | There is not strict separation on integer and float point numbers. |
| - | ClickFXTabMode 1 // 1-Master, 2-Cue, 3-Zone, 4-ProTrack | + | |
| - | ClickFlash | + | Separator between command parameter could be space (" " |
| - | ClickFlash | + | |
| - | ClickFxVlj | ||
| - | ClickFxVlj 1 // Toggle first FX-VLJ | ||
| - | ClickLCTabMode | + | ==== Special characters (separators) ==== |
| - | ClickLCTabMode 1 // 1-Master, 2-Cue, 3-Zone, 4-ProTrack | + | |
| - | ClickLive | ||
| - | ClickLive | ||
| - | ClickLockSize | + | ' |
| - | ClickLockSize 1 //0,1,2 Off, On, toggle | + | ' |
| - | ClickRestart | ||
| - | ClickRestart | ||
| - | ClickScrollA | ||
| - | ClickScrollA -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | ||
| - | ClickScrollAniSpeed | + | ==== Predefined constants ==== |
| - | ClickScrollAniSpeed -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickScrollB | ||
| - | ClickScrollB -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | ||
| - | ClickScrollColor | + | There are a few constants mostly for readability of the code. Each constant will be transformed to a number |
| - | ClickScrollColor | + | TRUE - numeric analog 1 |
| + | FALSE - numeric analog 0 | ||
| + | ANY equal to numeric | ||
| + | OFF equal to numeric 0 | ||
| + | ON equal to numeric | ||
| + | TOGGLE equal to numeric 2 | ||
| + | AsIs equal to -2. | ||
| + | This is required for commands like " | ||
| - | ClickScrollFade | + | A few examples of using commands: |
| - | ClickScrollFade -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| + | MasterPause Toggle | ||
| + | WaitForMidi 0x90, 10, Any | ||
| - | ClickScrollG | + | ==== Math operations (expressions) ==== |
| - | ClickScrollG -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickScrollHue | ||
| - | ClickScrollHue -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | ||
| - | ClickScrollHueShift | ||
| - | ClickScrollHueShift -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | ||
| - | ClickScrollR | + | Standard: + |
| - | ClickScrollR | + | Inversion: ! |
| + | bit OR: | | ||
| + | bit AND: & | ||
| + | bit XOR: ^ | ||
| + | bit right shift: >> | ||
| + | bit left shift: << | ||
| - | ClickScrollSaturation | ||
| - | ClickScrollSaturation -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | ||
| - | ClickScrollScanRate | + | ==== Operators ==== |
| - | ClickScrollScanRate -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickScrollSize | + | |
| - | ClickScrollSize -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickScrollVPoints | + | IF operator. |
| - | ClickScrollVPoints -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickScrollZoom | + | Syntax: if ( expression ) operator |
| - | ClickScrollZoom -5 // scroll speed, recommended -5..-1, or 1..5. Zero will stop. | + | |
| - | ClickSelect | + | expression - covered with brackets. Must be an expression with |
| - | ClickSelect | + | numerical result that gives " |
| + | variable it's possible to write " | ||
| - | ClickSoloFlash | + | Compare operators are: ">" |
| - | ClickSoloFlash | + | |
| - | ClickTCTabMode | + | You can combine comparing operations with "&" |
| - | ClickTCTabMode 1 // 1-Master, | + | |
| - | ClickToggle | + | operator will be executed if condition gets non-zero result. If you want to place other operator after " |
| - | ClickToggle | + | |
| - | ClickTrack | + | === GOTO operator === |
| - | ClickTrack | + | |
| - | CloseUmax | ||
| - | CloseUmax | ||
| - | CodeColorMarker | + | Syntax: |
| - | CodeColorMarker 0x00FF00 // green color marker | + | |
| - | CodeName | + | "label" |
| - | CodeName | + | |
| - | CodeShortcut | + | mylabel: WaitForBeat 4 |
| - | CodeShortcut " | + | ... do something... |
| + | goto mylabel | ||
| - | ColorBGR | ||
| - | ColorBGR 0x0000FF // blue color | ||
| - | ColorOn | + | Operator GOTO can work with the labels inside the string variables. It means that you declare string variable, assign a label name to variable, and then you a variable in GOTO. |
| - | ColorOn 1// 1-enabled, 0-disabled | + | Example: |
| - | ColorRGB | + | var s |
| - | ColorRGB 0x0000FF // red color, | + | s=" |
| + | goto s | ||
| - | ColorSlider | + | DisplayPopup "It does not work" |
| - | ColorSlider 0 // 0..255 | + | exit |
| - | ColorSliderDelta | + | mylabel: |
| - | ColorSliderDelta 0 | + | DisplayPopup "It works" |
| - | ControlCue | ||
| - | ControlCue 1,1 | ||
| - | ControlFromFxTab | ||
| - | ControlFromFxTab | ||
| - | ControlFromLcTab | ||
| - | ControlFromLcTab | ||
| - | ControlFromTcTab | + | === VAR operator === |
| - | ControlFromTcTab | + | |
| - | ControlFromUI | ||
| - | ControlFromUI | ||
| - | ControlMaster | + | PangoScript allow define local variables. The lifetime for the local variable defined by lifetime of the Scripter that execute PangoScript. As soon as the Scripter freed, all its local variables are removed as well. |
| - | ControlMaster | + | |
| - | ControlProTrack | + | All variables must be declared before the using. No need to specify the type of variable. The variable automatically adjust the type depending on value. Internally supported integer, float and string variables. |
| - | ControlProTrack 1 | + | The declaration start from VAR operation and the follow one or more variable names. As example: |
| - | ControlProjector | + | var MyVariable |
| - | ControlProjector 1 | + | var a,b,c |
| - | ControlSelCues | + | Before using the variable must be initialized by some value. Otherwise BEYOND will generate error and stop script execution. Example: |
| - | ControlSelCues | + | var MyInteger, MyString |
| + | MyInteger = 10 | ||
| + | MyString = " | ||
| - | ControlSelProTracks | + | All variables declared as VAR are local. |
| - | ControlSelProTracks | + | |
| - | ControlSelZones | ||
| - | ControlSelZones | ||
| - | ControlZone | + | GLOBALVAR operator |
| - | ControlZone 1 // name as "Main Graphics" | + | The variable can be declared |
| - | CueDown | ||
| - | CueDown 1,1 // page 1..100, cue 1..100 | ||
| - | CueUp | ||
| - | CueUp 1,1 // page 1..100, cue 1..100 | ||
| - | DecreaseTrigger | ||
| - | DecreaseTrigger 0, | ||
| - | DefineDmxTrigger | + | ==== General functions ==== |
| - | DefineDmxTrigger 1 // Channel | + | |
| - | DefineMidiTrigger | ||
| - | DefineMidiTrigger 0xC0, 0x00 // MIDI Cmmand, MIDI Data 1, Trigger Name (optional), MIDI Dev index from 0 to 3 (optional), but default - any | ||
| - | DefineTcTrigger | + | intstr(value: |
| - | DefineTCTrigger "TC Test"// | + | value - number or float number |
| + | result - string | ||
| - | DefineTrigger | + | floatstr(value: |
| - | DefineTrigger " | + | value - number |
| + | result - string | ||
| - | DeletePropAni | + | abs(value: |
| - | DeletePropAni // " | + | value - integer or float number |
| + | result - same type as argument. result is absolute value | ||
| - | DisableLaserOutput | + | int(value: |
| - | DisableLaserOutput | + | value - a float point number |
| - | DisplayPopup | + | frac(value: |
| - | DisplayPopup "Hello world!" | + | value - float |
| - | DisplayPopupOnTop | + | round(value: |
| - | DisplayPopupOnTop "Hello world!" | + | value - a float point number |
| - | DisplayPreview | + | sqr(value: |
| - | DisplayPreview "Hello world!", | + | value - a float point number or integer |
| - | DmxInMute | + | sqrt(value: |
| - | DmxInMute 1, 255 // Channel index, 0 or 1; or ChannelIndex | + | value - a float point number |
| - | DmxOut | + | cos(value:float):float - co-sinus |
| - | DmxOut 1, 255 // set first DMX OUT channel to 255 (max value) | + | value - a float point number or integer. angle in radians |
| - | DmxOutRange | + | sin(value: float): |
| - | DmxOutRange 1, 255 // set first DMX OUT channel | + | value - a float point number or integer. angle in radians |
| - | DropFX | + | tan(value: |
| - | DropFX 1,1, 1000 // Layer, Index, duration ms | + | value - a float point number or integer. angle in radians |
| - | Echo | + | arcsin(value: |
| - | Echo 2 // 0-none, 1-ok/error, 2-echo of input plus ok/error | + | value - a float point number or integer. angle in radians |
| - | EnableDmxIn | + | arccos(value: |
| - | EnableDmxIn Toggle | + | value - a float point number or integer. angle in radians |
| - | EnableFb3StyleDmxIn | + | arctan(value: float):float - arc tangents |
| - | EnableFb3StyleDmxIn 1 // On(1), Off(0), Toggle(2) | + | value - a float point number or integer. angle in radians |
| - | EnableLaserOutput | + | arctan2(dx, dy: |
| - | EnableLaserOutput | + | dx, dy - .... |
| - | ExecCmd | + | min(a, |
| - | ExecCmd " | + | a,b float or integer |
| + | |||
| + | max(a, | ||
| + | a,b float or integer | ||
| - | Exit | + | pi:float - return PI value - 3.1415926... |
| - | Exit | + | |
| - | ExitBEYOND | + | invert(value: |
| - | ExitBEYOND // Exit from BEYOND | + | |
| - | FX | + | ==== Date and Time ==== |
| - | FX 0,0,0,0 // One or more layers. 0 stop. Effect 1..100 | + | |
| - | FXAction | ||
| - | FXAction 100, | ||
| - | FXCellClick | + | now:float - date& |
| - | FXCellClick 1,1 | + | |
| - | FXCellDown | + | tickcount: integer - return |
| - | FXCellDown 1, 1 // Layer number: 1..4, Effect number | + | |
| - | FXClick | + | hms(hour, minute, second): |
| - | FXClick 1,1 | + | |
| - | FXScroll | + | GetYear: |
| - | FXScroll 1 | + | |
| - | FXScrollDelta | + | GetMonth: |
| - | FXScrollDelta 8 | + | |
| - | FXTimeScaleAx | + | GetDay: |
| - | FXTimeScaleAx 1,2,1 // Layer, Mask (1,2,3), multiplier | + | |
| - | FXTimeScaleAxReset | + | timestr(now: |
| - | FXTimeScaleAxReset 1,2 // Layer, Mask (1,2,3) | + | now - is variable representing time. Function return string with time in short format such as " |
| - | FXTimeScaleDeltaAx | + | timestrlong(now: |
| - | FXTimeScaleDeltaAx 1,2,1 // Layer, Mask (1,2,3), increment value | + | now - is variable representing time. Function return string with hours, minutes, seconds, such as " |
| - | FXTimeSync | + | datestr(now: |
| - | FXTimeSync 1,1 // Layer, Source | + | now - is variable representing date. Function return string short date format such as " |
| - | FocusCell | + | datestrlong(now:float):string - ������� ������ ����, ���� - |
| - | FocusCell 1,1 // Column | + | now - is variable representing date. Function return string long date format such as "21 ������ 2012 �." |
| - | FocusCellIndex | + | dayofweek(now: |
| - | FocusCellIndex 1 // cell index, 1..60 | + | |
| - | FocusProTrack | + | dayofweeklong(now: |
| - | FocusProTrack 1 // Track index/name | + | |
| - | FocusProjector | + | ==== String functions ==== |
| - | FocusProjector 1 // Projector index, 1..N. | + | |
| - | FocusZone | ||
| - | FocusZone 1 // zone index, 1..N. | ||
| - | GetFxControl | + | uppercase(string): |
| - | GetFxControl | + | |
| - | GetLiveControl | + | lowercase(string: |
| - | GetLiveControl | + | |
| - | GetPage | + | crlf:string - return a string, line separator (13,10) |
| - | GetPage | + | |
| - | GetTimeControl | ||
| - | GetPage | ||
| - | GoGridMode | ||
| - | GoGridMode | ||
| - | GoPlayListMode | + | ==== Clock And Metronome ==== |
| - | GoPlayListMode | + | |
| - | GoTimelineMode | ||
| - | GoTimelineMode | ||
| - | GoUniverseMode | + | b2s(beats) - transform beats to seconds |
| - | GoUniverseMode | + | |
| - | GroupCue | + | b2ms(beats) - transform beats to milliseconds |
| - | GroupCue | + | |
| - | Hello | + | s2b(seconds) - transform seconds to beats |
| - | hello // answer will be Hello! | + | |
| - | HoldClick | + | b2s(seconds) - transform beats to seconds |
| - | HoldClick ON | + | |
| - | HtmlBody | ||
| - | HtmlBody | ||
| - | HtmlClearBody | + | ==== Functions ==== |
| - | HtmlClearBody | + | |
| - | HtmlClearHead | ||
| - | HtmlClearHead | ||
| - | HtmlHead | + | There are a few functions for access of incoming data |
| - | HtmlHead | + | |
| - | HtmlHide | + | Dmx ( Channel, OutputMin, OutputMax ) |
| - | HtmlHide | + | Parameters: |
| + | Channel - index of DMX channel, acceptable value from 1 to 2048 | ||
| + | OutputMin, OutputMax - defines the range resulting value of the function. Oupout value will start from OutputMin and increase up to OutputMax | ||
| + | result | ||
| - | HtmlUpdate | + | Example: |
| - | HtmlUpdate | + | |
| - | Hue | + | in this example we use Position command that has 3 arguments - X,Y,Z and we use DMX IN values (three channels, 10,11,12), and map the values range -100 to +100. |
| - | Hue 0 | + | |
| - | HueDelta | + | Dmx ( Channel |
| - | HueDelta 0 | + | or |
| + | Dmx( Channel, OutputMin, OutputMax) | ||
| + | Parameters: | ||
| + | Channel - index of DMX channel, acceptable value from 1 to 2048 | ||
| + | Result of the function is value of DMX channel as it is, without anr range adjustments | ||
| - | HueShift | + | OutputMin, OutputMax - defines the range resulting value of the function. Output value will start from OutputMin and increase up to OutputMax. Internally channels are normalized to 0...1 range |
| - | HueShift | + | result |
| + | Example: | ||
| + | DisplayPopup Dmx(10) // display the value of 10th DMX channel. | ||
| - | HueShiftDelta | + | Note: version with min/max used for simplification of use of function in operators where you may need to transform DMX value range (0..255) to some other range. As example Size operator, you may want to use size range like 0...100, or 10...100, or -100..100. |
| - | HueShiftDelta | + | |
| - | InRangeTrigger | + | Channel ( Channel, OutputMin, OutputMax ) |
| - | InRangeTrigger 0,100," | + | or |
| + | Channel( Channel ) | ||
| - | InRangeTriggerCmd | + | Parameters: |
| - | InRangeTriggerCmd 0,100," | + | Channel - index of Channel, acceptable value from 1 to 255 |
| + | OutputMin, OutputMax - defines the range resulting value of the function. Output value will start from OutputMin and increase up to OutputMax. Internally channels are normalized to 0...1 range | ||
| + | result | ||
| - | IncreaseTrigger | + | If function has one argument then result is normalized channel value (range from 0 to 1) |
| - | IncreaseTrigger | + | |
| - | InvertPlayersTime | + | Example: |
| - | InvertPlayersTime | + | Size Channel(10, 5, 100), ChannelIn(10, |
| - | InvertProTrackTime | + | in this example we use Size command that has 3 arguments - X, Y,Z and we use Channel 10 value for all 3 axis. |
| - | InvertProTrackTime | + | |
| - | InvertRotationX | + | Channel ( Channel ) |
| - | InvertRotationX | + | Parameters: |
| + | Channel - index of Channel, acceptable value from 1 to 255 | ||
| + | Result of the function is channel value. Channel value is normalized, the range from 0 to 1. | ||
| - | InvertRotationY | ||
| - | InvertRotationY | ||
| - | InvertRotationZ | + | CC (Channel, Controller, OutputMin, OutputMax) |
| - | InvertRotationZ | + | Get a value of of MIDI controller. BEYOND memorize all values of incoming MIDI controllers (Contrl Change Message) and you can get an access to it. |
| + | Channel - value 0..15 | ||
| + | Controller - value 0..127. Thsi is Data1 in MIDI messages | ||
| + | OutputMin, OutputMax - defines the range resulting value. Result | ||
| - | LessThanTrigger | ||
| - | LessThanTrigger 0," | ||
| - | LinePerCycle | + | ExtValue( OutputMin, OutputMax ) |
| - | LinePerCycle 24 | + | There are a few pretty big tables of code-sources. A tables such as DMX, ArtNet, ControlChange, |
| + | PositionIndex 1, ExtValue(-100, | ||
| + | In this example PositionIndex is a live control command, see below. 1 is index of axis. And finally ExtValue() is a fuction that take DMX channel value in map to rangle -100 to 100. | ||
| - | LoadCue | + | ExtDelta( Delta ) |
| - | LoadCue " | + | Function equal to ExtValue but made specially for MIDI encoders. There are many controlled with wheels and knobs that generate Control Change message and the data2 value is 00 or 7F. That is all, no values in between. For such cases has a sense to use "delta" version of commands and ExtDelta() for getting exact value of delta. Function return -Delta or +Delta. Only two values, no exceptions. Example of use |
| - | LoadCueFromBlob | + | PositionDelta 0, ExtDelta(1), |
| - | < | + | |
| - | LoadPlaylist | + | another example: |
| - | LoadPlaylist "c:\MyPlaylist.BeyondSL" | + | |
| - | LoadWorkspace | + | AngleDelta 0,0, ExtDelta(45) |
| - | LoadWorkspace " | + | |
| - | LoadZoneFromBlob | + | Random( MaxValue ) |
| - | < | + | Function return random value in range 0..MaxValue. Note, MaxValue included into the range |
| - | MakeSecuredFile | + | RandomIn( MinValue, MaxValue ) |
| - | MakeSecuredFile "Input file name", " | + | Functino return random value in range MinValue..MaxValue |
| - | ManualBeat | + | Param( ParamIndex ) - newer name of OscParam() function. It get the value of parameter supplied into the script. See commend about OscParam() |
| - | ManualBeat | + | |
| - | MasterAudioVolume | + | OscParam( ParamIndex ) |
| - | MasterAudioVolume 100 // in percents | + | Specialy designed for use in "OSC to CODE" table.. When BEYOND receive OSC message and supply it into interpreter to execution, then we can supply up to 10 parameters with OSC message. BEYOND put them into local array, and you may use it inside the Code. Note, data is there only during execution of current script. As soon we exit from execution of this script, data will be lost. OK, parameter index is from 1 up to 10. BEYOND check how many parameters the OSC message has, and if you will try to access non existing paramater then script will stop with error. So, if OSC message has 3 parameters, then you can use index from 1 to 3. Accepts f, i, and s type of OSC parameters. You can freely mix float and integer. |
| - | MasterAudioVolumeMute | + | ParamRange( MinValue, MaxValue) function return TRUE (1) if the first parameter inside the specified range. |
| - | MasterAudioVolumeMute 1 // On(1), Off(0), Toggle(2) | + | |
| - | MasterClockShift | + | ParamRange(ParamIndex, |
| - | MasterClockShift 0 // in seconds | + | |
| - | MasterCueLcSpeed | + | GetTransitionName( index ) |
| - | MasterCueLcSpeed 100 // in percents | + | function return string, the name of transition. Index is number of transition. Range 0..23 |
| - | MasterCueSpeed | + | BeatTime |
| - | MasterCueSpeed 100 // in percents | + | Function has no arguments. The result of function is float point number. Integer part of function is number of beat from the start of BEYOND. The fractional part is progress inside the beat. |
| - | MasterEffectClockShift | + | GetMidiDeviceIndex |
| - | MasterEffectClockShift 0 // in seconds | + | function return currently selected MIDI Device pair, Value range 1..4. |
| - | MasterEffectMetroShift | + | ObjectExists( AObjectName ) - function get object name a s string and return 1 if object exists, or zero if object is not found. |
| - | MasterEffectMetroShift 0 // in beats | + | |
| - | MasterFXSpeed | ||
| - | MasterFXSpeed 100 // in percents | ||
| - | MasterLCSpeed | + | ==== Timecode input ==== |
| - | MasterLCSpeed 100 // in percents | + | |
| - | MasterMetroShift | ||
| - | MasterMetroShift 0 // in beats | ||
| - | MasterPause | + | GetTimeCode - return latest timecode value as a float point value, value in seconds |
| - | MasterPause Toggle //ON, OFF, TOGGLE | + | |
| - | MasterPauseTime | + | GetTimeCodeTick - return the tick when the last timecode value arrived. Use function GetTick for getting the current tick value. |
| - | MasterPauseTime 1000 // time in milliseconds | + | |
| - | MasterShowBrightness | + | ==== Cue related functions ==== |
| - | MasterShowBrightness 100 // in percents | + | |
| - | MasterShowSpeed | ||
| - | MasterShowSpeed 100 // in percents | ||
| - | MasterSpeed | + | CuePlaying( PageIndex, CueIndex) - function return 1 if cue is currently playing in the Grid, otherwise return 0. Indexing of page and cue starts from 1. |
| - | MasterSpeed | + | Example: CuePlaying(1, |
| - | MasterTransition | + | CueEmpty(PageIndex, |
| - | MasterTransition ON | + | |
| - | MasterTransitionIndex | + | GetCueCaptionColor(PageIndex, |
| - | MasterTransitionIndex 2 | + | |
| - | MasterTransitionTime | ||
| - | MasterTransitionTime 0.1 | ||
| - | MasterZoneFxSpeed | + | ==== Misc ==== |
| - | MasterZoneFxSpeed 100 // in percents | + | |
| - | MeshCurve | ||
| - | MeshCurve 1,2,3 // quad-spline between point 1,2 and 3 | ||
| - | MeshPoint | + | GetBeyondBuild |
| - | MeshPoint | + | |
| - | MeshPointChan | + | GetMidiDeviveIndex - return current MIDI device index associated with this script. BEYOND can use 4 MIDI devices. By default script associated with 1st device. There is a command for change device index. This function allows to check current association. Indexing from 1. |
| - | MeshPointChan | + | |
| - | MeshPolygon | + | GetMidiDeviceLayer - return current layer of MIDI device mapping. |
| - | MeshPolygon | + | |
| - | MeshRect | + | ==== User Interface ==== |
| - | MeshRect 1, | + | |
| - | MeshSpline | ||
| - | MeshSpline 1,2,3,4 // cubic-spline based on 4 points. 1,4 bases, 2,3 " | ||
| - | MeshTriangle | + | GetLcTabMode: |
| - | MeshTriangle | + | Values are: |
| + | 1 - Master | ||
| + | 2 - Cue | ||
| + | 3 - Zone | ||
| + | 4 - ProTrack | ||
| - | MidiOut | + | GetTcTabMode: |
| - | MidiOut 0x90, 0x40, 0x7F | + | |
| - | MidiOutLong | + | GetFxTabMode: |
| - | MidiOutLong 0x90, 0x40, 0x7F | + | |
| - | MidiSysexAdd | + | GetGrid1Mode: |
| - | MidiSysexAdd | + | 0 - Select mode |
| + | 1 - Flash mode | ||
| + | 2 - FlashSolo mode | ||
| + | 3 - Toggle mode | ||
| + | 4 - Restart mode | ||
| + | 5 - ProTrack mode | ||
| - | MidiSysexSend | + | GetGrid2Mode: |
| - | MidiSysexSend // send prepared sysex buffer | + | |
| - | MidiSysexStart | ||
| - | MidiSysexStart | ||
| - | MoreThanTrigger | + | ==== Timeline mode functions ==== |
| - | MoreThanTrigger 0," | + | |
| - | MoveFocus | ||
| - | MoveFocus -1,0 // number of cells to go horizontally and vertically | ||
| - | MulFXMulAx | + | GetTimelinePos:float - function return time position of current timeline. Value in seconds. Fractional part contain millisecond part. |
| - | MulFXMulAx 1, 3, 1 // Multiply multiplier... | + | |
| - | MultiCue | + | GetTimelineDuration: |
| - | MultiCue | + | |
| - | MuteAllProTracks | + | GetTimelineOnline: |
| - | MuteAllProTracks | + | |
| - | MuteProTrack | + | GetTImelinePlaying: |
| - | MuteProTrack | + | |
| - | MuteSelected | + | GetTimlineTabIndex: |
| - | MuteSelected | + | |
| - | MuteSelectedZones | + | GetTimelineTabName: |
| - | MuteSelectedZones OFF // ON, OFF, TOGGLE | + | |
| - | MuteZone | ||
| - | MuteZone 0 // index(es) or name(s) | ||
| - | MuteZonesOfProjector | ||
| - | MuteZonesOfProjector 1 // projector index, 1..N. | ||
| - | OneCue | + | ==== FX and Live Control commands ==== |
| - | OneCue // one cue per workspace | + | |
| - | OnePer | ||
| - | OnePer // one cue per projectoin zone | ||
| - | OscOut | + | The Destination |
| - | OscOut "/ | + | |
| - | OscOutTTS | + | A few words about commands of BEYOND. Each command of BEYOND has information about: |
| - | OscOutTTS "","" | + | Sender - who initiated the command |
| + | Server - who is recipient | ||
| + | Server index - index of server, of there are many such servers. As example - Projection Zone | ||
| + | Command - the command itself | ||
| + | Arguments | ||
| - | OutOfRangeTrigger | + | Lets consider example. We want to set the size of second projection zone to 50%. In this case, command will have such values |
| - | OutOfRangeTrigger 0,100," | + | Sender - BEYOND set it automatically, no worry about |
| + | Server - Zone | ||
| + | Server index - 2 | ||
| + | Command - Size | ||
| + | Arguments - 50,50,50 | ||
| - | OutOfRangeTriggerCmd | + | For the script, to make a complex command that include all fields is not practical. Because the process has two parts. The first part - you define the destination. By default it is Master. The second part is a Command |
| - | OutOfRangeTriggerCmd 0, | + | |
| - | Password | ||
| - | password "enter pasword here" | ||
| - | PasteToCue | ||
| - | PasteToCue | ||
| - | PauseCue | + | ==== WaitFor command group ==== |
| - | PauseCue 1,1, TOGGLE // page, cue, action (ON, OFF, TOGGLE) | + | |
| - | PlayListFirst | ||
| - | PlayListFirst | ||
| - | PlayListLast | + | Sleep Time |
| - | PlayListLast | + | Parameters: Time measured in milliseconds |
| + | Purpose: Allow to pause execution to defined time | ||
| + | Example 1: Sleep 100 // this will cause pause in execution on 1/10 of a second. | ||
| + | Example 2: | ||
| + | MidiOut 0x90, 0x40, 0x7F | ||
| + | Sleep(500); | ||
| + | MidiOut 0x90, 0x40, 0x00 | ||
| + | Sleep(500); | ||
| + | Restart | ||
| - | PlayListNext | ||
| - | PlayListNext | ||
| - | PlayListPlay | ||
| - | PlayListPlay | ||
| - | PlayListPrev | ||
| - | PlayListPrev | ||
| - | PlayListSetPos | + | ==== Timeline control ==== |
| - | PlayListSetPos 1 | + | |
| - | PlayListSetTime | ||
| - | PlayListSetTime 0 | ||
| - | |||
| - | PlayListStop | ||
| - | PlayListStop | ||
| PlayTimeline | PlayTimeline | ||
| - | PlayTimeline | + | Start playback of current show in timeline editor |
| - | PlayersDisk | + | StopTimeline |
| - | PlayersDisk 1, 0.1 | + | Stop playback of current show in timeline editor |
| - | PlayersDiskShift | + | TimelineMarker |
| - | PlayersDiskShift 0.1 | + | Add timeline marker. There are 3 modifications |
| + | TimelineMarker (no arguments) - add marker at current position and current color | ||
| + | TimelineMarker Color - addmarker with specified color at current time position | ||
| + | TimelineMarker Color, Time - add marker with specified color at specified time | ||
| + | Time - time in seconds, float point | ||
| + | Color - index, | ||
| - | PlayersResetJump | ||
| - | PlayersResetJump | ||
| - | PlayersSetJump | ||
| - | PlayersSetJump | ||
| - | PlayersSetLoop | ||
| - | PlayersSetLoop | ||
| - | Position | + | ==== Property Animation ==== |
| - | Position 0,0,0 // X,Y,Z position. | + | |
| - | PositionDelta | ||
| - | PositionDelta 0,0,0 // X,Y,Z | ||
| - | PositionIndex | + | Property animation designed for linear change of property from one state to another during some period of time. Technically, this is sort of micro script, but BEYOND does this job automatically. Internally BEYOND has internal list of the tasks for object property animation. The list is dynamic. The only way to create request for property animation |
| - | PositionIndex 1,0 // one axiz only: 1 is X, 2 is Y, 3 is Z. Second paramater | + | |
| - | PositionX | + | Note, the execution of property animation performed right after execution of all script by dedicated thread of BEYOND. The time resolution is ~ 40 " |
| - | PositionX 0 //-100..100 | + | |
| - | PositionY | + | AnimateProp PropertyName, |
| - | PositionY 0 //-100..100 | + | PropertyName |
| + | StartValue - number. Specify start value of the property during animation | ||
| + | FinishValue - number. Specify final value of the property during animation. | ||
| + | DurationMS - duration of animation in milliseconds | ||
| + | FinishEvent - optional parameter, string. Specify name of Event that will be activated at the end of animation. Action equal to call of PulseEvent() procedure. | ||
| - | PositionZ | + | Exmaple: |
| - | PositionZ | + | AnimapeProp " |
| + | // command change value of Master brightness from 100% to zero during 1000 ms (one second) | ||
| - | PreviewMaster | + | Example2 : |
| - | PreviewMaster | + | AnimapeProp " |
| + | // command change value of Master brightness from current value to zero during 500 ms (0.5 second) | ||
| - | PreviewNxN | ||
| - | PreviewNxN 1 // 1 - laser, 2 - 2x2, 3 - 3x3, 4 - 4x4 | ||
| - | ProTrackDisk | + | AnimatePropDelta PropertyName, |
| - | ProTrackDisk 1, 0.1 | + | PropertyName - string that contain complete name of object and its property. The property must be numeric. |
| + | TotalDelta- number. Specify how much will change the value of specified property | ||
| + | DurationMS - duration of animation in milliseconds | ||
| + | FinishEvent - optional parameter, string. Specify name of Event that will be activated at the end of animation. Action equal to call of PulseEvent() procedure. | ||
| - | ProTrackDiskShift | + | Example: |
| - | ProTrackDiskShift | + | AnimatePropDelta " |
| - | ProTrackResetJump | + | Example 2: |
| - | ProTrackResetJump | + | AnimatePropDelta " |
| - | ProTrackSetJump | + | DeletePropAni PropertyName, |
| - | ProTrackSetJump | + | Commamd delete existing animation-tasks from the pool. If no one parameter specified then command delete ALL tasks. Command can contain one or more names of properties. |
| + | PropertyName - string that contain complete name of object and its property. The property must be numeric. | ||
| - | ProTrackSetLoop | + | Example1: |
| - | ProTrackSetLoop | + | DeletePropAni |
| - | ProjectionZonesDialog | + | Example2: |
| - | ProjectionZonesDialog | + | DeletePropAni " |
| - | PulseEvent | + | Example3: |
| - | PulseEvent | + | DeletePropAni |
| - | QLog | ||
| - | QLog "My message to QLog tab" | ||
| - | RGBA | + | ==== MIDI Surface Layer (MSL) ==== |
| - | RGBA 255, | + | |
| - | RGBADelta | ||
| - | RGBADelta 0,0,0,0 | ||
| - | ReStartCell | + | BEYOND offer more functions that can be mapped to MIDI sliders/buttons of overage MIDI console has. The soluion is map a few function to one slider, and enable only one of them. For making this possible BEYOND intoduce conception of " |
| - | RestartCell | + | |
| - | ReStoreZoneSelection | + | MIDI Sufrace Layering allow connect multiple BEYOND features to one MIDI command (message). Layeing work with Main Grid, Secondary Grid, Sufrace Buttons, Surface Sliders, FX and Zone selection. Currently available 12 layers. Counting starts from 1 and up to 12. The function of BEYOND may belong to more than one layer. In this case this function stay active in all layers where it enabled. If the function of BEYOND is not enabled in current layer, then it will not react on assigned MIDI message, same as will not generate a feedback messages. |
| - | ReStoreZoneSelection | + | |
| - | RebootConnectedFB4 | + | Simplified Layer control. |
| - | RebootConnectedFB4 // If you need to use this command then please contact Pangolin (report@pangolin.com) and tell what is wrong with your FB4. Thanks. | + | |
| - | RefreshDmxIn | + | Each MIDI Mapping object has preperty Layer. When you write to this propetry then it change Layer of all tables. Such operation equal to using of 12 commands descrived below. |
| - | RefreshDmxIn // activate update | + | |
| - | RegisterOscFeedback | + | Example: |
| - | RegisterOscFeedback "/ | + | Midi1.Layer=1 |
| + | Midi2.Layer=10 | ||
| + | Midi3.Layer=5 | ||
| - | ResetCuesFX | ||
| - | ResetCuesFX | ||
| - | ResetFxTiming | + | Detailed control. |
| - | ResetFxTiming | + | |
| - | ResetLCTab | + | Each table has own Layer property that you can control independently. |
| - | ResetLCTab | + | |
| - | ResetLiveControl | ||
| - | ResetLiveControl | ||
| - | ResetMasterFX | ||
| - | ResetMasterFX | ||
| - | ResetMidiFeedback | + | ==== Triggers ==== |
| - | ResetMidiFeedback | + | |
| - | ResetOscFeedback | ||
| - | ResetOscFeedback | ||
| - | ResetPosition | + | " |
| - | ResetPosition | + | |
| - | ResetProTrackFX | + | The simplest and classic example is when DMX come into some range of values, and the fact that the value is in range now it create some reaction. If the is not the same as "if value is in range then we do something" |
| - | ResetProTrackFX | + | |
| - | ResetRotation | + | No doubt it is possible to make a trigger by means for " |
| - | ResetRotation | + | |
| - | ResetRotationX | ||
| - | ResetRotationX | ||
| - | ResetRotationY | + | Trigger definition commands |
| - | ResetRotationY | + | |
| - | ResetRotationZ | + | DefineDmxTrigger ChannelIndex - this command set the scripter into trigger mode, and define that trigger react on DMX channel number " |
| - | ResetRotationZ | + | |
| - | ResetZonesFX | + | DefineMidiTrigger Message, Data1 - this command set the scripter into trigger mode, and define that trigger react on MIDI message. You need to specify the message n |
| - | ResetZonesFX | + | |
| - | Restart | + | DefineTrigger String-Expression, |
| - | Restart | + | |
| - | RestartCue | + | The top level logic of these command is this. The most possible, the triggers will work with MIDI and DMX consoles. The trigger must be fix, and effective, because it will work on a high speed, because we have a trigger specially made for MIDI and DMX. BEYOND precalculate values and do it all in native code. But, not doubt will appear a need in some universal method, and in this case will help universal command DefineTrigger. This command work with expression, it is more slow because BEYOND need to calculate expression all the time, but it is very flexible, and work for all types of input data. You can use objects, variables, functions, expression and so on. It can work with Audio, Kinect or DMX, Universe or GamePad and any mix of this. So, for DefineTrigger we need to supply text of expression to trigger engine, and it is a string. |
| - | RestartCue 1,1 // page, cue | + | |
| - | RestorePlayer | ||
| - | RestorePlayer | ||
| - | ResyncByCueClick | + | Trigger range commands |
| - | ResyncByCueClick On // options: On, Off, Toggle | + | |
| - | RotoSpeed | + | Here a formal description of commands, examples and logic after that. |
| - | RotoSpeed 0,0,0 // rotation speed by X,Y,Z axis. degree. | + | |
| - | RotoSpeedDelta | + | InRangeTrigger MinValue, MaxValue, LabelName |
| - | RotoSpeedDelta 0,0,0 // increment of rotation speed. X,Y,Z axis. | + | The action will be activated when values comes in range between MinValue and MaxValue. When it happen the scripter does goto to LabelName |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | LabelName - string that contain label name | ||
| - | RotoSpeedX | + | InRangeTriggerCmd MinValue, MaxValue, Command |
| - | RotoSpeedX 0 // rotation speed, degree | + | The action will be activated when values comes in range between MinValue and MaxValue. When it happen the scripter execute Command. |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | Command- string that contain a PangoScript command | ||
| - | RotoSpeedY | ||
| - | RotoSpeedY 0 // rotation speed, degree | ||
| - | RotoSpeedZ | + | OutOfRangeTrigger MinValue, MaxValue, LabelName |
| - | RotoSpeedZ 0 // rotation speed, degree | + | The action will be activated when values comes out of range of MinValue and MaxValue. When it happen the scripter does goto to LabelName. |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | LabelName - string that contain label name | ||
| - | RunApp | + | OutOfRangeTriggerCmd MinValue, MaxValue, Command |
| - | RunApp " | + | The action will be activated when values goes out of range of MinValue and MaxValue. When it happen the scripter execute Command. |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | Command- string that contain a PangoScript command | ||
| - | Saturation | ||
| - | Saturation 0 | ||
| - | SaturationDelta | + | IncreaseTrigger MinValue, MaxValue, LabelName |
| - | SaturationDelta 0 | + | The action will be activated when value increase and stay in range of MinValue and MaxValue. When it happen the scripter does goto to LabelName. |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | LabelName - string that contain label name | ||
| - | ScanRate | ||
| - | ScanRate 100 | ||
| - | ScanRateDelta | + | DecreaseTrigger MinValue, MaxValue, LabelName |
| - | ScanRateDelta 0 | + | The action will be activated when value decrease and stay in range of MinValue and MaxValue. When it happen the scripter does goto to LabelName. |
| + | MinValue - number, a minimum value of the range | ||
| + | MaxValue - number, a maximum value of the range | ||
| + | LabelName - string that contain label name | ||
| - | SelectAllCat | + | About the logic |
| - | SelectAllCat | + | |
| - | SelectAndFocusZone | + | The most simple is InRangeTrigger command. When values comes in range, then something happen. We can define a few ranges, and when value comes into the range then something will happen. What will happen? We considered a few options, and appeared that in simplest case one simple command will be enough. I mean, Blackout, or EnableLaserOutput, |
| - | SelectAndFocusZone 1 // zone index, 1..N. | + | |
| - | SelectCat | + | There is inverted version of InRangeTrigger - OutOfRange trigger. The only different is goes to be activated when value goes out of range. All the rest is equal. There in Min and Max value, and there version of command for Command and for Label. |
| - | SelectCat 1 // category index, 1..N. | + | |
| - | SelectCatName | + | The third variation of trigger allow define |
| - | SelectCatName " | + | |
| - | SelectCue | + | No doubt, we can add more commands, add more functionality to trigger. The range oriented commands is a classic. The increase/decrease has a practical use too. |
| - | SelectCue " | + | |
| - | SelectFixt | + | Rule of 3 words: Type, Range, Interaction |
| - | SelectFixt 0 // index(es) | + | T - type of the trigger - DMX, or MIDI, or universal |
| + | R - range, | ||
| + | I - interaction, | ||
| - | SelectGrid | + | Example |
| - | SelectGrid | + | |
| - | SelectMidi | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SelectMidi 1 // select MIDI device pair, 1..4. | + | InRangeTriggerCmd 0, |
| + | InRangeTriggerCmd 64,127," | ||
| - | SelectNextCat | + | This trigger react in the MDI slider 0xB0, 0x00, and has values in range of 0..127. When slider in lower half the laser output will be disables, and when in higher half, then output will be disables. Now command bby comamnd: |
| - | SelectNextCat | + | |
| - | SelectNextCatGrid1 | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SelectNextCatGrid1 | + | DefineMidiTrigger |
| + | 0xB0, 0x00 - this is slider parameter | ||
| + | " | ||
| - | SelectNextPage | ||
| - | SelectNextPage | ||
| - | SelectNextPageGrid1 | + | InRangeTriggerCmd 0, |
| - | SelectNextPageGrid1 | + | InRangeTriggerCmd - command, define the range and command |
| + | 0,63 - the range | ||
| + | " | ||
| - | SelectNextTab | ||
| - | SelectNextTab | ||
| - | SelectNextTabGrid1 | + | InRangeTriggerCmd 64, |
| - | SelectNextTabGrid1 | + | InRangeTriggerCmd - command that define second range |
| + | 64,127 - second range | ||
| + | " | ||
| - | SelectPage | ||
| - | SelectPage 1 // tab index, 1..N. | ||
| - | SelectPageName | ||
| - | SelectPageName " | ||
| - | SelectPrevCat | + | Example 2: Same as example 1, but with goto |
| - | SelectPrevCat | + | |
| - | SelectPrevCatGrid1 | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SelectPrevCatGrid1 | + | InRangeTrigger 0,63, " |
| + | InRangeTrigger 64,127, " | ||
| + | exit // we need to exit because we should stop script execution after the declaration | ||
| - | SelectPrevPage | + | D1: // this is label used 1st range |
| - | SelectPrevPage | + | DisplayPreview " |
| + | DisableLaserOutput // Commamd | ||
| + | exit // we should stop script execution, otherwise it will do below | ||
| - | SelectPrevPageGrid1 | + | D2: // this is label used 2nd range |
| - | SelectPrevPageGrid1 | + | DisplayPreview " |
| + | EnableLaserOutput | ||
| + | exit // we should stop script execution. This is good practice to have it. | ||
| - | SelectPrevTab | + | Commentaries for this example. The script itself is bigger, and there are sections for definition and for corresponding scripts. There are two typical mistakes |
| - | SelectPrevTab | + | 1. Do not forger to put exit instruction |
| + | 2. Ensure that label name in code and in definition is the same. Otherwise, it will not work. Label is case sensitive. | ||
| - | SelectPrevTabGrid1 | + | And general advice - use DisplayPreview, |
| - | SelectPrevTabGrid1 | + | |
| - | SelectProTrack | ||
| - | SelectProTrack 1 // index(es) (1..N) or name(string). Can be used more than one argument | ||
| - | SelectProjector | + | Example 3: Slider at first time do Enable Laser, and and second time Disable Laser |
| - | SelectProjector 1 // index(es) (1..N) or name(string). Can be used more than one argument | + | |
| - | SelectTab | + | This code based on previous, but it use variable. Variable organize a |
| - | SelectTab 1 // tab index, 1..N. | + | |
| - | SelectTabName | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SelectTabName | + | InRangeTrigger 64, |
| + | var counter | ||
| + | counter=0 // initialize variable | ||
| + | exit | ||
| - | SelectZone | ||
| - | SelectZone 1 // zone index, 1..N. | ||
| - | SelectZoneName | + | Trick1: |
| - | SelectZoneName "Main Graphics" | + | DisplayPreview Counter |
| + | if (Counter=0) EnableLaserOutput | ||
| + | if (Counter=1) DisableLaserOutput // action when Count is 1 | ||
| + | Counter=(Counter+1) % 2 // increment counter and divide by modulus 2, so, it will be 0,1,0,1,0,1 and so on | ||
| + | exit // stop this section | ||
| - | SetActiveGrid | ||
| - | SetActiveGrid 1 // or 2 | ||
| - | SetAttractionSlider | + | Example 4: The same as example 4, but with Goto |
| - | SetAttractionSlider 10 | + | |
| - | SetAudioGain | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SetAudioGain 10 // 1..15 | + | InRangeTrigger 64,127, " |
| + | var counter | ||
| + | counter=1 | ||
| + | exit | ||
| - | SetAudioInGain | + | Trick1: |
| - | SetAudioInGain 10 // 1 is min, 15 is max, 10 default | + | DisplayPreview Counter |
| + | Counter=(Counter+1) % 2 | ||
| + | if (Counter=0) goto When0 | ||
| + | if (Counter=1) goto When1 | ||
| + | exit | ||
| - | SetAudioInRelease | + | When0: |
| - | SetAudioInRelease 75 // 1 is min, 99 is max (slowest) 75 is default | + | EnableLaserOutput |
| + | exit | ||
| - | SetAudioRelease | + | When1: |
| - | SetAudioRelease 75 // 1..99 | + | DisableLaserOutput |
| + | exit | ||
| - | SetBpm | + | Well, example, is similar, and show that you can use additional Goto instructions. |
| - | SetBpm 120 | + | |
| - | SetBpmDelta | + | Example 5 |
| - | SetBpmDelta 1 | + | |
| - | SetButtonMSL | + | What I want to demonstrate by this example - BEYOND does a goto when it execute a trigger. It means this. You can do goto by means of script command. But trigger engine use the same goto. Look a the code, comments below |
| - | SetButtonMSL 1 | + | |
| - | SetChannelToChannelRatio | ||
| - | SetChannelToChannelRatio 0 // 0..100 | ||
| - | SetCueCaptionColor | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | SetCueCaptionColor 1,2, 0x0000FF | + | InRangeTrigger 64,127, " |
| + | InRangeTrigger 0,63, " | ||
| + | exit | ||
| - | SetDmxEditorChannel | ||
| - | SetDmxEditorChannel 1, 128 | ||
| - | SetDmxToChannelRatio | + | Trick1: |
| - | SetDmxToChannelRatio 0 // 0..100 | + | DisplayPopup |
| - | + | ||
| - | SetEffectChannelAction | + | |
| - | SetEffectChannelAction 0 //0..100 | + | |
| - | + | ||
| - | SetFFTToChannelRatio | + | |
| - | SetFFTToChannelRatio 0 // 0..100 | + | |
| - | + | ||
| - | SetFX | + | |
| - | SetFX 1, 1 // Layer number: 1..4, Effect index: 1..100 | + | |
| - | + | ||
| - | SetFX1MSL | + | |
| - | SetFX1MSL 1 | + | |
| - | + | ||
| - | SetFX2MSL | + | |
| - | SetFX2MSL 1 | + | |
| - | + | ||
| - | SetFX3MSL | + | |
| - | SetFX3MSL 1 | + | |
| - | + | ||
| - | SetFX4MSL | + | |
| - | SetFX4MSL 1 | + | |
| - | + | ||
| - | SetFX5MSL | + | |
| - | SetFX5MSL 1 | + | |
| - | + | ||
| - | SetFX6MSL | + | |
| - | SetFX6MSL 1 | + | |
| - | + | ||
| - | SetFXAction | + | |
| - | SetFXAction 1, 100 // Layer number: 1..4, Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction1 | + | |
| - | SetFXAction1 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction2 | + | |
| - | SetFXAction2 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction3 | + | |
| - | SetFXAction3 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction4 | + | |
| - | SetFXAction4 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction5 | + | |
| - | SetFXAction5 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction6 | + | |
| - | SetFXAction6 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction7 | + | |
| - | SetFXAction7 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXAction8 | + | |
| - | SetFXAction8 100 // Action 0..100 percent | + | |
| - | + | ||
| - | SetFXMul | + | |
| - | SetFXMul 1, 1,1 // Layer number: 1..4, Multiplier 1 - default value for clock and metronome | + | |
| - | + | ||
| - | SetFXMulAx | + | |
| - | SetFXMulAx 1, 3, 1 // Layer number: 1..4, Mask (1 is clock, 2 is beat, 3 is clock and beat), Value of multiplier | + | |
| - | + | ||
| - | SetFXMute | + | |
| - | SetFXMute 1, 0 // Layer number: 1..4, 0-Off, 1-On, 2-Toggle | + | |
| - | + | ||
| - | SetFrictionSlider | + | |
| - | SetFrictionSlider 10 | + | |
| - | + | ||
| - | SetGrid1MSL | + | |
| - | SetGrid1MSL 1 | + | |
| - | + | ||
| - | SetGrid1Page | + | |
| - | SetGrid1Page 1 | + | |
| - | + | ||
| - | SetGrid2MSL | + | |
| - | SetGrid2MSL 1 | + | |
| - | + | ||
| - | SetGrid2Page | + | |
| - | SetGrid2Page 1 | + | |
| - | + | ||
| - | SetGridSize | + | |
| - | SetGridSize 8,5 | + | |
| - | + | ||
| - | SetGridView | + | |
| - | SetGridView | + | |
| - | + | ||
| - | SetLimiterBeam | + | |
| - | SetLimiterBeam 5 | + | |
| - | + | ||
| - | SetLimiterDMX | + | |
| - | SetLimiterDMX 5 | + | |
| - | + | ||
| - | SetLimiterFlash | + | |
| - | SetLimiterFlash 4 | + | |
| - | + | ||
| - | SetLimiterHold | + | |
| - | SetLimiterHold 3 | + | |
| - | + | ||
| - | SetLimiterPerGrid | + | |
| - | SetLimiterPerGrid 10 | + | |
| - | + | ||
| - | SetLimiterPerZone | + | |
| - | SetLimiterPerZone 3 | + | |
| - | + | ||
| - | SetLimiterProfile | + | |
| - | SetLimiterProfile 1 | + | |
| - | + | ||
| - | SetLimiterShow | + | |
| - | SetLimiterShow 2 | + | |
| - | + | ||
| - | SetLocation | + | |
| - | SetLocation 1, 0,0,0 // set one of 256 positions/ | + | |
| - | + | ||
| - | SetMassSlider | + | |
| - | SetMassSlider 4 | + | |
| - | + | ||
| - | SetMidiLayer | + | |
| - | SetMidiLayer 1 // 1..8. | + | |
| - | + | ||
| - | SetPage | + | |
| - | SetPage 1 | + | |
| - | + | ||
| - | SetPhysicsCheckbox | + | |
| - | SetPhysicsCheckbox ON | + | |
| - | + | ||
| - | SetPlayListView | + | |
| - | SetPlayListView | + | |
| - | + | ||
| - | SetProTrackZones | + | |
| - | SetProTrackZones 1, 1 // Track index/name, Zone name(es)/ | + | |
| - | + | ||
| - | SetSliderMSL | + | |
| - | SetSliderMSL 1 | + | |
| - | + | ||
| - | SetTimelineView | + | |
| - | SetTimelineView | + | |
| - | + | ||
| - | SetTransitionIndex | + | |
| - | SetTransitionIndex 2 | + | |
| - | + | ||
| - | SetTransitionTime | + | |
| - | SetTransitionTime 0.1 | + | |
| - | + | ||
| - | SetUCenterPage | + | |
| - | SetUCenterPage 1 // set first page | + | |
| - | + | ||
| - | SetUEditPage | + | |
| - | SetUEditPage 1 // set first page | + | |
| - | + | ||
| - | SetUMaxPage | + | |
| - | SetUMaxPage 1 // set first page | + | |
| - | + | ||
| - | SetUPreviewPage | + | |
| - | SetUPreviewPage 1 // set first page | + | |
| - | + | ||
| - | SetURightPage | + | |
| - | SetURightPage 1 // set first page | + | |
| - | + | ||
| - | SetUToolPage | + | |
| - | SetUToolPage 1 // set first page | + | |
| - | + | ||
| - | SetUniverseView | + | |
| - | SetUniverseView | + | |
| - | + | ||
| - | SetVdjToChannelRatio | + | |
| - | SetVdjToChannelRatio 0 // 0..100 | + | |
| - | + | ||
| - | SetWorkspacePageCount | + | |
| - | < | + | |
| - | + | ||
| - | SetZoneMeshPointPos | + | |
| - | SetZoneMeshPointPos 1, 1,1, 0,0 // Zone index, X node index, Y node index, X coordinate (-32K..32K), | + | |
| - | + | ||
| - | SetZoneMuteMSL | + | |
| - | SetZoneMuteMSL 1 | + | |
| - | + | ||
| - | SetZoneSelMSL | + | |
| - | SetZoneSelMSL 1 | + | |
| - | + | ||
| - | ShiftFX | + | |
| - | ShiftFX 1, 1 // Layer 1..4, delta | + | |
| - | + | ||
| - | ShiftFocus | + | |
| - | ShiftFocus -5 // go back and forth on N cells | + | |
| - | + | ||
| - | ShowHint | + | |
| - | ShowHint | + | |
| - | + | ||
| - | ShowItNowSMS | + | |
| - | ShowIsNowSMS 1 | + | |
| - | + | ||
| - | ShowMasterHelpFile | + | |
| - | ShowMasterHelpFile | + | |
| - | + | ||
| - | ShutDownWindows | + | |
| - | ShutDownWindows // require ShutDownWindows.exe application | + | |
| - | + | ||
| - | Size | + | |
| - | Size 100,100,100 // Size X,Y,Z axis | + | |
| - | + | ||
| - | SizeDelta | + | |
| - | SizeDelta 0,0,0 // shift Size value | + | |
| - | + | ||
| - | SizeIndex | + | |
| - | SizeDelta 0,0 | + | |
| - | + | ||
| - | SizeX | + | |
| - | SizeX 100 | + | |
| - | + | ||
| - | SizeY | + | |
| - | SizeY 100 | + | |
| - | + | ||
| - | SizeZ | + | |
| - | SizeZ 100 | + | |
| - | + | ||
| - | Sleep | + | |
| Sleep 1000 | Sleep 1000 | ||
| + | DisplayPopup " | ||
| + | Sleep 1000 | ||
| + | goto Trick1 | ||
| - | SoloProTrack | + | StopIt: |
| - | SoloProTrack 1 // index(es) or name(s) | + | DisplayPopup |
| - | + | exit | |
| - | StartAudioRecord | + | |
| - | StartAudioRecord | + | |
| - | + | ||
| - | StartCell | + | |
| - | StartCell // start current cell | + | |
| - | + | ||
| - | StartCode | + | |
| - | StartCode " | + | |
| - | + | ||
| - | StartCue | + | |
| - | StartCue 1,1 | + | |
| - | + | ||
| - | StartPrevious | + | |
| - | StartPrevious // " | + | |
| - | + | ||
| - | StartTalkClient | + | |
| - | StartUdpTalkClient | + | |
| - | + | ||
| - | StartTalkServer | + | |
| - | StartUdpTalkServer | + | |
| - | + | ||
| - | StopAllAsync | + | |
| - | StopAllAsync 0.5 // duration in seconds | + | |
| - | + | ||
| - | StopAllNow | + | |
| - | StopAllNow // no arguments | + | |
| - | + | ||
| - | StopAllSync | + | |
| - | StopAllSync | + | |
| - | + | ||
| - | StopAudioRecord | + | |
| - | StopAudioRecord | + | |
| - | + | ||
| - | StopCell | + | |
| - | StopCell // stop current cell | + | |
| - | + | ||
| - | StopCode | + | |
| - | StopCode " | + | |
| - | + | ||
| - | StopCue | + | |
| - | StopCue 1,1 | + | |
| - | + | ||
| - | StopCueNow | + | |
| - | StopCueNow 1, 1 // page 1..100, cue 1..100 | + | |
| - | + | ||
| - | StopCueSync | + | |
| - | StopCueSync 1, 1, 0.5 // page 1..100, cue 1..60, time 0.. | + | |
| - | + | ||
| - | StopCueType | + | |
| - | StopCueType 255 //Mask: 1-Image, 2-Timeline, 4-DMX, 8-Sequence, 16-Beams, 32-Capture | + | |
| - | + | ||
| - | StopFX | + | |
| - | StopFX // One or more layers. 0 stop. Effect 1..100 | + | |
| - | + | ||
| - | StopFxCell | + | |
| - | StopFXCell // Layer index, optional Cell index (relative, take into account scrollbar) | + | |
| - | + | ||
| - | StopOnBlackout | + | |
| - | StopOnBlackout 1 | + | |
| - | + | ||
| - | StopProTrack | + | |
| - | StopProTrack 1 // index(es) (1..N) or name(string). Can be used more than one argument | + | |
| - | + | ||
| - | StopProTrackFX | + | |
| - | StopProTrackFX 1, 1 // Track index/name and FX line index(es). Counting from 1. If no arguments at all - stop all FX on all tracks | + | |
| - | + | ||
| - | StopTalkClient | + | |
| - | StopUdpTalkClient | + | |
| - | + | ||
| - | StopTalkServer | + | |
| - | StopUdpTalkServer | + | |
| - | + | ||
| - | StopTimeline | + | |
| - | StopTimeline | + | |
| - | + | ||
| - | StoreZoneSelection | + | |
| - | StoreZoneSelection | + | |
| - | + | ||
| - | StrobeSpeed | + | |
| - | StrobeSpeed 0.2 // period, flicker per second | + | |
| - | + | ||
| - | StrobeSpeedDelta | + | |
| - | StrobeSpeedDelta 0.1 // period, flicker per second | + | |
| - | + | ||
| - | SynchronizePlayerToBeat | + | |
| - | SynchronizePlayerToBeat On // options: On, Off, Toggle | + | |
| - | + | ||
| - | TapByCueClick | + | |
| - | TapByCueClick On // options: On,Off, Toggle | + | |
| - | + | ||
| - | TimelineAddMarker | + | |
| - | TimelineAddMarker | + | |
| - | + | ||
| - | TimelineEnableTC | + | |
| - | TimelineEnableTC | + | |
| - | + | ||
| - | TimelineFirstTab | + | |
| - | TimelineFirstTab | + | |
| - | + | ||
| - | TimelineJumpDelta | + | |
| - | TimelineJumpDelta 1 // one second | + | |
| - | + | ||
| - | TimelineJumpToEnd | + | |
| - | TimelineJumpToEnd | + | |
| - | + | ||
| - | TimelineJumpToStart | + | |
| - | TimelineJumpToStart | + | |
| - | + | ||
| - | TimelineLastTab | + | |
| - | TimelineLastTab | + | |
| - | + | ||
| - | TimelineMarker | + | |
| - | TimelineMarker | + | |
| - | + | ||
| - | TimelineNextEditPoint | + | |
| - | TimelineNextEditPoint | + | |
| - | + | ||
| - | TimelineNextMarker | + | |
| - | TimelineNextMarker | + | |
| - | + | ||
| - | TimelineNextTab | + | |
| - | TimelineNextTab | + | |
| - | + | ||
| - | TimelinePlay | + | |
| - | TimelinePlay | + | |
| - | + | ||
| - | TimelinePlayFromMarker | + | |
| - | TimelinePlayFromMarker | + | |
| - | + | ||
| - | TimelinePrevEditPoint | + | |
| - | TimelinePrevEditPoint | + | |
| - | + | ||
| - | TimelinePrevMarker | + | |
| - | TimelinePrevMarker | + | |
| - | + | ||
| - | TimelinePrevTab | + | |
| - | TimelinePrevTab | + | |
| - | + | ||
| - | TimelineQuickSave | + | |
| - | TimelineQuickSave | + | |
| - | + | ||
| - | TimelineSetPos | + | |
| - | TimelineSetPos 10 // jump to second 10 | + | |
| - | + | ||
| - | TimelineSetTabIndex | + | |
| - | TimelineSetTabIndex | + | |
| - | + | ||
| - | TimelineSetTabName | + | |
| - | TimelineSetTabName " | + | |
| - | + | ||
| - | TimelineSetViewRange | + | |
| - | TimelineSetViewRange 1,5 // from s to 5 second | + | |
| - | + | ||
| - | TimelineShiftViewRange | + | |
| - | TimelineShiftViewRange 1 // one second shift | + | |
| - | + | ||
| - | TimelineShowItNow | + | |
| - | TimelineShowItNow 1 // set online mode for timeline editor | + | |
| - | + | ||
| - | TimelineStop | + | |
| - | TimelineStop | + | |
| - | + | ||
| - | TimerBeat | + | |
| - | TimerBeat | + | |
| - | + | ||
| - | ToggleCell | + | |
| - | Toggle // start/stop current cell | + | |
| - | + | ||
| - | ToggleCue | + | |
| - | ToggleCue 1,1 | + | |
| - | + | ||
| - | ToggleFX | + | |
| - | ToggleFX 1 // Layer number: 1..4 | + | |
| - | + | ||
| - | ToggleMuteProTrack | + | |
| - | ToggleMuteProTrack 1 // index(es) or name(s) | + | |
| - | + | ||
| - | ToggleMuteZone | + | |
| - | ToggleMuteZone 0 // index(es) or name(s) | + | |
| - | + | ||
| - | ToggleMuteZoneOfProjector | + | |
| - | ToggleMuteZoneOfProjector 1 // 1st projector | + | |
| - | + | ||
| - | TogglePrevious | + | |
| - | TogglePrevious // " | + | |
| - | + | ||
| - | ToggleSelectFixt | + | |
| - | ToggleSelectFixt | + | |
| - | + | ||
| - | ToggleSelectProTrack | + | |
| - | ToggleSelectProTrack 1 // index(es) (1..N) or name(s) | + | |
| - | + | ||
| - | ToggleSelectProjector | + | |
| - | ToggleSelectProjector 1 // index(es) (1..N) or name(s) | + | |
| - | + | ||
| - | ToggleSelectZone | + | |
| - | ToggleSelectZone 1 // zone index, 1..N. | + | |
| - | + | ||
| - | ToggleSoloProTrack | + | |
| - | ToggleSoloProTrack 1 // index(es) or name(s) | + | |
| - | + | ||
| - | ToggleUCenterPage | + | |
| - | ToggleUCenterPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | ToggleUEditPage | + | |
| - | ToggleUEditPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | ToggleUMaxPage | + | |
| - | ToggleUMaxPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | ToggleUPreviewPage | + | |
| - | ToggleUPreviewPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | ToggleURightPage | + | |
| - | ToggleURightPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | ToggleUToolPage | + | |
| - | ToggleUToolPage 1 // Relative command. +1 means next page, -1 means previous | + | |
| - | + | ||
| - | Transition | + | |
| - | Transition Toggle | + | |
| - | + | ||
| - | UnMuteZonesOfProjector | + | |
| - | UnMuteZonesOfProjector 1 // projector index, 1..N. | + | |
| - | + | ||
| - | UnSelectZone | + | |
| - | UnSelectZone 1 // zone index, 1..N. | + | |
| - | + | ||
| - | UnSelectZoneName | + | |
| - | UnSelectZoneName "Main Graphics" | + | |
| - | + | ||
| - | UnSoloAllProTrack | + | |
| - | UnSoloAllProTrack | + | |
| - | + | ||
| - | UnSoloProTrack | + | |
| - | UnSoloProTrack 1 // index(es) or name(s) | + | |
| - | + | ||
| - | UnmuteAllProTracks | + | |
| - | UnmuteAllProTracks | + | |
| - | + | ||
| - | UnmuteAllZone | + | |
| - | UnmuteAllZone | + | |
| - | + | ||
| - | UnmuteProTrack | + | |
| - | UnmuteProTrack 1 // index(es) or name(s) | + | |
| - | + | ||
| - | UnmuteZone | + | |
| - | UnmuteZone 0 // index(es) or name(s) | + | |
| - | + | ||
| - | UnselectAllCue | + | |
| - | UnselectAllCue | + | |
| - | + | ||
| - | UnselectAllFixt | + | |
| - | UnselectAllFixt | + | |
| - | + | ||
| - | UnselectAllProTracks | + | |
| - | UnselectAllProTracks | + | |
| - | + | ||
| - | UnselectAllProjectors | + | |
| - | UnselectAllProjectors | + | |
| - | + | ||
| - | UnselectAllZones | + | |
| - | UnselectAllZones | + | |
| - | + | ||
| - | UnselectFixt | + | |
| - | UnselectFixt 0 // index(es) or name(s) | + | |
| - | + | ||
| - | UnselectProTrack | + | |
| - | UnselectProTrack 1 // index(es) (1..N) or name(s) | + | |
| - | + | ||
| - | UnselectProjector | + | |
| - | UnselectProjector 1 // index(es) (1..N) or name(s) | + | |
| - | + | ||
| - | VLJFX | + | |
| - | VljFX 1, Toggle // index of FX-VLJ 1..4, and action: ON, OFF, TOGGLE | + | |
| - | + | ||
| - | Version | + | |
| - | version // remote server will get exe file version | + | |
| - | + | ||
| - | VirtualLJ | + | |
| - | VirtualLJ Toggle // ON, OFF, TOGGLE | + | |
| - | + | ||
| - | VisiblePoints | + | |
| - | VisiblePoints 100 // 0..100 (percents) | + | |
| - | + | ||
| - | VisiblePointsDelta | + | |
| - | VisiblePointsDelta 0 | + | |
| - | + | ||
| - | WaitForAudioBeat | + | |
| - | WaitForAudioBeat 1 | + | |
| - | + | ||
| - | WaitForBeat | + | |
| - | WaitForBeat 7, 1 | + | |
| - | + | ||
| - | WaitForCellDown | + | |
| - | WaitForCellDown 1 | + | |
| - | + | ||
| - | WaitForCellUp | + | |
| - | WaitForCellUp 1 | + | |
| - | + | ||
| - | WaitForChannel | + | |
| - | WaitForChannel 1 | + | |
| - | + | ||
| - | WaitForCueStart | + | |
| - | WaitForCueStart 1 1 | + | |
| - | + | ||
| - | WaitForCueStop | + | |
| - | WaitForCueStop 1 1 | + | |
| - | + | ||
| - | WaitForDmx | + | |
| - | WaitForDmx 1 | + | |
| - | + | ||
| - | WaitForEvent | + | |
| - | WaitForEvent " | + | |
| - | + | ||
| - | WaitForHotKey | + | |
| - | WaitForHotKey // waiting for hotkey assigned to this script in Code-tab | + | |
| - | + | ||
| - | WaitForManualBeat | + | |
| - | WaitForManualBeat 1 | + | |
| - | WaitForMidi | + | Two ranges, and main action in range of 64..127. The main action is after label Trick1. It has a dead loop. At least, it looks like dead loop. You see message panel with Yes and No and it will work until you move the slider down. It will break this endless loop. |
| - | WaitForMidi 0x90, -1, -1 | + | |
| - | WaitForPageChange | ||
| - | WaitForPageChange | ||
| - | WaitForTC | + | Example 6: Lets try to use expressions... BPM notification |
| - | WaitForTC 15,30,0,0 // hours, minutes, seconds, ms | + | |
| - | WaitForTime | + | DefineTrigger " |
| - | WaitForTime 15,30,0,0 // hours, minutes, seconds, ms | + | InRangeTrigger |
| + | InRangeTrigger 250,500," | ||
| + | exit | ||
| - | WaitForTimePos | + | WhenSlow: |
| - | WaitForTimePos 21,00,00,00 // hours, minutes, seconds, ms | + | DisplayPopup "Hey, dont sleep" |
| + | exit | ||
| - | WaitForTimerBeat | + | WhenFast: |
| - | WaitForTimerBeat 1 | + | DisplayPopup "Hey, too fast!" |
| + | exit | ||
| - | Write | + | This example use simplest expression - read the value of object property - Master.BPM, and depending on the BPM show the message. |
| - | write | + | |
| - | WriteLn | + | Example 7: Out of range. |
| - | writeln "Hello world!" | + | |
| - | ZoneFXTimeScale | + | This example based on previous. The only change is OutOfRangeTrigger. This section will be activate when BPM is too slow or too fast. This is only example without big sense, but it it easy to test, because you can see BPM value on toolbar and have the slider that control it. |
| - | ZoneFXTimeScale 1,2,1 // Layer, Clock multipler, Metronome multiplier | + | |
| - | ZoneFXTimeScaleDelta | + | DefineTrigger " |
| - | ZoneFXTimeScaleDelta 0,0,0,0 | + | OutOfRangeTrigger 60,250," |
| + | exit | ||
| - | ZoneFXTimeShift | + | WhenOutOf: |
| - | ZoneFXTimeShift 1,2,1 // Layer, Clock multipler, Metronome multiplier | + | DisplayPopup "Hmm, this is not normal" |
| + | exit | ||
| - | ZoneFXTimeShiftDelta | + | Example 8: Starts/Stop timeline |
| - | ZoneFXTimeShiftDelta 0, | + | |
| - | Zoom | + | DefineMidiTrigger 0xB0, 0x00, " |
| - | Zoom 100 // value -100..100 | + | InRangeTriggerCmd |
| + | InRangeTriggerCmd 64,127, " | ||
| - | ZoomDelta | + | |
| - | ZoomDelta 0 // shift zoom value | + | |
| + | </ | ||
beyond/pangoscript_commands.1590489580.txt · Last modified: (external edit)
