Medialon module for ArKaos VJ
The new Medialon module for ArKaos VJ is a component designed to allow ArKaos VJ to be driven by Medialon Manager. With this module, you can automate a visual performance for a whole event with Medialon Manager sending orders directly to ArKaos through the network.
When enabling this extension module for ArKaos VJ 3.0.2, you activate a server 929q1611j that listens to network input. Medialon Manager can then send "Low Level TCP" commands in order to drive the program.
The Medialon Module is a plug in inside ArKaos VJ application. All effects and features of the application are available to Medialon. A specific ArKaos serial number will activate Medialon Module. You can buy it on https://www.arkaos.net.
The ArKaos VJ - Medialon module provides a panel to specify which TCP/IP port the server will listen to and activate/deactivate the server. It is located in the Edit > Preferences >Medialon menu:
Once activated, you can launch Medialon with the TCP/IP Client to connect to the ArKaos server and send orders.
As example, this is the interface we made for
you to begin using ArKaos from Medialon. This interface is designed to control
only one computer since we can enter only one IP address, but it would be very
easy to create a list of addresses, allowing you to create complex
installations with more computers. You could also add multiple virtual
This interface implements all the orders you can send to ArKaos and provide a Custom Order text area, which allow you to type manually your orders. You can enter several orders separated by ";" and send them in one time.
First enter the ip address and tcp port of the computer running ArKaos (as set in the ArKaos Medialon menu), then click "Open Connection". If the connection is successful, "Connected ArKaos" is displayed in the "Received Frames" message board and the Connection light turns to green (if the connection failed, the light will stay red).
Once you're connected, each
action on the interface is sent to ArKaos: MIDI notes On/Off,
At the moment, ArKaos receives orders through the Medialon Low Level TCP/IP Client. Using strings you describe actions to be done by ArKaos.
For example:
To start fullscreen, you would have to send the string
o Fullscreen 1;
To open a file:
o LoadFile "C:\ArKaos Files\LastEvent.kos"; - note that the double-quotes (or simple quotes) are required since the filename contains spaces.
To set the
o ControllerState 12 127;
In the interface example, it's really simple: each button and slider is linked to a Stepbased task that will send the string to ArKaos VJ through the Low Level TCP/IP Client 'SendFrame' function.
Let's use for example the
Step 0: sets the "arkaos_event_string" variable value to the desired order with a Manager expression:
o Arkaos_event_string = "ControllerState 0 " + slider_controller_0.Status + ";"
Step 1: uses the Low Level TCP/IP Client Send Frame function with arkaos_event_string as parameter.
Remark:
- Events have to be separated by ";" to avoid collisions if two very close events are sent to arkaos.
Here is the list of commands that can be sent to the ArKaos server:
LoadFile "file_name"
Loads (or select if already loaded) a kos file (Synth) in the application. The file loaded will be activated and all note/controller events will occur on this Synth. Must be with double-quotes (or simple-quotes) if the file path contains spaces.
Example: LoadFile "d:\arkaos\demo.kos"
SelectPatch index
Selects the active patch (of the current Synth). The active patch is the one that receives key messages.
The patch index can be between 0 and 127 and correspond to the patch number in ArKaos
Example: SelectPatch 0
You can also use "SelectNextPatch" or "SelectPreviousPatch" events to activate a patch (of the active Synth).
StartSequence index
Starts a recorded sequence.
The sequence index can be between 0 and 127 and correspond the order in the list of recordings available in the recorder window
Example: StartSequence 0
StopSequence
Stops the active sequence.
KeyState key_num value
Act as depressing the
Example: KeyState 48 20
This tell ArKaos to start the visual effect corresponding to a midi key of index 48 with a velocity of 20
You can stop an individual event by sending a KeyState event with a velocity of 0, for example KeyState 48 0 will stop the visual corresponding to midi key 48
ControllerState controller_num value
Sets the midi controller "controller_num" to the specified value.
The controller_num is between 0 and value is between 0 and 127
example: ControllerState 7 12
HighResolutionControllerState controller_num value
Sets the high resolution midi controller number "controller_num" to the specified value.
The controller_num is between 0 and value is between 0 and 16383
example: ControllerState 7 10230
Fullscreen value
Tells ArKaos to go/quit full screen,
"Fullscreen 1" means switch to Full screen on ; "Fullscreen 0" means to quit Fullscreen off
AllNotesOff
Stops all running events
Example: AllNotesOff
SetAutomation value
Activates (value = 1) or deactivates (value = 0) automation
Example: Automation 1
SetFlashText "MyText"
Set all FlashText layers of current patch to the text passed as parameter. Must be with simple or double-quotes.
SelectNextPatch / SelectPreviousPatch
Select and activate the next / previous patch of the same Synth
SelectNextSynth / SelectPreviousSynth
Select and activate the next / previous opened Synth
TapTempo
Send two times this event to set the tempo. Depending on your computer speed and your network use, the tempo will be more or less precisely defined.
If the order was not lexically correct, ArKaos will return "Error. Required: event identifier. Found: string (abcd)" which will be displayed in the answer text area at the bottom of the example interface.
If another error occurred, ArKaos will display a contextual error message.
If the command is correct, ArKaos will echo back the command processed followed by "succeeded".
|