List of Functions

Ableton

Enable or disable Ableton Link

Parameters

enable (Boolean) –

Returns whether Ableton Link is enabled

Return type

Boolean

Actions

CloseAllPluginWindows(allRackspaces)    Autotype

Close all plugins associated with this rackspace or optionally with all rackspaces - in the GigScript the allRackspaces argument MUST be true

Parameters

allRackspaces (Boolean) –

DuplicatePluginUnderMouse()    Autotype

Duplicates the plugin - if any - under the mouse

GlobalRackspaceVisible()    Autotype

Indicates whether the global rackspace is visible

Return type

Boolean

InPanelView()    Autotype

See if we are in panel view

Return type

Boolean

InSetlistView()    Autotype

See if we are in wiring view

Return type

Boolean

InTunerView()    Autotype

Indicates whether we are in the tuner view

Return type

Boolean

InWiringView()    Autotype

See if we are in wiring view

Return type

Boolean

Next()    Autotype

Switch to next rackspace variation song or song part

Previous()    Autotype

Switch to previous rackspace variation song or song part

QuickReplacePluginUnderMouse()    Autotype

Use dialog to replace the plugin - if any - under the mouse

RemovePluginUnderMouse()    Autotype

Removes the plugin - if any - under the mouse

ShowGlobalRackspace(show)    Autotype

Show or hide the global rackspace view

Parameters

show (Boolean) –

SwitchToPanelView()    Autotype

Show the rackspace panel view

SwitchToSetlistView()    Autotype

Show the song view

SwitchToWiringView()    Autotype

Switch to the plugin block wiring view

ToggleTunerVisible()    Autotype

Switch in or out of tuner view

Arrays

AppendBoolean(a, value)    Autotype

Append the boolean to the end of the array if there is room otherwise fail silently

Deprecated

Use <-- operator instead

Parameters
AppendDouble(a, value)    Autotype

Append the double to the end of the array if there is room otherwise fail silently

Deprecated

Use <-- operator instead

Parameters
AppendInteger(a, value)    Autotype

Append the integer to the end of the array if there is room otherwise fail silently

Deprecated

Use <-- operator instead

Parameters
AppendString(a, value)    Autotype

Append the string to the end of the array if there is room otherwise fail silently

Deprecated

Use <-- operator instead

Parameters
ClearArray(a)    Autotype

Resets the array size to 0

Parameters

a (array) –

IndexOf(a, value)    Autotype

Returns the index containing the value otherwise returns -1

Parameters
Return type

Integer

LargestDouble(a)    Autotype

Returns the maximum value of a double array

Parameters

a (Double array) –

Return type

Double

LargestInt(a)    Autotype

Returns the maximum value in an integer array

Parameters

a (Integer array) –

Return type

Integer

RemoveLast(a)    Autotype

Remove the last item in the array and so reducing the array size by 1

Parameters

a (array) –

Reverse(a)    Autotype

Reverse the list of items in the array

Parameters

a (array) –

Size(a)    Autotype

Returns the size of an array

Parameters

a (array) –

Return type

Integer

SmallestDouble(a)    Autotype

Returns the minimum value in a double array

Parameters

a (Double array) –

Return type

Double

SmallestInt(a)    Autotype

Returns the minimum value in an integer array

Parameters

a (Integer array) –

Return type

Integer

Sort(a, ascending)    Autotype

Sorts an array in ascending order

Parameters
  • a (array) –

  • ascending (Boolean) –

iMax(a)    Autotype

Returns the index of the largest value of an array

Parameters

a (array) –

Return type

Integer

iMin(a)    Autotype

Returns the index of the smallest value of an array

Parameters

a (array) –

Return type

Integer

ChordPro

ChordPro_GoToFractionOfPage(fraction)    Autotype

Set the top of the Chord Pro window to some fraction of the total page

Parameters

fraction (Double) –

ChordPro_GotoLine(lineNumber)    Autotype

Set the top of the Chord Pro window to the given line number

Parameters

lineNumber (Integer) –

ChordPro_GotoMarker(marker)    Autotype

Set the top of the Chord Pro window to the given marker name

Parameters

marker (String) –

ChordPro_GotoSongPart(songpartName)    Autotype

Set the top of the Chord Pro window to the given songpart

Parameters

songpartName (String) –

ExternalApplication

EA_AddArgument(ea, arg)    Autotype

Add an argument to an external application manager

Parameters
EA_ClearAllArgs(ea)    Autotype

Clear the list of arguments so you can start again

Parameters

ea (ExternalApplication) –

EA_SetProgramName(ea, name)    Autotype

Set the name of the program to be run

Parameters
EA_Start(ea)    Autotype

Open or run the external application

Parameters

ea (ExternalApplication) –

EA_Stop(ea)    Autotype

Close or terminate the external application - not guaranteed to work

Parameters

ea (ExternalApplication) –

Generators

EnableGenerator(f, enable)    Autotype

Enables or disables any generator (LFO, ramp, squarewave, ADSR, etc)

Parameters
GetADSRAttackLevel(f)    Autotype

Get the maximum volume level of the attack phase of an ADSR

Parameters

f (ADSR) –

Return type

Double

GetADSRAttackTime(f)    Autotype

Get the time in milliseconds of the attack phase of an ADSR

Parameters

f (ADSR) –

Return type

Integer

GetADSRDecayTime(f)    Autotype

Get the time in milliseconds of the decay phase of an ADSR

Parameters

f (ADSR) –

Return type

Integer

GetADSRReleaseTime(f)    Autotype

Get the time in milliseconds of the total release time of an ADSR

Parameters

f (ADSR) –

Return type

Integer

GetADSRSustainLevel(f)    Autotype

Get the level of the sustain phase of an ADSR

Parameters

f (ADSR) –

Return type

Double

GetGeneraterAmplitude(f)    Autotype

Get the current value of a generator

Deprecated

Use GetGeneratorAmplitude()

Parameters

f (Generator) –

Return type

Double

GetGeneratorAmplitude(f)    Autotype

Get the current value of a generator

Parameters

f (Generator) –

Return type

Double

GetTimersRunning()    Autotype

Indicates whether global timers are running or stopped

Return type

Boolean

InitADSR(f, attackTime, attackLevel, decayTime, sustainLevel, releaseTime)    Autotype

Set all parameters of an ADSR in one function call

Parameters
IsGeneratorEnabled(f)    Autotype

Queries the state (start or stopped) of any generator

Parameters

f (Generator) –

Return type

Boolean

SetADSRAttackLevel(f, level)    Autotype

Set the maximum volume level of the attack phase of an ADSR

Parameters
SetADSRAttackTime(f, milliseconds)    Autotype

Set the time in milliseconds of the attack phase of an ADSR

Parameters
SetADSRDecayTime(f, milliseconds)    Autotype

Set the time in milliseconds of the decay phase of an ADSR

Parameters
SetADSRReleaseTime(f, milliseconds)    Autotype

Set the time in milliseconds of the total release time of an ADSR

Parameters
SetADSRSustainLevel(f, level)    Autotype

Set the level of the sustain phase of an ADSR

Parameters
SetGeneratorCoarseness(f, milliseconds)    Autotype

Controls the jitter time of a callback (trading off accuracy against CPU cycles)

Parameters
SetGeneratorFrequency(f, hertz)    Autotype

Set the frequency in cycles/second of any Generator

Parameters
SetGeneratorLength(f, milliseconds)    Autotype

Set the length of a generator cycle

Parameters
SetGeneratorOneShot(f, oneshot)    Autotype

Controls whether an Generator repeats indefinitely or only runs once when triggered

Parameters
SetTimersRunning(run)    Autotype

Start or stop the global timers

Parameters

run (Boolean) –

StartAttackPhase(f)    Autotype

Trigger the ADS phase of an ADSR

Parameters

f (ADSR) –

