-
Notifications
You must be signed in to change notification settings - Fork 61
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
audio open error #18
Comments
If you are on Linux, what is the output of this?
Please see the README file carefully: This module depends on your machine having an installation of sox (Mac/Windows Users) OR ALSA tools for Linux. You can use this library to record from any microphone device. Before installing and experimenting with the mic module, you need to ensure that you are able to capture audio via the command line:
To get ALSA tools on Raspberry Pi running raspbian, try the following:
After the above is tested and validated, you can proceed to install the module using:
|
@ashishbajaj99 Yes, i have th libs installed. |
I had a similar issue. In my case I found that I needed to specify the correct device. I'm using a USB audio capture device. To list available devices run this,
The value I used was, "plughw:CARD=system,DEV=0" which you can pass to the mic() constructor like so,
|
Hello, so i download the package and added your example, but i get the following error. Any idea on how to reslove this. I'm unable to figure the arecord command that is getting launched in this package.
The text was updated successfully, but these errors were encountered: