Home | History | Annotate | Download | only in audio

Lines Matching refs:azimuth

97 // Takes advantage of the symmetry and creates a composite version of the two measured versions.  For example, we have both azimuth 30 and -30 degrees
99 bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName,
104 bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, kernelL1, kernelR1);
109 int symmetricAzimuth = !azimuth ? 0 : 360 - azimuth;
124 bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName,
127 // Valid values for azimuth are 0 -> 345 in 15 degree increments.
130 bool isAzimuthGood = azimuth >= 0 && azimuth <= 345 && (azimuth / 15) * 15 == azimuth;
140 // Construct the resource name from the subject name, azimuth, and elevation, for example:
157 // the elevations per azimuth, for all azimuths by increasing
158 // order. So for a given azimuth and elevation we need to compute
160 unsigned index = ((azimuth / AzimuthSpacing) * HRTFDatabase::NumberOfRawElevations) + elevationIndex;
176 String resourceName = String::format("IRC_%s_C_R0195_T%03d_P%03d", subjectName.utf8().data(), azimuth, positiveElevation);
205 // The range of elevations for the IRCAM impulse responses varies depending on azimuth, but the minimum elevation appears to always be -45.
209 // Azimuth
250 // Don't let elevation exceed maximum for this azimuth.
261 // Now go back and interpolate intermediate azimuth values.