> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Messages List

There are 3 types of messages:

* The control messages, corresponding to a global instruction, such as initialization.
* The event service messages, such as the loading or triggering of a sound source.
* The recurrent service messages sent periodically, corresponding to updates of the listener position or the sources positions.

## Control Messages

<table>
  <thead>
    <tr>
      <th>**Keyword**</th>
      <th>**Data**</th>
      <th>**Comments**</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>GLOBAL\_3D\_MODE</td>
      <td>Rendering Mode (string)</td>
      <td>The rendering modes are:\
      Binaural\
      VBAP\
      Transaural\
      DoubleTransaural\
      Ambisonic</td>
    </tr>

    <tr>
      <td>API\_COORDINATES\_MODE</td>
      <td>Coordinate Mode (string)</td>
      <td>The available coordinate modes are:\
      A - Virtools/Unity\
      B - Polhemus\
      C - Angular mode</td>
    </tr>
  </tbody>
</table>

## Event Service Messages

<table>
  <thead>
    <tr>
      <th>**Keyword**</th>
      <th>**Data**</th>
      <th>**Comments**</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td rowspan="2">SOUND\_LOAD</td>
      <td>Sound ID (int, from 0 to 32765)</td>
      <td>Preload a sound file and assign it the specified ID as a
      reference for later use</td>
    </tr>

    <tr>
      <td>
        File name (string)
      </td>

      <td>Full path of the sound file including extension</td>
    </tr>

    <tr>
      <td rowspan="5">SOUND\_PLAY\_3D</td>
      <td>Source ID (int, from 0 to 20)</td>
      <td>Play the 3D sound source identified by the specified ID</td>
    </tr>

    <tr>
      <td>Sound ID (int)</td>
      <td>ID of the preloaded sound (message SOUND\_LOAD)
      that should be played as this sound source</td>
    </tr>

    <tr>
      <td>Number of playback loops (int)</td>
      <td>Number of playback loops: -1 means infinite loop</td>
    </tr>

    <tr>
      <td>Volume (float, gain in dB)</td>
      <td>Initial volume</td>
    </tr>

    <tr>
      <td>
        x (float)y (float)z (float)
      </td>

      <td>Initial position of the source</td>
    </tr>

    <tr>
      <td rowspan="7">INTERP\_SOUND\_PLAY</td>
      <td>Source ID (int, from 1 to 10)</td>
      <td>Play the 3D interpolated sound source identified by the specified ID</td>
    </tr>

    <tr>
      <td>Volume (float, gain in dB)</td>
      <td>Initial volume</td>
    </tr>

    <tr>
      <td>
        x (float)y (float)z (float)
      </td>

      <td>Initial position of the source</td>
    </tr>

    <tr>
      <td>Spat (int 0/1)</td>
      <td>Spatialization off/on</td>
    </tr>

    <tr>
      <td>Tracker (int 0/1)</td>
      <td>Tracking off/on</td>
    </tr>

    <tr>
      <td>Solo (int 0/1)</td>
      <td>Solo off/on</td>
    </tr>

    <tr>
      <td>Mute (int 0/1)</td>
      <td>Mute off/on</td>
    </tr>

    <tr>
      <td rowspan="7">SOUND\_PLAY\_AMBIANCE</td>
      <td>Source ID (int, from 1 to 2)</td>
      <td>Play the ambiance sound source identified by the specified ID</td>
    </tr>

    <tr>
      <td>Sound ID (int)</td>
      <td>ID of the preloaded sound (message SOUND\_LOAD)
      that should be played as this sound source</td>
    </tr>

    <tr>
      <td>Number of playback loops (int)</td>
      <td>Number of playback loops: -1 means infinite loop</td>
    </tr>

    <tr>
      <td>Volume (float, gain in dB)</td>
      <td>Initial volume</td>
    </tr>

    <tr>
      <td>Solo (int 0/1)</td>
      <td>Solo off/on</td>
    </tr>

    <tr>
      <td>Mute (int 0/1)</td>
      <td>Mute off/on</td>
    </tr>

    <tr>
      <td>Speed (float)</td>
      <td>Playback speed (1 is the normal speed).
      Changing the values also affects the pitch.</td>
    </tr>

    <tr>
      <td rowspan="8">INPUTCHANNEL\_SOUND\_PLAY</td>
      <td>Source ID (int, from 1 to 3)</td>

      <td>
        Play the 3D input audio stream identified by the specified ID
      </td>
    </tr>

    <tr>
      <td>Channel index (int)</td>
      <td>Index of the sound card’s input channel to use as 3D input audio stream</td>
    </tr>

    <tr>
      <td>Volume (float, gain in dB)</td>
      <td>Initial volume</td>
    </tr>

    <tr>
      <td>
        x (float)y (float)z (float)
      </td>

      <td>Initial position of the source</td>
    </tr>

    <tr>
      <td>Spat (int 0/1)</td>
      <td>Spatialization off/on</td>
    </tr>

    <tr>
      <td>Tracker (int 0/1)</td>
      <td>Tracking off/on</td>
    </tr>

    <tr>
      <td>Solo (int 0/1)</td>
      <td>Solo off/on</td>
    </tr>

    <tr>
      <td>Mute (int 0/1)</td>
      <td>Mute off/on</td>
    </tr>

    <tr>
      <td>SOUND\_STOP\_3D</td>
      <td>Source ID (int, from 1 to 20)</td>
      <td>Stop the playback of the 3D sound source
      identified by the specified ID</td>
    </tr>

    <tr>
      <td>INTERP\_SOUND\_STOP</td>
      <td>Source ID (int, from 1 to 10)</td>
      <td>Stop the playback of the 3D interpolated sound source
      identified by the specified ID</td>
    </tr>

    <tr>
      <td>SOUND\_STOP\_AMBIANCE</td>
      <td>Source ID (int, from 1 to 2)</td>
      <td>Stop the playback of the ambiance sound source
      identified by the specified ID</td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_SOUND\_STOP</td>
      <td>Source ID (int, from 1 to 3)</td>
      <td>Stop the playback of the 3D input audio stream
      identified by the specified ID</td>
    </tr>

    <tr>
      <td>SOUND\_VOLUME\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Volume (float, gain in dB)
      </td>

      <td>
        Change the sound volume of the 3D sound source
        identified by the specified ID0 dB = unitary gainMaximum gain allowed = 20 dB
      </td>
    </tr>

    <tr>
      <td>INTERP\_SOUND\_VOLUME</td>

      <td>
        Source ID (int, from 1 to 10)Volume (float, gain in dB)
      </td>

      <td>
        Change the sound volume of the 3D interpolated sound source
        identified by the specified ID0 dB = unitary gainMaximum gain allowed = 10 dB
      </td>
    </tr>

    <tr>
      <td>SOUND\_VOLUME\_AMBIANCE</td>

      <td>
        Source ID (int, from 1 to 2)Volume (float, gain in dB)
      </td>

      <td>
        Change the sound volume of the ambiance sound source
        identified by the specified ID0 dB = unitary gainMaximum gain allowed = 20 dB
      </td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_VOLUME</td>

      <td>
        Source ID (int, from 1 to 3)Volume (float, gain in dB)
      </td>

      <td>
        Change the sound volume of the 3D input stream
        identified by the specified ID0 dB = unitary gainMaximum gain allowed = 20 dB
      </td>
    </tr>

    <tr>
      <td>SOLO\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Solo info (int 0/1)
      </td>

      <td>When solo is activated (1) for a 3D sound source,
      all other non-soloed 3D sound sources are muted.</td>
    </tr>

    <tr>
      <td>INTERP\_SOLO</td>

      <td>
        Source ID (int, from 1 to 10)Solo info (int 0/1)
      </td>

      <td>When solo is activated (1) for a 3D interpolated sound source,
      all other non-soloed 3D interpolated sound sources are muted.</td>
    </tr>

    <tr>
      <td>SOLO\_AMBIANCE</td>

      <td>
        Source ID (int, from 1 to 2)Solo info (int 0/1)
      </td>

      <td>When solo is activated (1) for an ambiance sound source,
      all other non-soloed ambiance sound sources are muted.</td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_SOLO</td>

      <td>
        Source ID (int, from 1 to 3)Solo info (int 0/1)
      </td>

      <td>When solo is activated (1) for a 3D input stream,
      all other non-soloed input streams are muted.</td>
    </tr>

    <tr>
      <td>MUTE\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Mute info (int 0/1)
      </td>

      <td>When mute is activated (1) for a 3D sound source, it becomes silent.</td>
    </tr>

    <tr>
      <td>INTERP\_MUTE</td>

      <td>
        Source ID (int, from 1 to 10)Mute info (int 0/1)
      </td>

      <td>When mute is activated (1) for a 3D interpolated sound source, it becomes silent.</td>
    </tr>

    <tr>
      <td>MUTE\_AMBIANCE</td>

      <td>
        Source ID (int, from 1 to 2)Mute info (int 0/1)
      </td>

      <td>When mute is activated (1) for an ambiance sound source, it becomes silent.</td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_MUTE</td>

      <td>
        Source ID (int, from 1 to 3)Mute info (int 0/1)
      </td>

      <td>When mute is activated (1) for a 3D input stream, it becomes silent.</td>
    </tr>

    <tr>
      <td>ACTIVE\_SPAT\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Spat info (int 0/1)
      </td>

      <td>
        For binaural or transaural restitution only. When spatialization
        is activated (1), the sound can be perceived in 3D.
      </td>
    </tr>

    <tr>
      <td>INTERP\_ACTIVE\_SPAT</td>

      <td>
        Source ID (int, from 1 to 10)Spat info (int 0/1)
      </td>

      <td>
        For binaural or transaural restitution only. When spatialization
        is activated (1), the sound can be perceived in 3D.
      </td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_ACTIVE\_SPAT</td>

      <td>
        Source ID (int, from 1 to 3)Spat info (int 0/1)
      </td>

      <td>
        For binaural or transaural restitution only. When spatialization
        is activated (1), the sound can be perceived in 3D.
      </td>
    </tr>

    <tr>
      <td>ACTIVE\_TRACKING\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Head-tracking info (int 0/1)
      </td>

      <td>
        For binaural restitution only. When head-tracking
        is activated (1), the apparent source position remains the same
        however the listener moves their head.
      </td>
    </tr>

    <tr>
      <td>INTERP\_ACTIVE\_TRACKING</td>

      <td>
        Source ID (int, from 1 to 10)Head-tracking info (int 0/1)
      </td>

      <td>
        For binaural restitution only. When head-tracking
        is activated (1), the apparent source position remains the same
        however the listener moves their head.
      </td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_ACTIVE\_TRACKING</td>

      <td>
        Source ID (int, from 1 to 3)Head-tracking info (int 0/1)
      </td>

      <td>
        For binaural restitution only. When head-tracking is
        activated (1), the apparent source position remains the same
        however the listener moves their head.
      </td>
    </tr>

    <tr>
      <td>SPEED\_3D</td>

      <td>
        Source ID (int, from 1 to 20)Playback speed (float)
      </td>

      <td>
        Playback speed for the 3D sound source identified by the
        specified ID (1 is the normal speed). Changing the
        value also affects the pitch.
      </td>
    </tr>

    <tr>
      <td>SPEED\_AMBIANCE</td>

      <td>
        Source ID (int, from 1 to 2)Playback speed (float)
      </td>

      <td>
        Playback speed for the ambiance sound source identified by the
        specified ID (1 is the normal speed). Changing
        the value also affects the pitch.
      </td>
    </tr>

    <tr>
      <td>3D\_SOURCE\_TRAJECTORY</td>

      <td>
        Source ID (int, from 1 to 20)File name (string)
      </td>

      <td>
        Load a trajectory for the 3D sound source
        identified by the specified IDFull path of the trajectory file including extension
      </td>
    </tr>

    <tr>
      <td>INTERP\_TRAJECTORY</td>

      <td>
        Source ID (int, from 1 to 10)File name (string)
      </td>

      <td>
        Load a trajectory for the 3D interpolated sound source
        identified by the specified IDFull path of the trajectory file including extension
      </td>
    </tr>

    <tr>
      <td>3D\_SOURCE\_DIFFUSENESS</td>

      <td>
        Source ID (int, from 1 to 20)Diffuseness value (int, %)
      </td>

      <td>
        For VBAP rendering mode only.Specify how diffuse the spatialization of the 3D sound
        source identified by the specified ID shall be.0% means the source is not spread, 100% means the source is totally
        surrounding and diffused over all speakers.
      </td>
    </tr>

    <tr>
      <td>INTERP\_SOURCE\_DIFFUSENESS</td>

      <td>
        Source ID (int, from 1 to 10)Diffuseness value (int, %)
      </td>

      <td>
        For VBAP rendering mode only.Specify how diffuse the spatialization of the 3D interpolated sound
        source identified by the specified ID shall be.0% means the source is not spread, 100% means the source is totally
        surrounding and diffused over all speakers.
      </td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_SOURCE\_DIFFUSENESS</td>

      <td>
        Source ID (int, from 1 to 3)Diffuseness value (int, %)
      </td>

      <td>
        For VBAP rendering mode only.Specify how diffuse the spatialization of the 3D input
        audio stream identified by the specified ID shall be.0% means the source is not spread, 100% means the source is
        surrounding and diffused over all speakers.
      </td>
    </tr>

    <tr>
      <td>INTERP\_CONTROL\_PARAM</td>

      <td>
        Source ID (int, from 1 to 10)Control parameter value (int)
      </td>

      <td>
        Depending on the type of source, the control parameter can be speed,
        RPM, or any parameter that has an influence on the rendering of the
        source.
      </td>
    </tr>

    <tr>
      <td>INTERP\_CONTROL\_PARAMETER\_FILE</td>

      <td>
        Source ID (int, from 1 to 10)FileName (string)
      </td>

      <td>
        File containing a sequence of control parameters (as above), varying with time.
      </td>
    </tr>

    <tr>
      <td>INTERP\_OVERLAP</td>

      <td>
        Source ID (int, from 1 to 10)Overlap value (int)
      </td>

      <td>
        This is the overlap value between two adjacent samples, in the same
        unit as the control parameter.
      </td>
    </tr>
  </tbody>
