initialAzimuthInDegrees property
Initial desired angular position of the upcoming audio cue. For example, for a maneuver such as
"Turn right on" (ManeuverAction.RightTurn) we want to create a spatial audio arc trajectory
from the front to the right, mimicking the maneuver geometry.
In this case, it is good practice to start the trajectory from an initial azimuth that is located
slightly on the opposite direction of the maneuver (e.g. slightly starting from "front-left")
and terminate the trajectory fully on the right side. The initial azimuth angle of such
a trajectory would be, for example, -5.0 (slightly front-left).
This azimuth value is needed to set the position of the audio renderer before starting to play
the audio cue to avoid unwanted audio "jumps".
The orientation in space for SpatialNotificationDetails.initialAzimuthInDegrees can be represented by the
following angular values:
| Front | Right | Rear | Left |
|---|---|---|---|
| 0° | +90° | +- 180 | -90° |
Implementation
double initialAzimuthInDegrees;