Expert-sleepers Crossfade Loop Synth v3.2.0 User Manual Page 27

  • Download
  • Add to my manuals
  • Print
  • Page
    / 38
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 26
Script locations
Crossfade Loop Synth looks for MIDI & OSC scripts in standard locations. Scripts must
have the filename extension “.lua”.
Mac OS X
The plug-in looks for scripts in
Library/Application Support/Expert Sleepers/Crossfade Loop Synth/
Scripts
Windows
The plug-in looks for scripts in
C:\Documents and Settings\<username>\Application Data\Expert
Sleepers\Crossfade Loop Synth\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 previ-
ously), 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.
Page view 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 37 38

Comments to this Manuals

No comments