StartReleasePhase(f)    Autotype

Trigger the release phase of the ADSR

Parameters

f (ADSR) –

MIDI

AllNotesOff(p)    Autotype

Send All Notes Off and reset controllers

Parameters

p (MidiInBlock) –

AllNotesOff()    Autotype

Send All Notes Off and reset controllers

BetweenNotes(lowerNote, note, upperNote)    Autotype

Returns true if the MIDI Note message is between the lower and higher values exclusive

Parameters
Return type

Boolean

GetAfterTouchValue(m)    Autotype

Returns the current aftertouch value of an Aftertouch MIDI message

Parameters

m (AfterTouchMessage) –

Return type

Integer

GetByte(m, byteNumber)    Autotype

Returns one of the byte values of a MIDI message. The byteNumber must be within the range 0..2

Parameters
Return type

Integer

GetCCNumber(m)    Autotype

Returns the Controller Number of a ControlChange MIDI message

Parameters

m (ControlChangeMessage) –

Return type

Integer

GetCCValue(m)    Autotype

Returns the Controller value of a ControlChange MIDI message

Parameters

m (ControlChangeMessage) –

Return type

Integer

GetChannel(m)    Autotype

Returns the MIDI channel number (between 1 and 16) of any MIDI message

Parameters

m (MidiMessage) –

Return type

Integer

GetMidiInDeviceCount()    Autotype

Returns the number of available MIDI In Devices

Return type

Integer

GetMidiInDeviceFromRigManager(rmDeviceName)    Autotype

Find the name of a physical MidiIn device given its RigManager name

Parameters

rmDeviceName (String) –

Return type

String

GetMidiInDeviceName(index)    Autotype

Returns the name of the MIDI In Device at the specified index

Parameters

index (Integer) –

Return type

String

GetMidiMessageSize(m)    Autotype

Returns the number of bytes in any MIDI Message

Parameters

m (MidiMessage) –

Return type

Integer

GetMidiOutDeviceCount()    Autotype

Returns the number of available MIDI Out Devices

Return type

Integer

GetMidiOutDeviceName(index)    Autotype

Returns the name of the MIDI Out Device at the specified index

Parameters

index (Integer) –

Return type

String

GetNoteNumber(m)    Autotype

Returns the note number of a NoteMessage MIDI event

Parameters

m (NoteMessage) –

Return type

Integer

GetPitchBendValue(m)    Autotype

Returns the pitch bend value from a PitchBend MIDI message

Parameters

m (PitchBendMessage) –

Return type

Integer

GetPolyTouchNoteNumber(m)    Autotype

Returns the note number of a PolyTouch MIDI event

Parameters

m (PolyTouchMessage) –

Return type

Integer

GetProgramChangeNumber(m)    Autotype

Returns the program change number of a ProgramChangeMessage MIDI event

Parameters

m (ProgramChangeMessage) –

Return type

Integer

GetReleaseVelocity(m)    Autotype

Returns the release velocity of a NoteOffEvent MIDI message. You need to make sure that the message is in fact a NoteOff or the result will always be 0

Parameters

m (NoteMessage) –

Return type

Integer

GetVelocity(m)    Autotype

Returns the velocity of a NoteEvent MIDI message. The value will be between 0 and 127

Parameters

m (NoteMessage) –

Return type

Integer

InjectMidiEvent(physicalDeviceName, m)    Autotype

Inject a message to any Midi Input Port with the specified physical device name

Parameters
InjectMidiEventViaRigManager(rmDeviceAliasName, m)    Autotype

Inject a message to a MidiInDeviceAlias using its Rig Manager name directly

Parameters
IsAfterTouch(m)    Autotype

See if the current message is actually an Aftertouch MIDI message

Parameters

m (MidiMessage) –

Return type

Boolean

IsController(m)    Autotype

See if the current message is actually a CC MIDI message

Parameters

m (MidiMessage) –

Return type

Boolean

IsNote(m)    Autotype

See if the current message is a NoteOn or a NoteOff message

Parameters

m (MidiMessage) –

Return type

Boolean

IsNoteOff(m)    Autotype

See if the current message is actually a noteOff message - this is not the same as a NoteOn with 0 velocity

Parameters

m (MidiMessage) –

Return type

Boolean

IsNoteOn(m)    Autotype

See if the current message is actually a noteOn message

Parameters

m (MidiMessage) –

Return type

Boolean

IsPitchBend(m)    Autotype

See if the current message is actually a pitchbend message

Parameters

m (MidiMessage) –

Return type

Boolean

IsPolyTouch(m)    Autotype

See if the current message is actually a Polytouch MIDI message

Parameters

m (MidiMessage) –

Return type

Boolean

IsProgramChange(m)    Autotype

See if the current message is actually a program change message

Parameters

m (MidiMessage) –

Return type

Boolean

MakeAfterTouchMessage(value)    Autotype

Returns an Aftertouch MIDI message with the specified value. The MIDI channel is 1

Parameters

value (Integer) –

Return type

AfterTouchMessage

MakeAfterTouchMessageEx(value, channel)    Autotype

Returns an Aftertouch MIDI message with the specified value and MIDI channel

Parameters
Return type

AfterTouchMessage

MakeControlChangeMessage(number, value)    Autotype

Returns a CC MIDI message with the specified CC number and value. The MIDI channel is 1

Parameters
Return type

ControlChangeMessage

MakeControlChangeMessageEx(number, value, channel)    Autotype

Returns a CC MIDI message with the specified CC number and value and MIDI channel

Parameters
Return type

ControlChangeMessage

MakeMidiMessage(byte0, byte1, byte2)    Autotype

Create an three byte MIDI message - you are on your own so make sure you get the values correct

Deprecated

Use MakeMidiMessage3()

Parameters
Return type

MidiMessage

MakeMidiMessage1(byte0)    Autotype

Create one byte MIDI message - you are on your own so make sure you get the value correct

Parameters

byte0 (Integer) –

Return type

MidiMessage

MakeMidiMessage2(byte0, byte1)    Autotype

Create a 2 byte MIDI message - you are on your own so make sure you get the values correct

Parameters
Return type

MidiMessage

MakeMidiMessage3(byte0, byte1, byte2)    Autotype

Create an three byte MIDI message - you are on your own so make sure you get the values correct

Parameters
Return type

MidiMessage

MakeNoteMessage(number, velocity)    Autotype

Returns a Note MIDI message with the specified note number and velocity. The MIDI channel is 1

Parameters
Return type

NoteMessage

MakeNoteMessageEx(number, velocity, channel)    Autotype

Returns a Note MIDI message with the specified note number and velocity and MIDI channel

Parameters
Return type

NoteMessage

MakePitchBendMessage(value)    Autotype

Returns a new Pitchbend MIDI message with the specified value. The MIDI channel is 1

Parameters

value (Integer) –

Return type

PitchBendMessage

MakePitchBendMessageEx(value, channel)    Autotype

Returns a new Pitchbend MIDI message with the specified value and MIDI channel

Parameters
Return type

PitchBendMessage

MakePolyTouchMessage(number, pressure)    Autotype

Returns a Polytouch MIDI message with the specified note number and pressure amount. The MIDI channel is 1

Parameters
Return type

PolyTouchMessage

MakePolyTouchMessageEx(number, pressure, channel)    Autotype

Returns a Polytouch - sometimes called poly pressure - MIDI message with the specified note number and pressure ammount and MIDI channel

Parameters
Return type

PolyTouchMessage

MakeProgramChangeMessage(value)    Autotype

Returns a new ProgramChange MIDI message with the specified value ranging from 0 to 127. The MIDI channel is 1

Parameters

value (Integer) –

Return type

ProgramChangeMessage

MakeProgramChangeMessageEx(value, channel)    Autotype

Returns a new ProgramChange MIDI message with the specified value ranging from 0 to 127 and with the specified MIDI channel

Parameters
Return type

ProgramChangeMessage

MidiInDeviceExists(deviceName)    Autotype

Returns whether the physical MIDI in device exists

Parameters

deviceName (String) –

Return type

Boolean

MidiOutDeviceExists(deviceName)    Autotype

Returns whether the physical MIDI Out device exists

Parameters

deviceName (String) –

Return type

Boolean

ReinterpretAsAfterTouch(m, UseThirdByte)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters
Return type

NoteMessage

ReinterpretAsControllerMessage(m)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters

m (MidiMessage) –

Return type

NoteMessage

ReinterpretAsNoteOffMessage(m)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters

m (MidiMessage) –

Return type

NoteMessage

ReinterpretAsNoteOnMessage(m)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters

m (MidiMessage) –

Return type

NoteMessage

ReinterpretAsPitchBend(m)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters

m (MidiMessage) –

Return type

NoteMessage

ReinterpretAsPolyTouchMessage(m)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters

m (MidiMessage) –

Return type

NoteMessage

ReinterpretAsProgramChange(m, UseThirdByte)    Autotype

Reinterpret an arbitrary MIDI message - you need to know what you are doing

Parameters
Return type

NoteMessage

SendNow(p, m)    Autotype

Send a MIDI event out immediately

Parameters
SendNowToMidiOutDevice(deviceName, m)    Autotype

Send a MIDI event out immediately through a physical MIDI Out device

Parameters
Transpose(m, steps)    Autotype

Returns a note that has been transposed chromatically by the number of steps

Deprecated

Use WithTranspose()

Parameters
Return type

NoteMessage

WithCCNumber(m, number)    Autotype

Changes the CC number of a ControlChangeMessage MIDI event

Parameters
Return type

ControlChangeMessage

WithCCValue(m, v)    Autotype

Changes the value of a CCMessage MIDI event

Parameters
Return type

ControlChangeMessage

WithChannel(m, channel)    Autotype

Changes the channel number of any MIDI event.

Parameters
Return type

MidiMessage

WithNoteNumber(m, number)    Autotype

Changes the note number of a NoteMessage MIDI event

Parameters
Return type

NoteMessage

WithNoteNumberAndVelocity(m, n, v)    Autotype

Changes the note number and the velocity value of a NoteMessage MIDI event. Setting to 0 will make the message be a NoteOff

Parameters
Return type

NoteMessage

WithTranspose(m, steps)    Autotype

Returns a note that has been transposed chromatically by the number of steps

Parameters
Return type

NoteMessage

WithVelocity(m, v)    Autotype

Changes the velocity value of a NoteMessage MIDI event. Setting to 0 will make the message be a NoteOff

Parameters
Return type

NoteMessage

Math

ACos(x)    Autotype

Returns the inverse cos of x

Parameters

x (Double) –

Return type

Double

ASin(x)    Autotype

Returns the inverse sin of x

Parameters

x (Double) –

Return type

Double

ATan(x)    Autotype

Returns the inverse tan of x

Parameters

x (Double) –

Return type

Double

Abs(x)    Autotype

Returns the absolute value of x

Parameters

x (Double) –

Return type

Double

CC_LoadFromFile(cc, filename)    Autotype

Load a curve that was created with a Curve Component

Parameters
Return type

Boolean

CC_SaveToFile(cc, filename)    Autotype

Save a possibly changed curve to file

Parameters
Return type

Boolean

CC_Scale(cc, x)    Autotype

Return the Y value for the inputted x value

Parameters
Return type

Double

Ceiling(x)    Autotype

Rounds x upward returning the smallest integral value that is not less than x

Parameters

x (Double) –

Return type

Integer

Cos(x)    Autotype

Returns the cos of x

Parameters

x (Double) –

Return type

Double

Exp(x)    Autotype

Returns e to the power of x

Parameters

x (Double) –

Return type

Double

Floor(x)    Autotype

Rounds x downward returning the largest integral value that is not greater than x

Parameters

x (Double) –

Return type

Integer

IntToFloat(x)    Autotype

Converts an integer to its floating point equivalent

Parameters

x (Integer) –

Return type

Double

Ln(x)    Autotype

Returns the log (base e) of x

Parameters

x (Double) –

Return type

Double

Log(x)    Autotype

Returns the log (base 10) of x

Parameters

x (Double) –

Return type

Double

MidiToParam(m)    Autotype

Maps an integer value between 0 and 127 into a floating point value between 0.0 and 1.0 and is a specialized (slightly) faster version of the generic Scale function

Parameters

m (Integer) –

Return type

Double

MidiToParamEx(x, xMin, xMax, yMin, yMax)    Autotype

Maps a value between xMin and xMax both with type integer into a value between yMin and yMax both with type double. Slightly faster than Scale if you can use the expected types so that no conversion is required

Parameters
Return type

Double

ParamToMidi(m)    Autotype

Maps an double value between 0.0 and 1.0 into an integer value between 0 and 127 and is a specialized (slightly) faster version of the generic Scale function

Parameters

m (Double) –

Return type

Integer

ParamToMidiEx(x, xMin, xMax, yMin, yMax)    Autotype

Maps a double value between xMin and xMax - both between 0.0 and 1.0 - into a value between yMin and yMax both with type integer. Slightly faster than Scale if you can use the expected types so that no conversion is required

Parameters
Return type

Integer

Power(base, exponent)    Autotype

Returns base raised to the power of exponent

Parameters
Return type

Double

Random()    Autotype

Returns a random value between 0.0 and 1.0

Return type

Double

RandomRange(min, max)    Autotype

Returns a random integer value between min and max

Parameters
Return type

Integer

Round(x)    Autotype

Rounds a floating point number to the nearest integer

Parameters

x (Double) –

Return type

Integer

Scale(x, xMin, xMax, yMin, yMax)    Autotype

Maps a value between xMin and xMax into a value between yMin and yMax. Integers will be converted to doubles. See MidiToParam and ParamToMidi for slightly faster implementations

Parameters
Return type

Double

ScaleInt(x, xMin, xMax, yMin, yMax)    Autotype

Maps a value between xMin and xMax into a value between yMin and yMax. Doubles will be truncated to integers. See MidiToParam and ParamToMidi for slightly faster implementations

Parameters
Return type

Integer

ScaleRange(x, yMin, yMax)    Autotype

Maps a double value between 0.0 and 1.0 into a rounded integer value between yMin and yMax

Parameters
Return type

Integer

ScaleRangeEx(x, xMin, xMax, yMin, yMax)    Autotype

Maps a double value between xMin and xMax into a rounded integer value between yMin and yMax

Parameters
Return type

Integer

Sign(x)    Autotype

Returns 1 if x > 0 -1 if x < 0 0 if x = 0

Parameters

x (Double) –

Return type

Integer

Sin(x)    Autotype

Returns the sin of x

Parameters

x (Double) –

Return type

Double

Sqrt(x)    Autotype

Returns the square root of x

Parameters

x (Double) –

Return type

Double

Tan(x)    Autotype

Returns the tan of x

Parameters

x (Double) –

Return type

Double

ThresholdDetector_Detect(td, newValue)    Autotype

Return true if we crossed over

Parameters
Return type

Boolean

ThresholdDetector_Setup(td, crossOver, initialValue, upDirection)    Autotype

Define the conditions to detect an edge

Parameters

MultiChannelNoteTracker

MultiChannelNoteTracker_Clear(mt, channel)    Autotype

Reinitializes the note tracker for the specified channel

Parameters
MultiChannelNoteTracker_GetHeldNotes(mt, channel)    Autotype

returns all currently held down notes as an integer array without velocities

Parameters
Return type

Integer array

MultiChannelNoteTracker_GetSpecificNoteOnCount(mt, noteNumber, channel)    Autotype

Count how many times a specific note on has been played without a corresponding note off

