1. Controlling MXW through JavaScript: Difference between revisions

From MXWendler Wiki
Jump to navigation Jump to search
(Created page with "Although there are many ways to control MXWendler with a lot of I/O devices, e.g. mouse buttons, keyboard, DMX and MIDI devices, and automation commands in MXWendler using ev...")
 
No edit summary
Line 1: Line 1:
Although there are many ways to control MXWendler with a lot of I/O devices, e.g.  mouse buttons, keyboard, DMX and MIDI devices, and automation commands in MXWendler using events in the playlist, some desired behaviours are too complex to be offered through a GUI element.  
Although there are many ways to control MXWendler with a lot of I/O devices, e.g.  mouse buttons, keyboard, DMX and MIDI devices, and automation commands in MXWendler using events in the playlist, some desired behaviours are too complex to be offered through a GUI element.  
JavaScript allows instead to script any animation and behaviour sequence. Additionally, JavaScript allows you to emit values to I/O devices like DMX, OSC or MIDI and set various internal variables in media and in the software.
JavaScript allows instead to script any animation and behaviour sequence. Additionally, JavaScript allows you to emit values to I/O devices like DMX, OSC or MIDI and set various internal variables in media and in the software.
ADD INTERFACE INFORMATIONS (HOW TO PROGRAM SCRIPT IN THE MXW GUI)
To facilitate debugging, a script-wide function "print_console" is available.

Revision as of 15:02, 24 October 2022

Although there are many ways to control MXWendler with a lot of I/O devices, e.g. mouse buttons, keyboard, DMX and MIDI devices, and automation commands in MXWendler using events in the playlist, some desired behaviours are too complex to be offered through a GUI element. JavaScript allows instead to script any animation and behaviour sequence. Additionally, JavaScript allows you to emit values to I/O devices like DMX, OSC or MIDI and set various internal variables in media and in the software.


ADD INTERFACE INFORMATIONS (HOW TO PROGRAM SCRIPT IN THE MXW GUI) To facilitate debugging, a script-wide function "print_console" is available.