Searched refs:freq (Results 1 – 8 of 8) sorted by relevance
/cts/suite/audio_quality/test_description/processing/ |
D | playback_sample.py | 48 freq = calc_freq(hostRecording, samplingRate) 49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold 50 diff = abs(freq - signalFrequency) 55 outputData.append(freq)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioBandSpecs.java | 57 public boolean isInBounds(double freq, double value) { in isInBounds() argument 58 if (freq < mFreqStart || freq > mFreqStop) { in isInBounds() 67 double e = freq - mFreqStart; in isInBounds()
|
D | AudioFrequencyLineActivity.java | 390 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 391 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector() 397 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector() 418 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 419 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector() 425 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector() 427 if (bandSpecsArray[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
|
D | AudioFrequencySpeakerActivity.java | 439 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 440 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector() 446 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector() 467 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 468 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector() 474 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector() 476 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
|
D | AudioFrequencyMicActivity.java | 558 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 559 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector() 565 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector() 586 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local 587 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector() 593 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector() 595 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
|
D | WavAnalyzer.java | 158 double freq = Common.FREQUENCIES_ORIGINAL[i]; in measurePipStrength() local 161 -2.0 * Math.PI * freq / sampleRate).exp(); in measurePipStrength()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSound.cpp | 80 int freq = atoi(tokens->at(2).string()); in run() local 84 AudioHardware::ESampleRate_44100, freq, samples, true); in run()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EqualizerTest.java | 115 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local 117 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
|