-
Notifications
You must be signed in to change notification settings - Fork 151
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
Mac Mic Stream only giving indata as 0's #267
Comments
I'm not a macOS user myself, but I've heard about problems with the microphone permissions on macOS. Maybe this helps: https://www.reddit.com/r/MacOS/comments/9lwyz0/mojave_not_privacy_settings_blocking_all_mic/ |
Same question on SO: https://stackoverflow.com/q/63109391/ |
Hi, I'm no expert, but I've been using sounddevice without major issues on a number of Macs for a few months now, and I've not touched anything to do with permissions in my code (my users have however clicked "yes" when asked on, for example, OSX10.15). Firstly, have you tried the Two things that I noticed in your code:
Hope that helps, Matthew |
(Oh, and input underflows often produce input with all zeros.) |
@vineyugave I think I may just have reproduced the same issue as you had. I have not had a problem at all with sounddevice until I attempted to code-sign my application. Now, on Catalina (OSX 10.15.6), I too am getting nothing from the microphone. The code works fine on OSX10.13.6, but even after adding the Is this the same scenario as you were having? Did you find a solution? |
However, I was able to get the microphone to work when I gave my app the It also required the |
Issue on my Mac was a permission / security issue .. when I ran the python script throught Visual Studio Code console it did not work .. But when I ran it through mac Terminal it prompted for mic access and it started working .. |
I am using a streamer like this
Any ideas what is going on ? I checked that PortAudio is installed fine ..
The text was updated successfully, but these errors were encountered: