Home | History | Annotate | Download | only in audio

Lines Matching defs:azimuth

105 int HRTFPanner::calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend)
107 // Convert the azimuth angle from the range -180 -> +180 into the range 0 -> 360.
108 // The azimuth index may then be calculated from this positive value.
109 if (azimuth < 0)
110 azimuth += 360.0;
118 // Calculate the azimuth index and the blend (0 -> 1) for interpolation.
119 double desiredAzimuthIndexFloat = azimuth / angleBetweenAzimuths;
123 // We don't immediately start using this azimuth index, but instead approach this index from the last index we rendered at.
153 // IRCAM HRTF azimuths values from the loaded database is reversed from the panner's notion of azimuth.
154 double azimuth = -desiredAzimuth;
156 bool isAzimuthGood = azimuth >= -180.0 && azimuth <= 180.0;
175 int desiredAzimuthIndex = calculateDesiredAzimuthIndexAndBlend(azimuth, azimuthBlend);
177 // Initially snap azimuth and elevation values to first values encountered.
192 // Check for azimuth and elevation changes, initiating a cross-fade if needed.