Home | History | Annotate | Download | only in audio

Lines Matching defs:azimuth

89 int HRTFPanner::calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend)
91 // Convert the azimuth angle from the range -180 -> +180 into the range 0 -> 360.
92 // The azimuth index may then be calculated from this positive value.
93 if (azimuth < 0)
94 azimuth += 360.0;
102 // Calculate the azimuth index and the blend (0 -> 1) for interpolation.
103 double desiredAzimuthIndexFloat = azimuth / angleBetweenAzimuths;
107 // We don't immediately start using this azimuth index, but instead approach this index from the last index we rendered at.
138 // IRCAM HRTF azimuths values from the loaded database is reversed from the panner's notion of azimuth.
139 double azimuth = -desiredAzimuth;
141 bool isAzimuthGood = azimuth >= -180.0 && azimuth <= 180.0;
160 int desiredAzimuthIndex = calculateDesiredAzimuthIndexAndBlend(azimuth, azimuthBlend);
175 // Each segment renders with an azimuth index closer by one to the desired azimuth index.
176 // Because inter-aural time delay is mostly a factor of azimuth and the delay is where the clicks and graininess come from,