Expert SleepersMIDI & OSC Scripting Manualv1.1.0
local function handleNoteOff( channel, noteNumber, velocity )! -- do stuffendrequestNoteOff( 60, handleNoteOff )requestCC( cc, function )Request that
requestChannelPressure( function )Request that the given function be called in response to a MIDI channel pressure (after-touch) event. E.g.local
setGUIBoolValue( id, value )Sets a value that can be picked up by GUI objects. ‘id’ is a number between 0 and 7. ‘value’ is interpreted as a boolean v
•minorVersion•dotVersion•versionThe plug-in’s version number is of the form x.y.z (e.g. 2.1.4) where x is the major version number, y is the minor ver
Version History1.1.0 27/7/2009•Added registerOSCPathForParameter() and registerOSCPathForParameterNormal-ized().1.0.0 19/5/2009•Initial version.!
ContactThe Expert Sleepers website is here:http://www.expert-sleepers.co.uk/Or you can [email protected] you can use the forum, which i
AcknowledgementsThe software described in this manual makes use of the following open source projects. The author is greatly indebted to them for t
Copyright © 2009 Expert Sleepers. All rights reserved. This manual, as well as the software described in it, is furnished under licence and may be use
ContentsMIDI & OSC Lua scripting! 5Learn by example! 5Share your scripts!! 5Script locations! 6Mac OS X! 6Windows! 6Overriding the default script!
setGUIBoolValue( id, value )! 12getGUIBoolValue( id )! 12setOthersGUIBoolValue( other, id, value )! 12getOthersGUIBoolValue( other, id )! 12registerOS
MIDI & OSC Lua scriptingFor most Expert Sleepers plug-ins it is possible to extend the plug-in’s MIDI & OSC func-tionality via user-writeable
Script locationsThe plug-in looks for MIDI & OSC scripts in standard locations. Scripts must have the file-name extension “.lua”.Mac OS XThe plug-i
getParameter( param )Returns the value of the plug-in parameter. ‘param’ can either be the parameter name or the parameter ID (as returned from
The ‘id’ is matched against the OSC Port Offset of the plug-ins. Any plug-in that matches the id will have its parameter set.Note that all the plug-in
requestAllCC( function )Request that the given function be called in response to any MIDI continuous controller (CC) event. E.g.local function handleC
Kommentare zu diesen Handbüchern