Parameters
Return type

Integer

MultiChannelNoteTracker_GotNote(mt, note)    Autotype

Track status of an incoming note

Parameters
MultiChannelNoteTracker_GotNoteOff(mt, noteNumber, channel)    Autotype

Remember that a note was released

Parameters
MultiChannelNoteTracker_GotNoteOn(mt, noteNumber, channel)    Autotype

Remember that a note was played

Parameters
MultiChannelNoteTracker_IsNoteOffPending(mt, noteNumber, channel)    Autotype

returns whether a specific note is still down

Parameters
Return type

Boolean

MultiChannelNoteTracker_NoteOnCount(mt, channel)    Autotype

Count number of notes still being played

Parameters
Return type

Integer

MultiChannelNoteTracker_StopAllPendingNotes(m, nt)    Autotype

Send note offs for all pending notes on all channels in the tracker

Parameters
MultiChannelNoteTracker_StopAllPendingNotes(nt)    Autotype

Send note offs for all pending notes on all channels in the tracker

Parameters

nt (MultiChannelNoteTracker) –

NoteManagement

AddChordInterval(cr, interval, chordName)    Autotype

Add a user defined chord interval to the chord dictionary

Parameters
AutoSustainer_GetHeldNotes(sustainer)    Autotype

returns all currently held down notes as an integer array without velocities - experimental

Parameters

sustainer (AutoSustainer) –

Return type

Integer array

AutoSustainer_Play(sustainer, m)    Autotype

Play and sustain an incoming note message through the AutoSustainer

Parameters
AutoSustainer_RespectParameters(sustainer, respect)    Autotype

Indicate whether notes should respect MidiInBlock parameters

Parameters
AutoSustainer_SetTarget(sustainer, m)    Autotype

Specify the MidiInBlock to use for sending out notes using this AutoSustainer object

Parameters
AutoSustainer_Stop(sustainer)    Autotype

Stop all pending notes

Parameters

sustainer (AutoSustainer) –

FindChordName(cr, nt)    Autotype

Given a note tracker with pending notes - get the string name of the chord

Parameters
Return type

String

NoteMapper_CreateScale(nm, rootNote, scale)    Autotype

Given a root note and an array of 12 offsets - create a scale covering the entire MIDI note range

Parameters
NoteMapper_GetMappedNotes(nm, note)    Autotype

Returns the note or chord associated with the incoming note

Parameters
Return type

Integer array

NoteMapper_MapNote(nm, note, mapToNote)    Autotype

Define note to be returned given an incoming note

Parameters
NoteMapper_MapNoteToChord(nm, note, chord)    Autotype

Associate a note with a chord

Parameters
NoteMapper_MapNotes(nm, source, dest)    Autotype

Map a list of source notes to replacement notes - both arrays must be same size

Parameters
NoteMapper_Reset(nm)    Autotype

Reset note mapper to defaults

Parameters

nm (NoteMapper) –

RemoveChordInterval(cr, interval)    Autotype

Remove a chord interval from the chord dictionary

Parameters

NoteTracker

ClearNoteTracker(nt)    Autotype

Reinitializes the note tracker although it is generally not necessary

Deprecated

Use NoteTracker_Clear()

Parameters

nt (NoteTracker) –

GotNote(nt, note)    Autotype

Track status of an incoming note

Deprecated

Use NoteTracker_GotNote()

Parameters
GotNoteOff(nt, noteNumber)    Autotype

Remember that a note was released

Deprecated

Use NoteTracker_GotNoteOff()

Parameters
GotNoteOn(nt, noteNumber)    Autotype

Remember that a note was played

Deprecated

Use NoteTracker_GotNoteOn()

Parameters
NoteOnCount(nt)    Autotype

Count number of notes still being played

Deprecated

Use NoteTracker_NoteOnCount()

Parameters

nt (NoteTracker) –

Return type

Integer

NoteTracker_Clear(nt)    Autotype

Reinitializes the note tracker although it is generally not necessary

Parameters

nt (NoteTracker) –

NoteTracker_GetHeldNotes(nt)    Autotype

returns all currently held down notes as an integer array without velocities

Parameters

nt (NoteTracker) –

Return type

Integer array

NoteTracker_GetSpecificNoteOnCount(nt, noteNumber)    Autotype

Count how many times a specific note on has been played without a corresponding note off

Parameters
Return type

Integer

NoteTracker_GotNote(nt, note)    Autotype

Track status of an incoming note

Parameters
NoteTracker_GotNoteOff(nt, noteNumber)    Autotype

Remember that a note was released

Parameters
NoteTracker_GotNoteOn(nt, noteNumber)    Autotype

Remember that a note was played

Parameters
NoteTracker_IsNoteOffPending(nt, noteNumber)    Autotype

returns whether a specific note is still down

Parameters
Return type

Boolean

NoteTracker_NoteOnCount(nt)    Autotype

Count number of notes still being played

Parameters

nt (NoteTracker) –

Return type

Integer

NoteTracker_StopAllPendingNotes(m, nt)    Autotype

Send note offs for all pending notes in the tracker

Parameters
NoteTracker_StopAllPendingNotes(nt)    Autotype

Send note offs for all pending notes in the tracker

Parameters

nt (NoteTracker) –

StopAllPendingNotes(m, nt)    Autotype

Send note offs for all pending notes in the tracker

Parameters
StopAllPendingNotes(nt)    Autotype

Send note offs for all pending notes in the tracker

Parameters

nt (NoteTracker) –

OSC

OSC_AppendDoubleArg(m, value)    Autotype

Append a double argument to the OSC message

Parameters
OSC_AppendIntArg(m, value)    Autotype

Append an integer argument to the OSC message

Parameters
OSC_AppendStringArg(m, value)    Autotype

Append a string argument to the OSC message

Parameters
OSC_ArgCount(m)    Autotype

Returns the number of arguments in an OSC message

Parameters

m (OSCMessage) –

Return type

Integer

OSC_ClearArgs(m)    Autotype

Clear all arguments but leave the address pattern

Parameters

m (OSCMessage) –

OSC_Enabled()    Autotype

Returns whether OSC is enabled for this instance

Return type

Boolean

OSC_GetArgAsDouble(m, index)    Autotype

Returns the argument at the index - 0 based - as a double

Parameters
Return type

Double

OSC_GetArgAsInteger(m, index)    Autotype

Returns the argument at the index - 0 based - as an integer

Parameters
Return type

Integer

OSC_GetArgAsString(m, index)    Autotype

Returns the argument at the index - 0 based - as a String

Parameters
Return type

String

OSC_GetGPListeningPort()    Autotype

Return the port on which GP listens for incoming OSC messages

Return type

Integer

OSC_Send(m)    Autotype

Send out the message to the default IP address and port

Parameters

m (OSCMessage) –

OSC_SendDouble(address, value)    Autotype

Send an OSC message with a value of type double to the default ip address and port

Parameters
OSC_SendDoubleSpecific(address, value, ipAddress, port)    Autotype

Send an OSC message with a value of type double to the specified ip address and port

Parameters
OSC_SendInteger(address, value)    Autotype

Send an OSC message with a value of type integer to the default ip address and port

Parameters
OSC_SendIntegerSpecific(address, value, ipAddress, port)    Autotype

Send an OSC message with a value of type integer to the specified ip address and port

Parameters
OSC_SendSpecific(m, ipAddress, port)    Autotype

Send out the message to the specified IP address and port

Parameters
OSC_SendString(address, value)    Autotype

Send an OSC message with a value of type String to the default ip address and port

Parameters
OSC_SendStringSpecific(address, value, ipAddress, port)    Autotype

Send an OSC message with a value of type String to the specified ip address and port

Parameters
OSC_SetAddress(m, address)    Autotype

Set the address of an OSC message

Parameters

Plugins

ClosePlugin(p)    Autotype

Close the plugin editor

Parameters

p (Block) –

GUI_CreateNewWidget(left, top, width, height)    Autotype

Returns ID of new widget

Parameters
Return type

Integer

GetActivePreset(p)    Autotype

Get the index of the current preset in the plugin block

Parameters

p (Block) –

Return type

Integer

GetGPPresetList(p, chunkN)    Autotype

Get the Nth chunk of GP Preset names

Parameters
Return type

String array

GetGPPresetListCount(p)    Autotype

Returns the number of GP Presets for this plugin

Parameters

p (Block) –

Return type

Integer

GetMaxNoteFromMidiInBlock(aBlock)    Autotype

Gets the max note number defined for the keyboard split

Parameters

aBlock (MidiInBlock) –

Return type

Integer

GetMinNoteFromMidiInBlock(aBlock)    Autotype

Gets the min note number defined for the keyboard split

Parameters

aBlock (MidiInBlock) –

Return type

Integer

GetParameter(p, index)    Autotype

Gets the current parameter value associated with a parameter index of the plugin block. The value will be between 0.0 and 1.0

Parameters
Return type

Double

GetParameterCount(p)    Autotype

Gets the number of parameters in the plugin block

Parameters

p (Block) –

Return type

Integer

GetParameterName(p, index)    Autotype

Gets the name for the parameter index of the plugin block if available.

Parameters
Return type

String

GetParameterText(p, index)    Autotype

Gets the value as text of the given parameter index of the plugin block if available.

Parameters
Return type

String

GetPluginCaption(p)    Autotype

Gets the caption displayed in the plugin block

Parameters

p (Block) –

Return type

String

GetPluginInfo(p, infoCode)    Autotype

Get information about the actual plugin — 0=name - 1=manufacturer

Parameters
Return type

String

GetPresetCount(p)    Autotype

Get the number of available presets in the plugin block

Parameters

p (Block) –

Return type

Integer

GetPresetName(p, index)    Autotype

Get the name of the preset at the given index of the plugin block

Parameters
Return type

String

GetTransposeFromMidiInBlock(aBlock)    Autotype

Gets the max note number defined for the keyboard split

Parameters

aBlock (MidiInBlock) –

Return type

Integer

GetVelocityCurveValue(aBlock, velocity)    Autotype

Returns the velocity after applying the scale curve to it

Parameters
Return type

Integer

IsPluginBypassed(p)    Autotype

Returns whether the plugin block is bypassed

Parameters

p (Block) –

Return type

Boolean

LoadGPPreset(p, presetName)    Autotype

Load a GP plugin preset in the background - seriously experimental and probably very unsafe

Parameters
OpenPlugin(p)    Autotype

Open the plugin editor

Parameters

p (Block) –

ReplacePlugin(p, name)    Autotype

Replace the plugin in the specified block - experimental

Parameters
SelectPreset(p, index)    Autotype

Change the preset of the block - experimental

Parameters
SetParameter(p, index, value)    Autotype

Send a parameter value to the plugin block

Parameters
SetPluginBypassed(p, bypass)    Autotype

Bypass or unbypass the plugin block

Parameters
SetPluginCaption(p, newCaption)    Autotype

Sets the caption displayed in the plugin block

Parameters
SetPluginEditorXYPosition(p, x, y)    Autotype

Open a plugin editor and set its position on screen

Parameters

Rackspaces

GetCurrentRackspaceIndex()    Autotype

Returns the index of the current rackspace

Return type

Integer

GetCurrentVariation()    Autotype

Returns the index of the current variation

Return type

Integer

GetRackspaceBPM()    Autotype

Gets the BPM value associated with this rackspace

Return type

Double

GetRackspaceCount()    Autotype

Returns the number of rackspaces in the system

Return type

Integer

GetRackspaceIndex(name)    Autotype

Returns the name of the rackspace at the given index. Returns -1 if rackspace does not exist

Parameters

name (String) –

Return type

Integer

GetRackspaceName()    Autotype

Returns the name of the active rackspace

Return type

String

GetRackspaceNameAtIndex(index)    Autotype

Returns the name of the rackspace at the given index

Parameters

index (Integer) –

Return type

String

GetVariationCount()    Autotype

Returns the number of variations in the current rackspace

Return type

Integer

GetVariationCountForRackspaceAtIndex(rackspaceIndex)    Autotype

Returns the number of variations in a specified rackspace

Parameters

rackspaceIndex (Integer) –

Return type

Integer

GetVariationName(index)    Autotype

Returns the name of a variation

Parameters

index (Integer) –

Return type

String

GetVariationNameForRackspaceAtIndex(rackspaceIndex, variationIndex)    Autotype

Returns the name of a variation in a specified rackspace

Parameters
Return type

String

NextRackspace()    Autotype

Switch to the next rackspace

NextVariation()    Autotype

Switch to the next variation

PreviousRackspace()    Autotype

Switch to the previous rackspace

PreviousVariation()    Autotype

Switch to the previous variation

SetVariation(index)    Autotype

Switch to another variation in the active rackspace

Parameters

index (Integer) –

SwitchToNextRack()    Autotype

Switch to the next rackspace

Deprecated

Use NextRackspace() instead.

SwitchToNextVariation()    Autotype

Switch to the next variation

Deprecated

Use NextVariation() instead.

SwitchToPreset(newPreset)    Autotype

Switch to another preset in the rackspace

Deprecated

Use SetVariation() instead.

Parameters

newPreset (Integer) –

SwitchToPrevRack()    Autotype

Switch to the previous rackspace

Deprecated

Use PreviousRackspace() instead.

SwitchToPrevVariation()    Autotype

Switch to the previous variation

Deprecated

Use PreviousVariation() instead.

SwitchToRack(newRackspaceNumber, newPreset)    Autotype

Switch to another rackspace by number and potentially to a specific newPreset in that rackspace

Deprecated

Use SwitchToRackspace() instead.

Parameters
SwitchToRackspace(newRackspaceNumber, newVariationNumber)    Autotype

Switch to another rackspace by number and potentially to a specific variation in that rackspace

Parameters
SwitchToRackspaceByName(name, newVariationNumber)    Autotype

Switch to another rackspace by name and potentially to a specific variation in that rackspace

Parameters
UpdateRackspaceBPM(bpm)    Autotype

Update the rackspace with this BPM value - does not mark gigfile dirty

Parameters

bpm (Double) –

ScriptletBlock

GetContinuousPreviousValue(p)    Autotype

Get the previous value of this parameter

Parameters

p (Continuous) –

Return type

Double

GetDiscreteParameterItem(p, offset)    Autotype

Returns the string item at the given offset for this parameter

Parameters
Return type

String

GetDiscreteParameterItemCount(p)    Autotype

Returns the number of strings defined for this parameter

Parameters

p (Discrete) –

Return type

Integer

GetDiscretePreviousValue(p)    Autotype

Get the previous value of this parameter

Parameters

p (Discrete) –

Return type

String

GetIndexOfDiscreteParameterItem(p, itemToFind)    Autotype

Find the index of a discrete item and returns -1 if the item is not found

Parameters
Return type

Integer

GetIndexOfSubrangeParameterItem(p, itemToFind)    Autotype

Find the index of a subrange item and returns -1 if the item is not found

Parameters
Return type

Integer

GetParameterCount()    Autotype

Get the number of parameters

Return type

Integer

GetParameterName(p)    Autotype

Returns the name of the parameter - preferring the alias if defined

Parameters

p (Parameter) –

Return type

String

GetSubrangeParameterItem(p, offset)    Autotype

Returns the integer item at the given offset for this parameter

Parameters
Return type

Integer

GetSubrangeParameterItemCount(p)    Autotype

Returns the number of integer values defined for this parameter

Parameters

p (Subrange) –

Return type

Integer

GetSubrangePreviousValue(p)    Autotype

