MIDI AE Help>Building Up the Script <Previous  Next>

Building Up the Script

The script to be excuted is built up from commands for keys and knobs and optional scripts. Basically, it is a loop containing a code to receive a MIDI message and conditional statements to classify the sort of keys and knobs. Each script assigned to a key or a knob is inserted into the execution part of corresponding condition. Refer to the section of command to see the formulation of the script code.

There are three types of optional scripts.

  1. Initial Script: Inserted at the top of the script.
  2. Post-Event Script: Follows the code that receives a MIDI message.
  3. Post-Process Script: Inserted at the end of inside of the loop.


MIDI AE Help>Building Up the Script <Previous  Next>