ICST AmbiEncoder – OSC Syntax
OSC Syntax for the ICST AmbiEncoder Plugin
Level: Advanced | Audience: Technician, Developer, Max/OSC user.
The ICST AmbiEncoder supports OSC and JavaScript, enabling seamless communication with OSC tools such as TouchOSC, IanniX, MaxMSP, and other OSC-enabled software. This page is the syntax reference. For a practical quickstart and debugging sequence, use:
OSC Syntax & Address Specification
1. Accessing OSC Specifications
Click the question mark in the ICST AmbiEncoder.

Figure: OSC specifications in the Help section.
Available sections:
- Help (?)
- OSC Syntax
- Sections
2. Incoming OSC Messages
Messages can be:
- Index-based (source index), e.g.,
1 - Name-based (source name), e.g.,
flute
Set Source Position (AED Format)
/icst/ambi/source/aed [ChannelName] [Azimuth] [Elevation] [Distance]
/icst/ambi/source/aed 'S1' 45 10 0.8
Set Source Position (XYZ Format)
/icst/ambi/source/xyz [ChannelName] [X] [Y] [Z]
/icst/ambi/source/xyz 'S2' 0.2 0.2 0.0
Note: The channel name (e.g S1, S2) will be sent as symbol.
Set Source (Index) Position (AED Format)
/icst/ambi/sourceindex/aed [ChannelIndex] [Azimuth] [Elevation] [Distance]
/icst/ambi/sourceindex/aed 1 45 10 0.8
Set Source (Index) Position (XYZ Format)
/icst/ambi/sourceindex/xyz [ChannelIndex] [X] [Y] [Z]
/icst/ambi/sourceindex/xyz 2 0.2 0.2 0.0
Note: Channel indices are sent as integers.
Sending Positions for External Usage
- Open the ‘OSC Out’ tab.

Note: The ICST AmbiPlugins standard format sends source names as symbols. Max users should define a Custom OSC Message:
/icst/ambi/sourceindex/xyz {i} {x} {y} {z}
/icst/ambi/sourceindex/aed {i} {a} {e} {d}

Figure: Custom ‘OSC Out’ Editor
Internal OSC Communication
To send all AmbiEncoder movements to the ICST AmbiDecoder:
- Deactivate Speaker Edit Mode in the AmbiDecoder.
- Activate the OSC port.



Now, the AmbiDecoder receives all OSC messages from all connected AmbiEncoders.
Complete OSC reference (from the GitHub source code)
Derived from the plugin source code (OSCHandlerEncoder.h/.cpp). Adds all further supported addresses to the standard messages documented above.
Sources – by name
| OSC address | Arguments | Type | Description |
|---|---|---|---|
/icst/ambi/source/aed | [Name] [A] [E] [D] | string, float, float, float | Set position (azimuth/elevation/distance) by source name |
/icst/ambi/source/xyz | [Name] [X] [Y] [Z] | string, float, float, float | Set position (Cartesian) by source name |
/icst/ambi/source/gain | [Name] [Gain_dB] | string, float | Set gain by source name |
Sources – by index
| OSC address | Arguments | Type | Description |
|---|---|---|---|
/icst/ambi/sourceindex/aed | [Index] [A] [E] [D] | int, float, float, float | Set position (AED) by source index (1-based) |
/icst/ambi/sourceindex/xyz | [Index] [X] [Y] [Z] | int, float, float, float | Set position (XYZ) by source index (1-based) |
/icst/ambi/sourceindex/gain | [Index] [Gain_dB] | int, float | Set gain by source index |
/icst/ambi/sourceindex/name | [Index] [Name] | int, string | Set source name by index |
Groups
| OSC address | Arguments | Type | Description |
|---|---|---|---|
/icst/ambi/group/aed | [Name] [A] [E] [D] [MovePoints] | string, float, float, float, int | Set group position (AED); MovePoints: 0 = group only, 1 = with sources |
/icst/ambi/group/xyz | [Name] [X] [Y] [Z] [MovePoints] | string, float, float, float, int | Set group position (XYZ); MovePoints: 0/1 |
/icst/ambi/group/rotate | [Name] [Rx] [Ry] [Rz] | string, float, float, float | Rotate group relatively (Euler, degrees) |
/icst/ambi/group/setrotation/euler | [Name] [Rx] [Ry] [Rz] | string, float, float, float | Set absolute group rotation (Euler, degrees) |
/icst/ambi/group/setrotation/quaternion | [Name] [q1] [q2] [q3] [q4] | string, float×4 | Set absolute group rotation (quaternion) |
/icst/ambi/group/rotateorigin | [Name] [Rx] [Ry] [Rz] [MovePoints] | string, float, float, float, int | Rotate group around the origin |
/icst/ambi/group/stretch | [Name] [Factor] | string, float | Stretch/compress group relatively |
/icst/ambi/group/setstretch | [Name] [Factor] | string, float | Set absolute group stretch |
Distance encoding – single parameters
| OSC address | Arguments | Type | Description |
|---|---|---|---|
/icst/ambi/distanceencoding/mode | [Mode] | int | Mode: 0=Standard, 1=Advanced, 2=Exponential, 3=InverseProportional |
/icst/ambi/distanceencoding/unitcircle | [Radius] | float | Unit circle radius |
/icst/ambi/distanceencoding/dbunit | [dB] | float | dB unit for distance encoding |
/icst/ambi/distanceencoding/distanceattenuation | [Value] | float | Distance attenuation (Inverse Proportional only) |
/icst/ambi/distanceencoding/centercurve | [Value] | float | Center curve parameter |
/icst/ambi/distanceencoding/advancedfactor | [Value] | float | Advanced factor |
/icst/ambi/distanceencoding/advancedexponent | [Value] | float | Advanced exponent |
Distance encoding – combined presets
| OSC address | Arguments | Type | Description |
|---|---|---|---|
/icst/ambi/distanceencoding/standard | [UnitCircleRadius] | float | Set Standard mode + unit circle |
/icst/ambi/distanceencoding/advanced | [UnitCircle] [Factor] [Exponent] | float, float, float | Advanced mode with 3 parameters |
/icst/ambi/distanceencoding/exponential | [UnitCircle] [dBUnit] [CenterCurve] | float, float, float | Exponential mode with 3 parameters |
/icst/ambi/distanceencoding/inverseproportional | [UnitCircle] [dBUnit] [CenterCurve] [DistAttn] | float, float, float, float | Inverse Proportional mode with 4 parameters |
OSC Out – custom message formats
| Format | Description |
|---|---|
/icst/ambi/sourceindex/xyz {i} {x} {y} {z} | Position output by index (XYZ) |
/icst/ambi/sourceindex/aed {i} {a} {e} {d} | Position output by index (AED) |
MuseScore SSMN compatibility
| OSC address | Arguments | Description |
|---|---|---|
/aed | [CH] [A] [E] [D] [CH_check] | MuseScore SSMN format (int, float, float, float, int) |
Diagrams and explainer videos created with the help of Claude (Anthropic). →
