Searched refs:amplitude (Results 1 – 4 of 4) sorted by relevance
/tools/test/connectivity/acts/framework/tests/ |
D | audio_quality_measurement_integrationtest.py | 43 amplitude = 1 51 wave.append(float(amplitude) * (sine_wave + noise)) 60 teager_value_of_wave /= float(length * (amplitude**2)) 63 amplitude, frequency, rate, teager_value_of_wave) 85 self.amplitude = 1 92 self.y.append(float(self.amplitude) * sine_wave) 96 noise_amplitude = 0.01 * self.amplitude 121 self.y[i] = 3 * self.amplitude 132 self.y[i] = self.amplitude 143 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1))
|
D | audio_analysis_integrationtest.py | 220 def create_constant_anomaly(self, amplitude): argument 228 self.anomaly_samples = ([amplitude] *
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_quality_measurement.py | 209 def average_teager_value(wave, amplitude): argument 228 teager_value = (float(teager_value) / length) / (amplitude**2) 232 def noise_level(amplitude, frequency, rate, teager_value_of_input): argument 261 teager_value_of_std_wave = average_teager_value(standard_wave, amplitude) 322 amplitude = numpy.abs(result) 327 return (amplitude, frequency) 852 amplitude, frequency = hilbert_analysis(signal, rate, block_size) 864 res = find_block_average_value(amplitude, block_size * 2, block_size) 884 sum_of_amplitude = float(sum(amplitude[int(start_index):int(end_index)]))
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackImageAnalyzer.java | 157 final float amplitude = (amplitudeBottom - amplitudeTop) * 100.0f / height; in analyzeImage() local 160 CLog.i("AudioLoopbackImageAnalyzer: Amplitude=" + amplitude + ", Duration=" + duration); in analyzeImage() 165 amplitude, in analyzeImage() 340 float amplitude, in analyzeAmplitude() argument 348 if (amplitude < amplitudeMin || amplitude > amplitudeMax) { in analyzeAmplitude() 350 final String err = String.format(fmt, FN_TAG, amplitude, amplitudeMin, amplitudeMax); in analyzeAmplitude()
|