-
Notifications
You must be signed in to change notification settings - Fork 205
Description
Following the README.md operation will run out of this error:
Traceback (most recent call last):
File "/home/junyiwu/Realtime_PyAudio_FFT/Realtime_PyAudio_FFT/run_FFT_analyzer.py", line 4, in
ear = Stream_Analyzer(
File "/home/junyiwu/Realtime_PyAudio_FFT/Realtime_PyAudio_FFT/src/stream_analyzer.py", line 51, in init
self.stream_reader = Stream_Reader(
File "/home/junyiwu/Realtime_PyAudio_FFT/Realtime_PyAudio_FFT/src/stream_reader_sounddevice.py", line 52, in init
with sd.InputStream(samplerate=self.rate,
File "/home/junyiwu/.local/lib/python3.10/site-packages/sounddevice.py", line 1381, in init
_StreamBase.init(self, kind='input', wrap_callback='array',
File "/home/junyiwu/.local/lib/python3.10/site-packages/sounddevice.py", line 777, in init
_get_stream_parameters(kind, device, channels, dtype, latency,
File "/home/junyiwu/.local/lib/python3.10/site-packages/sounddevice.py", line 2571, in _get_stream_parameters
info = query_devices(device)
File "/home/junyiwu/.local/lib/python3.10/site-packages/sounddevice.py", line 569, in query_devices
raise PortAudioError('Error querying device {0}'.format(device))
want to know how to improve
Ubuntu 22.04.1