psychopy.org | Reference | Downloads | Github

Pymedia audio recording error in MacOS > 10.14

In MacOS >10.14, the security option requires permission to access microphone.

I could find several posts about it.

After manually install pyaudio and pymidi via homebrew, the error message gone, but the file is empty wave file.

I guess the .plist should contain lines to ask microphone permission explicitly, but adding NSMicrophoneUsageDescription
to info.plist had no luck.

Any success on resolving this?
It seems the only solution is using 10.13.X, for now.

OS (e.g. Win10): MacOS >10.14
PsychoPy version (e.g. 1.84.x):
Standard Standalone? (y/n) If not then what?:y
What are you trying to achieve?:

What did you try to make it work?:
moded plist, install pyaudio, pymidi via homebriew… than no luck.
What specifically went wrong when you tried that?:
-without homebrew pyaudio, pymidi, error message about cannot find pyaudio .dylib file.
-with homebrew pyaudio, pymidi, creates recorded file, but all empty.
Include pasted full error message if possible. “That didn’t work” is not enough information.