Script locations, Mac os x, Windows – Expert Sleepers Augustus Loop v2.3.0 User Manual
Page 59: Overriding the default script, Midi & osc script functions, Getparameterid( param ), Getparameter( param )
![background image](/manuals/675742/59/background.png)
Script locations
Augustus Loop looks for MIDI & OSC scripts in standard locations. Scripts must have the
filename extension “.lua”.
Mac OS X
Augustus Loop looks for scripts in
Library/Application Support/Expert Sleepers/Augustus Loop/Scripts
Windows
Augustus Loop looks for scripts in
C:\Documents and Settings\
Sleepers\Augustus Loop\Scripts
Overriding the default script
Normally any scripts that the plug-in finds are run in addition to (and after) the default
script (‘midi.lua’) that comes with the plug-in itself.
However, if you name your own script ‘midi.lua’, then the default script is not run. This
lets you completely replace the plug-in’s default MIDI behaviour (as described
), rather than simply extend it.
MIDI & OSC Script Functions
The scripts are simply loaded and executed. You do not need to define any particular func-
tions for the system to call.
The following functions are available for you to call to define your script behaviour.
getParameterID( param )
Returns the parameter ID of the named parameter. Use with setParameter()/
getParameter() (see below). E.g.
paramID_Pitch = getParameterID( "Pitch" )
getParameter( param )
Returns the value of the plug-in parameter. ‘param’ can either be the parameter name or
the parameter ID (as returned from getParameterID()). Using the ID is more efficient.
Typically you would obtain the ID in the main script body (which is only executed once)
and then use it in a handler function (which can be called many times). E.g.