Get the previous value of this parameter

Parameters

p (Subrange) –

Return type

Integer

PlayNote(noteNumber, velocity, channel, startTimeMS, duration)    Autotype

Send a noteOn event at startTimeMS and a noteOff event at durationMS later. If duration is less than 1 then we make it 1

Parameters
PlayNotes(noteNumbers, velocity, channel, startTimeMS, duration)    Autotype

Play a collection of note at startTimeMS and stop them durationMS later. If duration is less than 1 then we make it 1

Parameters
SendLater(m, delayInMS)    Autotype

Schedule a MIDI event to be sent out in the future - only for use in a Scriptlet

Parameters
SendNotesNow(noteNumbers, velocity, channel)    Autotype

Play a collection of notes now

Parameters
SendNow(m)    Autotype

Send a MIDI event out immediately - only for use in a Scriptlet

Parameters

m (MidiMessage) –

SendSysexNow(m)    Autotype

Send a MIDI sysex message out immediately

Parameters

m (SysexMessage) –

SetDisplayMessage(value)    Autotype

Displays a message at the bottom of a Scriptlet editor window

Parameters

value (String) –

SetInfoMessage(value)    Autotype

Defines an info message to be displayed when user clicks on I button

Parameters

value (String) –

Sequencing

MidiSequence_CollectEventsNow(sequence)    Autotype

Collect events at the current position - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

MidiSequence_EndOfSong(sequence)    Autotype

True if there are no more events in track - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Return type

Boolean

MidiSequence_FollowGlobalTranspose(sequence, trackNumber, follow)    Autotype

When true MIDI note events will be transposed by the global transpose amount

Parameters
MidiSequence_GetCurrentBar(sequence)    Autotype

Returns the current bar - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Return type

Integer

MidiSequence_GetCurrentBeat(sequence)    Autotype

Returns the current beat of the current bar - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Return type

Integer

MidiSequence_GetCurrentEvents(sequence, trackNumber)    Autotype

Access the current events at the current grid position for the specified track - Experimental - not yet supported - do not even ask!

Parameters
Return type

MidiMessage array

MidiSequence_GetCurrentTick(sequence)    Autotype

Returns the current tick offset - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Return type

Integer

MidiSequence_GetResolution(sequence)    Autotype

Get the base resolution of the sequence - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

MidiSequence_GetTrackCount(sequence)    Autotype

Returns the number of tracks in a loaded MIDI file - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Return type

Integer

MidiSequence_LoadMidiFile(sequence, fromFile)    Autotype

Loads a midi file and returns the number of tracks - Experimental - not yet supported - do not even ask!

Parameters
Return type

Integer

MidiSequence_MapOutputChannel(sequence, trackNumber, channel)    Autotype

Map the output channel for a track to the specified number between 1-16. Set to 0 to use individual event channel - Experimental - not yet supported - do not even ask!

Parameters
MidiSequence_Quantize(sequence, q)    Autotype

Grid quantize - 1 2 4 8 16 - Experimental - not yet supported - do not even ask!

Parameters
MidiSequence_ResetToStart(sequence)    Autotype

Reset to the beginning of the track - Experimental - not yet supported - do not even ask!

Parameters

sequence (MidiSequence) –

Songs

GetActiveSetlistIndex()    Autotype

Get the index of the currently active setlist - returns -1 if not in setlist mode

GetCurrentSetlistName()    Autotype

Get the name of the current setlist

Return type

String

GetCurrentSongIndex()    Autotype

Get the index of the current song - negative 1 if it does not exist

Return type

Integer

GetCurrentSongName()    Autotype

Get the name of the current song

Return type

String

GetCurrentSongPart()    Autotype

Get the index of the current song part

Return type

Integer

GetCurrentSongPartName()    Autotype

Get the name of the current song part

Return type

String

GetSetlistCount()    Autotype

Returns the number of setlists

Return type

Integer

GetSetlistName(index)    Autotype

Get the name of the setlist at the given index

Parameters

index (Integer) –

Return type

String

GetSongArtistName(index)    Autotype

Get the artist name of the song at the given index

Parameters

index (Integer) –

Return type

String

GetSongBPM(index)    Autotype

Get the BPM of the song at the given index

Parameters

index (Integer) –

Return type

Double

GetSongCount()    Autotype

Returns the number of songs in the current setlist

Return type

Integer

GetSongIndex(songname)    Autotype

Get the index of the song for the given name - negative 1 if it does not exist

Parameters

songname (String) –

Return type

Integer

GetSongKeySignature(index)    Autotype

Get the key signature of the song at the given index

Parameters

index (Integer) –

Return type

String

GetSongName(index)    Autotype

Get the name of the song at the given index

Parameters

index (Integer) –

Return type

String

GetSongPartCount()    Autotype

Returns the number of parts in the current song

Return type

Integer

GetSongPartName(index)    Autotype

Get the name of the song part at the given index

Parameters

index (Integer) –

Return type

String

GetSongTimeSigDenominator(index)    Autotype

Get the denominator of the time signature of the song at the given index

Parameters

index (Integer) –

Return type

Integer

GetSongTimeSigNumerator(index)    Autotype

Get the numerator of the time signature of the song at the given index

Parameters

index (Integer) –

Return type

Integer

GetSongTranspose(index)    Autotype

Get the transpose amount of the song at the given index

Parameters

index (Integer) –

Return type

Integer

InSetlistMode()    Autotype

Returns whether we are currently in setlist mode

Return type

Boolean

NextSong()    Autotype

Move to the next song

PrevSong()    Autotype

Move to the previous song

SetSongPart(index)    Autotype

Switch to another part in the current song

Parameters

index (Integer) –

SongMoveDown()    Autotype

Move to the next part or next song if allowed

SongMoveUp()    Autotype

Move to the previous part or previous song if allowed

SongNextPart()    Autotype

Move to the next song part of the current song

SongPrevPart()    Autotype

Move to the previous song part of the current song

SwitchToSetlistByIndex(index)    Autotype

Switch to the setlist associated with this index

Parameters

index (Integer) –

SwitchToSetlistByName(name)    Autotype

Switch to the named setlist

Parameters

name (String) –

SwitchToSongByIndex(songIndex, partIndex)    Autotype

Switch to the specified song and part

Parameters
Return type

Boolean

Strings

BoolToString(b)    Autotype

Returns a string representation of a boolean value

Parameters

b (Boolean) –

Return type

String

CopySubstring(source, startIndex, length)    Autotype

Return the section of the source string based on the start index and desired length

Parameters
Return type

String

DoubleToString(d, places)    Autotype

Converts a double to a string with the specified number of places

Parameters
Return type

String

FileExists(filename)    Autotype

Check if a file exists - experimental and unsupported - this could easily blow up Gig Performer or overwrite - returns whether saved

Parameters

filename (String) –

Return type

Boolean

GigPerformerDocumentsFolder()    Autotype

Returns the root folder where GP content is stored

Return type

String

IndexOfSubstring(source, substring, caseSensitive)    Autotype

Return the zero-based index of the substring or -1 if substring not found

Parameters
Return type

Integer

IntTo7BitHexString(i, minByteLength)    Autotype

Converts an integer number to at least minByteLength sequence of 7 bit hex bytes - intended for use with sysex messages

Parameters
Return type

String

IntToHex(i)    Autotype

Converts an integer number to its hex equivalent

Deprecated

Use IntToHexString()

Parameters

i (Integer) –

Return type

String

IntToHexString(i)    Autotype

Converts an integer number to its hex equivalent

Parameters

i (Integer) –

Return type

String

IntToString(i)    Autotype

Returns a string representation of an integer value

Parameters

i (Integer) –

Return type

String

Length(s)    Autotype

Returns the length of a string

Parameters

s (String) –

Return type

Integer

LoadStringFromTextFile(filename)    Autotype

Load the contents of a file into a string - experimental and unsupported - this could easily blow up Gig Performer

Parameters

filename (String) –

Return type

String

MapValueToDiscreteString(x, values)    Autotype

Select a string based on the proportional fractional value between 0.0 and 1.0

Parameters
Return type

String

NoteNameToNoteNumber(s)    Autotype

returns integer value of a note name

Parameters

s (String) –

Return type

Integer

NoteNumberToNoteName(i)    Autotype

Returns a string representation of an integer note number

Parameters

i (Integer) –

Return type

String

ParseCSVString(line)    Autotype

Breaksup a single line of a CSV into its parts

Parameters

line (String) –

Return type

String array

ReplaceString(source, replaceThis, withThat, caseSensitive)    Autotype

Replace a substring with another string

Parameters
Return type

String

ReplaceStringSection(source, startIndex, length, newSubstring)    Autotype

Extract a substring defined by startIndex and length and insert a new substring into that position

Parameters
Return type

String

SaveStringToTextFile(filename, text)    Autotype

Save a string to a file - experimental and unsupported - this could easily blow up Gig Performer or overwrite - returns whether saved

Parameters
Return type

Boolean

StringAfterFirstOccurence(source, substringToStartFrom, includeSubstring, ignoreCase)    Autotype

Return the section of the source string after the first occurrence of substringToStartFrom - optionally including the substring

Parameters
Return type

String

StringAfterFirstOccurrence(source, substringToStartFrom, includeSubstring, ignoreCase)    Autotype

Return the section of the source string after the first occurrence of substringToStartFrom - optionally including the substring

Parameters
Return type

String

StringAfterLastOccurence(source, substringToFind, includeSubstring, ignoreCase)    Autotype

Return the section of the source string after the last occurrence of substringToFind - optionally including the substring

Parameters
Return type

String

StringAfterLastOccurrence(source, substringToFind, includeSubstring, ignoreCase)    Autotype

Return the section of the source string after the last occurrence of substringToFind - optionally including the substring

Parameters
Return type

String

StringToBool(s)    Autotype

returns true if string = “true” otherwise false

Parameters

s (String) –

Return type

Boolean

StringToDouble(s)    Autotype

returns double value of string

Parameters

s (String) –

Return type

Double

StringToHex(s)    Autotype

Converts text characters to their hex equivalent values - intended for use with sysex messages

Deprecated

Use StringToHexString()

Parameters

s (String) –

Return type

String

StringToHexString(s)    Autotype

Converts text characters to their hex equivalent values - intended for use with sysex messages

Parameters

s (String) –

Return type

String

StringToInt(s)    Autotype

returns integer value of string

Parameters

s (String) –

Return type

Integer

StringUpToFirstOccurence(source, substringToEndWith, includeSubstring, ignoreCase)    Autotype

Return the section of the source string up to the first occurrence of substringToEndWith - optionally including the substring

Parameters
Return type

String

StringUpToFirstOccurrence(source, substringToEndWith, includeSubstring, ignoreCase)    Autotype

Return the section of the source string up to the first occurrence of substringToEndWith - optionally including the substring

Parameters
Return type

String

StringUpToLastOccurence(source, substringToFind, includeSubstring, ignoreCase)    Autotype

Return the section of the source string up to the last occurrence of substringToFind - optionally including the substring

Parameters
Return type

String

StringUpToLastOccurrence(source, substringToFind, includeSubstring, ignoreCase)    Autotype

Return the section of the source string up to the last occurrence of substringToFind - optionally including the substring

Parameters
Return type

String

ToLowercase(s)    Autotype

returns double value of string

Parameters

s (String) –

Return type

String

ToUppercase(s)    Autotype

returns double value of string

Parameters

s (String) –

Return type

String

TrimString(source)    Autotype

Remove leading and trailing spaces from a string

Parameters

source (String) –

Return type

String

Sysex

SM_ChangeValue(sm, index, newValue)    Autotype

Change a byte of a sysex message at some index starting at 0. Note that the F0 and F7 bytes cannot themselves be changed

Parameters
SM_CreateSysex(sm, m)    Autotype

Store a sysex message efficiently for manipulation and sending

Deprecated

It is no longer necessary to create sysex objects

Parameters
SM_CreateSysexFromString(sm, s)    Autotype

Interpret a string as a sysex and store it for manipulation and sending

Deprecated

Strings can now be assigned directly to variables of type SysexMessage

Parameters
SM_GetByte(sm, index)    Autotype

Gets the byte at the specified index

Deprecated

Use SM_GetValue()

Parameters
Return type

Integer

SM_GetValue(sm, index)    Autotype

Gets the byte at the specified index

Parameters
Return type

Integer

SM_GetValues(sm, first, second)    Autotype

Gets the combined bytes starting at the specified index

Parameters
Return type

Integer

SM_Length(sm)    Autotype

Returns the length of a system message

Parameters

sm (SysexMessage) –

Return type

Integer

SM_Pretty(m, blockSize, uppercase)    Autotype

Returns a nicely formatted sysex message - possibly breaking it up into small blocks between 1 and 8 - blocksize of 0 will display indexing

Parameters
Return type

String

SM_SendMidiIn(sm, midiIn)    Autotype

Send a stored sysex message from a MidiIn block

Deprecated

Use SendSysexInternalNow()

Parameters
SM_SendMidiOut(sm, midiOut)    Autotype

Send a stored sysex message from a MidiOut block to an external MIDI device

Deprecated

SendSysexExternal

Parameters
SM_SendMidiOutNow(midiOut, sm)    Autotype

Send a sysex message through a MidiOut block to an external MIDI device

Deprecated

SendSysexExternal

Parameters
SendSysexExternal(p, m)    Autotype

Send a MIDI sysex message out immediately through a MIDI Out block

Parameters
SendSysexInternal(p, m)    Autotype

Send a MIDI sysex message out immediately from a MIDI In block

Deprecated

Use SendSysexInternalNow()

Parameters
SendSysexInternalLater(p, m, delayInMS)    Autotype

Send a MIDI sysex message out at some specified time in the future from a MIDI In block

Parameters
SendSysexInternalNow(p, m)    Autotype

Send a MIDI sysex message out immediately from a MIDI In block

Parameters
SendSysexNowToMidiOutDevice(deviceName, m)    Autotype

Send a MIDI sysex message out immediately through a MIDI output device

Parameters

System

AltKeyDown()    Autotype

See if alt key is down

Return type

Boolean

ClearLogWindow()    Autotype

Clear the script log window - duh!

ClockTime()    Autotype

Gets the current time in milliseconds

Return type

Double

CloseLogWindow()    Autotype

Close the script log window - duh!

CloseScriptWindow()    Autotype

Close the script editor window - if open - for the current rackspace

EnableMetronome(enable)    Autotype

Turn the metronome on or off

Parameters

enable (Boolean) –

EnablePlayhead(enable)    Autotype

Start or stop the global playhead

Parameters

enable (Boolean) –

FormatTime(timeInMS, format)    Autotype

Returns a formatted timestamp from a given time in milliseconds

Parameters
Return type

String

GetBPM()    Autotype

Returns the current global BPM value

Return type

Double

GetGlobalTranspose()    Autotype

Get the current transpose value

Return type

Integer

GetMetronomeVolume()    Autotype

Get the metronome volume

Return type

Double

GetTimeSigDenominator()    Autotype

Get the denominator of the global time signature

Return type

Integer

GetTimeSigNumerator()    Autotype

Get the numerator of the globaltime signature

Return type

Integer

IsMetronomeEnabled()    Autotype

See if metronome is running

Return type

Boolean

IsPlayheadEnabled()    Autotype

Indicates whether the playhead is running

Return type

Boolean

ModifierKeys()    Autotype

Returns the state of the various modifier keys: 1-Shift 2-Ctrl 4-Option 8-Cmd

Return type

Integer

Notify(s)    Autotype

Displays a message on main window that will fade out

Parameters

s (String) –

OpenLogWindow()    Autotype

Open the script log window - duh!

OpenScriptWindow()    Autotype

Open the script editor window for the current rackspace

Panic()    Autotype

Stop all notes in the current rackspace

PlayNote(p, noteNumber, velocity, channel, startTimeMS, duration)    Autotype

Send a noteOn event at startTimeMS and a noteOff event at durationMS later. If duration is less than 1 then we make it 1

Parameters
PlayNotes(p, noteNumbers, velocity, channel, startTimeMS, duration)    Autotype

Play a collection of note at startTimeMS and stop them durationMS later. If duration is less than 1 then we make it 1

Parameters
Print(s)    Autotype

Displays the string in the GPScript Logger window

Parameters

s (String) –

RecordInputs(enable)    Autotype

Start or stop recording audio input to file

Parameters

enable (Boolean) –

ScheduleMidiEvent(p, m, delayInMS)    Autotype

Schedule a MIDI event to be reprocessed at some specified time in the future

Parameters
SendLater(p, m, delayInMS)    Autotype

Schedule a MIDI event to be sent out at some specified time in the future

Parameters
SendNoteMessageWithTranspositionsLater(p, m, transpositions, delayInMS)    Autotype

Send multiple MIDI noteon or noteoff events out some milliseconds later using note number added to each offset in the array

Parameters
SendNoteMessageWithTranspositionsNow(p, m, transpositions)    Autotype

Send multiple note on or note off events out immediately using note number added to each offset in the array

Parameters
SendNoteMessagesLater(p, noteNumbers, velocity, channel, delayInMS)    Autotype

Create a chord of note on or off events using the array of note numbers and send it out some milliseconds later

Parameters
SendNoteMessagesNow(p, noteNumbers, velocity, channel)    Autotype

Create a chord of note on or off events using the array of note numbers and send it out immediately

Parameters
SendNowExternal(p, m)    Autotype

Send a MIDI event out immediately through a MIDI Out block

Parameters
SendNowRespectingParameters(p, m)    Autotype

Send a MIDI event out after applying MidiInBlock parameters

Parameters
SetBPM(bpm)    Autotype

Set the global BPM value

Parameters

bpm (Double) –

SetGlobalTranspose(semitones)    Autotype

Transpose all incoming MIDI messages by semitones amount

Parameters

semitones (Integer) –

SetMetronomeVolume(volume)    Autotype

Set the metronome volume

Parameters

volume (Double) –

SetTimeSignatureDenominator(denominator)    Autotype

Set the denominator of global time signature

Parameters

denominator (Integer) –

SetTimeSignatureNumerator(numerator)    Autotype

Set the numerator of the global time signature

Parameters

numerator (Integer) –

SetWindowTitle(title)    Autotype

Changes the default rackspace title to the title

Parameters

title (String) –

Shell(command)    Autotype

Run an OS Shell command (Mac only) returning an integer indicating success or failure

Parameters

command (String) –

Return type

Integer

ShellEx(command)    Autotype

Run an OS Shell command (Mac only) that returns the output of the command

Parameters

command (String) –

Return type

String

ShiftKeyDown()    Autotype

See if shift key is down

Return type

Boolean

ShowChordProWindow(show)    Autotype

Show or hide the ChordPro Window

Parameters

show (Boolean) –

SwitchToProgramNumber(programNumber, bankNumber)    Autotype

Switch to zero-based program number and bank Number if latter is greater than -1

Parameters
Tap()    Autotype

Simulates tap tempo command

TimeNow()    Autotype

Gets the current time in milliseconds - deprecated

Deprecated

Use TimeSinceStartup()

Return type

Integer

TimeSinceStartup()    Autotype

Gets the time since computer was started in milliseconds

Return type

Double

Widgets

BindExternalWidget(ew, widgetName, rackspaceName)    Autotype

Access a widget in another rackspace - boolean return value indicates whether widget was found - experimental

Parameters
Return type

Boolean

BindWidget(ew, widgetName)    Autotype

Access a widget in the rackspace containing this scriptlet - boolean return value indicates whether widget was found - experimental

Parameters
Return type

Boolean

GetExternalWidgetValue(ew)    Autotype

Get the current value of an external widget - experimental

Parameters

ew (ExternalWidget) –

Return type

Double

GetWidgetBounds(p, bounds)    Autotype

Fill the first four fields of the bounds array with the widget position and size on a panel

Parameters
GetWidgetCurveValue(w, x)    Autotype

For some value x - returns the y value of a widget after applying the scale curve to it

Parameters
Return type

Double

GetWidgetLabel(w)    Autotype

Get the label of a widget

Parameters

w (Widget) –

Return type

String

GetWidgetPreviousValue(w)    Autotype

Gets the previous value (position) of the widget. The value will be between 0.0 and 1.0

Parameters

w (Widget) –

Return type

Double

GetWidgetResetValue(w)    Autotype

Gets the reset value of the widget

Parameters

w (Widget) –

Return type

Double

GetWidgetScriptName(p)    Autotype

Gets the scripting name of this widget. Useful when widget is passed as a parameter somewhere

Parameters

p (Widget) –

Return type

String

GetWidgetValue(w)    Autotype

Gets the current value (position) of the widget. The value will be between 0.0 and 1.0

Parameters

w (Widget) –

Return type

Double

MapWidgetToPlugin(w, plugin, parameterNumber)    Autotype

Map a widget to the specified parameter of the specified plugin

Parameters
RedrawWidgetCurve(w)    Autotype

Redraw the curve after making changes to it

Parameters

w (Widget) –

ResetWidgetValue(p)    Autotype

Reset the widget to its default value - same as double clicking on the widget

Parameters

p (Widget) –

ResyncWidget(p)    Autotype

Resend the message to sync an external associated physical control with the widget

Parameters

p (Widget) –

SetExternalWidgetValue(ew, newValue)    Autotype

Set the current value of an external widget - experimental

Parameters
SetExternalWidgetValueEx(ew, newValue)    Autotype

Set the current value of an external widget - experimental - uses modulo arithmetic

Parameters
SetWidgetBounds(p, bounds)    Autotype

Set a widget x y width height on a panel from the first four fields of the bound array

Parameters
SetWidgetCurveValue(w, x, y)    Autotype

Returns the value of a widget after applying the scale curve to it

Parameters
SetWidgetLabel(w, text)    Autotype

Set the label of a widget

Parameters
SetWidgetResetValue(p, value)    Autotype

Set the reset value of any widget

Parameters
SetWidgetValue(p, value)    Autotype

Set the current value of any widget

Parameters
SetWidgetValueEx(p, value)    Autotype

Set the current value of any widget - uses modulo arithmetic

Parameters

Windows

GPWindowToBack()    Autotype

Put this GP main window behind other windows

GPWindowToFront()    Autotype

Bring this GP window to the front

GPWindowVisible(visible)    Autotype

Show or hide GP window

Parameters

visible (Boolean) –

GetGPWindowKioskMode()    Autotype

Get whether Gig Performer is in kiosk mode

Return type

Boolean

GetGPWindowState()    Autotype

Get the current state of the main window

Return type

String

GetGPWindowVisible()    Autotype

See if main window is visible

Return type

Boolean

MinimizeOrRestoreGPWindow(minimize)    Autotype

Minimize or restore the GP main window

Parameters

minimize (Boolean) –

SetGPWindowFullScreen(fullScreen)    Autotype

Make the GP window be full screen or not fullscreen

Parameters

fullScreen (Boolean) –

SetGPWindowKioskMode(kiosk)    Autotype

Make the GP window be kiosk or not kiosk

Parameters

kiosk (Boolean) –

SetGPWindowState(state)    Autotype

Set the state of the main window

Parameters

state (String) –