</table>

## Recurrent Service Messages

<table>
  <thead>
    <tr>
      <td> **Keyword** </td>
      <td> **Data** </td>
      <td> **Comments** </td>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td rowspan="3">HEAD\_POSITION\_3D</td>

      <td>
        x (float)y (float)z (float)
      </td>

      <td>
        Head coordinates
      </td>
    </tr>

    <tr>
      <td>
        Elevation (float)Azimuth (float)Roll (float)
      </td>

      <td>
        Coordinate Mode AHead orientation using Euler Angles in radians
      </td>
    </tr>

    <tr>
      <td>
        Azimuth (float)Elevation (float)Roll (float)
      </td>

      <td>
        Coordinate Mode BHead orientation using Euler Angles in radians
      </td>
    </tr>

    <tr>
      <td>SOURCE\_POSITION\_3D</td>

      <td>
        Source ID (int, from 1 to 20)x (float)y (float)z (float)
      </td>

      <td>
        3D sound source position update
      </td>
    </tr>

    <tr>
      <td>INTERP\_SOURCE\_POSITION</td>

      <td>
        Source ID (int, from 1 to 10)x (float)y (float)z (float)
      </td>

      <td>
        3D interpolated sound source position update
      </td>
    </tr>

    <tr>
      <td>INPUTCHANNEL\_POSITION</td>

      <td>
        Source ID (int, from 1 to 3)x (float)y (float)z (float)
      </td>

      <td>
        3D input audio stream position update
      </td>
    </tr>
  </tbody>
</table>
