This is already a PR which updates the entitlements for a related problem:

https://github.com/pure-data/pure-data/pull/1145

Miller / IOhannes, I'm thinking of merging this into the develop branch for Pd 0.51-3 as it would help solve this "sometimes the security dialog shows sometimes not" issue on macSO 10.15+. It's another one of those little paper cuts...

On Nov 1, 2020, at 1:19 PM, Dan Wilcox <danomatika@gmail.com> wrote:

You can also reset Microphone permissions system-wide, then (re)start Pd. In Terminal run:

    tccutil reset Microphone

That should trigger the dialog, although it will also reappear for other programs as well.

On Nov 1, 2020, at 12:47 PM, Nicolas Danet <nicolas.danet@free.fr> wrote:


"it should show the request dialog automatically, but sometimes it doesn't"

Recently i had this problem with my fork (after reseted all the authorizations on my computer from the terminal). To make it ask again i had to change the info.plist and the entitlement for code signing < https://github.com/Spaghettis/Spaghettis/commit/d9a248344af32e19b8f26ec0b227764012514d3b >.

Note that AFAIK even if the microphone is not authorized, the DSP should work (with silence instead).

----- Mail d'origine -----
De: Dan Wilcox <danomatika@gmail.com>
À: Ricky Graham <rickygrahammusic@gmail.com>
Cc: Pd-List <pd-list@lists.iem.at>
Envoyé: Sun, 01 Nov 2020 12:28:37 +0100 (CET)
Objet: Re: [PD] error opening audio: Internal PortAudio error

Could be system permissions for reading the microphone. Try going to the Security panel and enable Microphone access for Pd.

Normally, it should show the request dialog automatically, but sometimes it doesn't, maybe due to running different versions of Pd on the same system? I'm not sure off the top of my head.

On Nov 1, 2020, at 12:00 PM, pd-list-request@lists.iem.at wrote:

Date: Sat, 31 Oct 2020 16:36:13 -0400
From: Ricky Graham <rickygrahammusic@gmail.com <mailto:rickygrahammusic@gmail.com>>
To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
Subject: [PD] error opening audio: Internal PortAudio error
Message-ID: <488FA85A-79FB-4577-881A-852EB7C61045@gmail.com <mailto:488FA85A-79FB-4577-881A-852EB7C61045@gmail.com>>
Content-Type: text/plain; charset="utf-8"

Hi,

When I switch on DSP using Pd-0.51 (stable build) on macOS Catalina 10.15.7, I get the following error:
error opening audio: Internal PortAudio error

Any ideas how to resolve this issue?

Best,

Ricky

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>







--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com