Home
last modified time | relevance | path

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

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_quality_measurement.py200 wave = []
205 wave.append(sine_wave + noise)
206 return wave
209 def average_teager_value(wave, amplitude): argument
223 teager_value, length = 0, len(wave)
225 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i + 1])
226 ith_teager_value *= max(1, abs(wave[i]))
Dcheck_quality.py28 import wave
131 self._wave_reader = wave.open(filename, 'r')
134 except wave.Error as e:
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/
Daudio_quality_measurement_integrationtest.py41 wave = []
46 wave.append(float(amplitude) * (sine_wave + noise))
49 teager_value_of_wave, length = 0, len(wave)
51 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i +
53 ith_teager_value *= max(1, abs(wave[i]))
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_capture_device.py20 import wave
66 with wave.open(latest_file_path, 'r') as f:
84 wf = wave.open(file_name, 'wb')
/tools/test/openhst/
Dstress_test.py46 import wave
774 wavefile = wave.open(audio_tempfile, "wb")