Program

A Program is a machine which allows control change events to be specified at certain times during it's execution. The execution of a particular program can be triggered from the sequencer.

It is possible to automate the population of the control change grid by writing a python script. The Python function to add an event to the grid is:

event(tick, control, value)

where tick is the time at which to trigger the change, control is the control to change, and value is the value to change it to. Some examples:

event(0, control.Frequency[0], 220)
event(0, control.Frequency[0], '3:2')
event(0, control.Power[0], 1)

The global object control holds a list of all controls for the current program. The control names are exactly the same as the names of the columns in the grid tab. Controls can be assigned any value that is applicable to that control type. Pressing the compile icon will run the script and populate the grid with the data generated from it. If an error occurs during execution it will be reported in the console window.