List of Types¶
Primitive types¶
- type Boolean Autotype¶
This represents a boolean type, which essentially means: Values of this type can only have two values: true and false. This makes it well-suited for logical operations.
- type Double Autotype¶
This represents decimal (floating point 1) numbers. For most purposes, operations with them behave exactly like they would on a calculator. All numbers with a decimal point that you write in GPScript are interpreted as
Double
.
- type Integer Autotype¶
This type represents integers. Because of that, some operations behave differently as when performed with
Double
. For example, the result of3 / 2
is not 1.5 as this would not be an integer but a decimal number. Instead, the decimal part is cut off and the result is actually 1. All numbers without a decimal point that you write in GPScript are interpreted asInteger
.
Opaque and Hybrid types¶
- type ADSR Autotype¶
- Scope
global only
- type AfterTouchMessage Autotype¶
- type AutoSustainer Autotype¶
- type Block Autotype¶
- type ChordRecognizer Autotype¶
- type Continuous Autotype¶
- type ControlChangeMessage Autotype¶
- type CurveComponent Autotype¶
- type Discrete Autotype¶
- type ExternalApplication Autotype¶
- type ExternalWidget Autotype¶
- type Generator Autotype¶
- type MidiInBlock Autotype¶
- type MidiInDeviceAlias Autotype¶
- type MidiMessage Autotype¶
- type MidiOutBlock Autotype¶
- type MidiSequence Autotype¶
- type MultiChannelNoteTracker Autotype¶
- type NoteMapper Autotype¶
- type NoteMessage Autotype¶
- type NoteTracker Autotype¶
- type OSCMessage Autotype¶
- type Parameter Autotype¶
- type PitchBendMessage Autotype¶
- type PolyTouchMessage Autotype¶
- type ProgramChangeMessage Autotype¶
- type String Autotype¶
- type Subrange Autotype¶
- type SysexManager Autotype¶
- type SysexMessage Autotype¶
- type ThresholdDetector Autotype¶
- type Widget Autotype¶
Footnotes
- 1
GPScript uses 64-bit floating point numbers.