We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run demos/audio_test.py
ubuntu@minipupperv2:/mini_pupper_bsp/demos$ chmod +x audio_test.py ubuntu@minipupperv2:/mini_pupper_bsp/demos$ ./audio_test.py Simple mixer control 'Headphone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback 400 [100%] [4.00dB] [on] Mini Pupper 2 audio record start... Traceback (most recent call last): File "/home/ubuntu/mini_pupper_bsp/demos/./audio_test.py", line 35, in record = sd.rec(int(duration * fs), samplerate=fs, channels=2) File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 276, in rec ctx.start_stream(InputStream, samplerate, ctx.input_channels, File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 2582, in start_stream self.stream = StreamClass(samplerate=samplerate, File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 1421, in init _StreamBase.init(self, kind='input', wrap_callback='array', File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 817, in init _get_stream_parameters(kind, device, channels, dtype, latency, File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 2660, in _get_stream_parameters info = query_devices(device) File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 569, in query_devices raise PortAudioError(f'Error querying device {device}') sounddevice.PortAudioError: Error querying device -1
no Python trace
Mini Pupper 2
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction steps
run demos/audio_test.py
Actual results
ubuntu@minipupperv2:
/mini_pupper_bsp/demos$ chmod +x audio_test.py/mini_pupper_bsp/demos$ ./audio_test.pyubuntu@minipupperv2:
Simple mixer control 'Headphone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 400 [100%] [4.00dB] [on]
Mini Pupper 2 audio record start...
Traceback (most recent call last):
File "/home/ubuntu/mini_pupper_bsp/demos/./audio_test.py", line 35, in
record = sd.rec(int(duration * fs), samplerate=fs, channels=2)
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 276, in rec
ctx.start_stream(InputStream, samplerate, ctx.input_channels,
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 2582, in start_stream
self.stream = StreamClass(samplerate=samplerate,
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 1421, in init
_StreamBase.init(self, kind='input', wrap_callback='array',
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 817, in init
_get_stream_parameters(kind, device, channels, dtype, latency,
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 2660, in _get_stream_parameters
info = query_devices(device)
File "/usr/local/lib/python3.10/dist-packages/sounddevice.py", line 569, in query_devices
raise PortAudioError(f'Error querying device {device}')
sounddevice.PortAudioError: Error querying device -1
Expected results
no Python trace
Version
Mini Pupper 2
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: