Skip to content
New issue

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

Issue on Pyaudio_Test.ipynb #1

Open
blinkomaniak opened this issue Nov 17, 2019 · 1 comment
Open

Issue on Pyaudio_Test.ipynb #1

blinkomaniak opened this issue Nov 17, 2019 · 1 comment

Comments

@blinkomaniak
Copy link

blinkomaniak commented Nov 17, 2019

These lines:

stream = p.open(format=p.get_format_from_width(wf.getsampwidth()), channels=wf.getnchannels(), rate=wf.getframerate(), output=True, stream_callback=callback)

produces this error:


OSError Traceback (most recent call last)
in
3 rate=wf.getframerate(),
4 output=True,
----> 5 stream_callback=callback)

~/anaconda3/lib/python3.7/site-packages/pyaudio.py in open(self, *args, **kwargs)
748 """
749
--> 750 stream = Stream(self, *args, **kwargs)
751 self._streams.add(stream)
752 return stream

~/anaconda3/lib/python3.7/site-packages/pyaudio.py in init(self, PA_manager, rate, channels, format, input, output, input_device_index, output_device_index, frames_per_buffer, start, input_host_api_specific_stream_info, output_host_api_specific_stream_info, stream_callback)
439
440 # calling pa.open returns a stream object
--> 441 self._stream = pa.open(**arguments)
442
443 self._input_latency = self._stream.inputLatency

OSError: [Errno -9996] Invalid output device (no default output device)

What migth be the cause?
Thanks

@mwickert
Copy link
Owner

mwickert commented Nov 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants