-
Notifications
You must be signed in to change notification settings - Fork 74
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
"OSError: [Errno -9985] Device unavailable" #4
Comments
Thanks for reporting this! Have you tried with |
Thank you for your swift answer! I've tried your suggestion. Unfortunately, I get the standard "api not found" exception, as follows:
As for other devices, here is what PyAudio spits out:
If it helps, here are the available host api's, also according to PyAudio:
For good measure, I've tried those that aren't ASIO. MME works, Windows DirectSound is mute but does not raise an exception, Windows WASAPI works (distorted/downsampled sound, though), while Windows WDM-KS raises the following exception:
Sorry if I missed anything, or if something I wrote is obvious. I'm still a novice to python and I never had to worry about audio APIs outside of the context of DAWs until now. |
Hello! |
Hello! I'm facing the same issue on raspberry pi.
Below is the microphone info, as read by the pyaudio input device info.
Can somebody please let me know what I'm missing here. |
Same here, even though nothing is using my mic |
While trying to use the I/O wire example provided with the master (io_wire.py) with any other audio API than the default, I always get this error (in PyCharm CE, W7 x64 with Python 3.5.1)):
(The [...]'s are redactions on my path, the actual traceback contains the full path.)
Here is the modified script for the wire:
When using the I/O wire example provided with the PyAudio master (PyAudio-0.2.9.tar/test/wire_full.py), the wire works perfectly fine, the ASIO device is detected and the wire established. Here is the script, with the index of my ASIO device being 12:
Here's the info for the device, as given by as given by p.get_device_info_by_index(12):
{'defaultLowInputLatency': 0.0014512471655328798, 'name': 'Yamaha Steinberg USB ASIO', 'defaultHighInputLatency': 0.0014512471655328798, 'index': 12, 'structVersion': 2, 'maxOutputChannels': 2, 'defaultLowOutputLatency': 0.0014512471655328798, 'maxInputChannels': 2, 'defaultHighOutputLatency': 0.0014512471655328798, 'hostApi': 2, 'defaultSampleRate': 44100.0}
Sorry if it it's a PICNIC.
The text was updated successfully, but these errors were encountered: