Home
last modified time | relevance | path

Searched refs:signalFrequency (Results 1 – 5 of 5) sorted by relevance

/cts/suite/audio_quality/test_description/processing/
Dcalc_thd.py23 def calc_thd(data, signalFrequency, samplingRate, frequencyMargin): argument
28 baseI = fftLen * signalFrequency * 2 / samplingRate
51 signalFrequency = 1000 variable
55 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate)
57 thd = calc_thd(data, signalFrequency, samplingRate, 0.02)
Dplayback_sample.py44 signalFrequency = inputData[1]
49 print "Expected Freq ", signalFrequency, "Actual Freq ", freq, "Threshold % ", threshold
50 diff = abs(freq - signalFrequency)
Drecording_thd.py58 signalFrequency = inputData[2]
65 thdHost = calc_thd(hostRecording[delay:delay+N], signalFrequency, samplingRate, 0.02) * 100
66 thdDevice = calc_thd(deviceRecording, signalFrequency, samplingRate, 0.02) * 100
Dplayback_thd.py48 signalFrequency = inputData[1]
52 thd = calc_thd(hostRecording, signalFrequency, samplingRate, 0.02) * 100
Dcalc_delay.py66 signalFrequency = 1000 variable
70 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate)