Code_for_developing_Lightworks_effects

Here we collect code to create Lightworks.fx effects.

View project on GitHub

Channel assignment:

The name of the remote controls contains the name of their transmitter channel. If the remote is transmitting on multiple channels, the lowest remote control channel will designate its name.

Channels for remote control of effects:

(Send by remote controls to remotely controllable effects and optional too the “Settings Display Unit”)

Channel group Channel Remote control Data content Coding
0 1 to 5 RC 1 Remote control Standard
0 6 to 99 94 free channels for new effects - -
1 101 to 199 99 free channels for new effects - -
2 201 to 299 99 free channels for new effects - -
3 301 to 399 99 free channels for new effects - -
4 401 to 499 99 free channels for new effects - -
5 501 to 599 99 free channels for new effects - -
6 601 to 699 99 free channels for new effects - -
7 701 to 799 99 free channels for new effects - -
8 801 to 899 99 free channels for new effects - -
9 901 to 999 99 free channels for new effects - -
10 1001 to 1099 99 free channels for new effects - -
11 1101 to 1199 99 free channels for new effects - -
12 1201 to 1299 99 free channels for new effects - -
13 1301 to 1399 99 free channels for new effects - -
14 1401 to 1499 99 free channels for new effects - -
15 1501 to 1599 99 free channels for new effects - -
16 1601 to 1699 99 free channels for new effects - -
17 1701 to 1799 99 free channels for new effects - -
18 1801 to 1899 99 free channels for new effects - -
19 1901 to 1999 99 free channels for new effects - -
20 2001 to 2099 99 free channels for new effects - -
21 2101 to 2199 99 free channels for new effects - -
22 2201 to 2299 99 free channels for new effects - -
23 2301 to 2399 99 free channels for new effects - -
24 2401 to 2499 99 free channels for new effects - -
25 2501 to 2599 99 free channels for new effects - -
26 2601 to 2699 99 free channels for new effects - -
27 2701 to 2799 99 free channels for new effects - -
28 2801 to 2899 99 free channels for new effects - -
29 2901 to 2999 99 free channels for new effects - -
30 3001 RC 3001 Remote control Standard
30 3011 Reserved for future cyclic effects - -
30 3021 Reserved for future cyclic effects - -
30 3031 Reserved for future cyclic effects - -
30 3041 Reserved for future cyclic effects - -
30 3051 Reserved for future cyclic effects - -
30 3061 Reserved for future cyclic effects - -
30 3071 Reserved for future cyclic effects - -
30 3081 Reserved for future cyclic effects - -
30 3091 Reserved for future cyclic effects - -

Currently blocked special channels:

The following channels can not be received by the current? or old? remote controllable effects.
Improved code is available.

Channel Remote control Data content Coding
100 - - -
200 - - -
300 - - -
400 - - -
500 - - -
600 - - -
700 - - -
800 - - -
900 - - -
1000 - - -
1100 - - -
1200 - - -
1300 - - -
1400 - - -
1500 - - -
1600 - - -
1700 - - -
1800 - - -
1900 - - -
2000 - - -
2100 - - -
2200 - - -
2300 - - -
2400 - - -
2500 - - -
2600 - - -
2700 - - -
2800 - - -
2900 - - -
3000 - - -
3100 - - -

Channels for the transmission of internal values:

(Send by cyclic remote controls to the “Settings Display Unit”)

Channel group Channel Remote control Data content Coding
30 3002 RC 3001 The current position in the cycle Data 0to1 >8bit
30 3003 RC 3001 Value of: #define TIME_CYCLE_FRAME Data 0to1 >8bit
30 3004 RC 3001 Effect progress Data 0to1 >8bit
30 3005 RC 3001 Delayed start time of the effect Data 0to1 >8bit
30 3006 RC 3001 Reserved (option) -
30 3007.r RC 3001 Old: ERROR_FRAC unused from Nov. 2018 0 = ok
30 3007.g RC 3001 Old: ERROR_PROGRESS unused from Nov. 2018 0 = ok
30 3007.a RC 3001 Status messages, ERROR_FRAMES_TOTAL 0 ok, 1 error
30 3008.r RC 3001 Old: BEFORE_START unused from Nov. 2018 0 = ok
30 3008.g RC 3001 Status messages, ERROR_INTERVAL 0 ok, 1 error
30 3008.a RC 3001 Reserved (option) -
30 3009 RC 3001 Reserved (option) -

Reserved channels for the transmission of internal values of future cyclic effects:

| Channel group |Channel |Remote control – | Data content | Coding | |:————-:|:————:|:———————————:|:—————————————:|:—————:| | 30 | 3012 to 3019 | Reserved, cyclic effect | Reserved, Data, not yet used | - | | 30 | 3022 to 3029 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3032 to 3039 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3042 to 3049 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3052 to 3059 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3062 to 3069 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3072 to 3079 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3082 to 3089 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - | | 30 | 3092 to 3099 | Reserved, anather cyclic effect | Reserved, Data, not yet used | - |


Channels for the waveform:

(Sent by cyclic remote controls, used by “Settings Display Unit”)

Channel group Occupies the channels Remote control Data content Coding
31 3101 to 3200 RC 3001 Wafeform specifically
32 3201 to 3300 Reserved, cyclic effect - -
33 3301 to 3400 Reserved, anather cyclic effect - -
34 3401 to 3500 Reserved, anather cyclic effect - -
35 3501 to 3600 Reserved, anather cyclic effect - -
36 3601 to 3700 Reserved, anather cyclic effect - -
37 3701 to 3800 Reserved, anather cyclic effect - -
38 3801 to 3900 Reserved, anather cyclic effect - -
39 3901 to 4000 Reserved, anather cyclic effect - -
40 4001 to 4100 Reserved, anather cyclic effect - -

Currently not used (option for the future):

|Channel |Remote control | Data content | Coding | |:————:|:————————-:|:—————————————:|:—————:| | 4101 to 5000 | Not yet used | - | - |



Blue color channel (status messages)

These values are compared with the measured values of the blue color channels.:

Definition Status Details
#define STATUS_OFF 0.0 Channel OFF  
#define STATUS_DATA_ON 0.2 Data for Settings Display Uni Receiver: consider transmission tolerance of approx. + -0.01
#define STATUS_RC_ON 0.4 Remote control Receiver: consider transmission tolerance of approx. + -0.01
#define STATUS_RC_CLAMP 1.0 Limited remote control The value of the remote control signal was limited by a remote controls