Solved macOS Microphone Access issue
-
@Christoph-Hart This used to work but not anymore.
I enabled inputs to Hise long ago for my main project, so enabling Microphone Access in the jucer did what it was expected to.
But since I came back and use a newer commit, neither Hise nor a compiled app is asking for access...I have reset the permissions in Security & Privacy like I always did using:
tccutil reset Microphone com.myCompany.product
But still nothing when launching for the first time Hise or app
-
@ustk I was searching for inputs the other day - thought it wasn’t possible. assuming this gets fixed how do you enable them? Juicer settings and?
-
@ustk I enabled the mic access and compiled Hise just to try that, but I couldn't figure out how to get the audio signal inside Hise
-
@DanH @ulrik setting the jucer will do nothing without modifying Hise. Input initialisation is set to 0 by default.
I'd be happy to share my modified version, but there are two main reasons I didn't:-
I have two separated versions for mono and stereo inputs, as I didn't make this available at once (like with a button in the audio prefs), and I might not be skilled enough to do it anyway.
-
The second reason is really the main reason to me. Once the inputs are enabled, they are DIRECTLY ROUTED to the outputs. This means that if you have a microphone somewhere and your speakers are turned on, you get IMMEDIATE feedback that will damage your ears and hardware! To overcome this, I inserted a mute container in my project so problem solved. But when opening Hise (so the project isn't loaded) the problem is still here and I'm very careful not to be in a dangerous situation. This is definitely not safe enough to be publicly available, and I don't know how to overcome this. I thought about automatically inserting a mute container in modified Hise version but with no luck.
The best would be to have a button in the prefs for mono/stereo inputs, and a button to activate/deactivate inputs and with it an automatically inserted mute container.
-
-
@ustk understood!! Would love to see what you changed in the mod if poss
-
@ustk I see, yes it would be interesting to test :)
-
@Christoph-Hart Is it possible to create a branch for this on your side like
audio_inputs_enabled
, please?This way I could make a pull request so anyone can play with it and maybe you could see where the Microphone Access issue comes from? Thanks ;)
-
-
@ustk if it’s something quite straightforward in the source code just let us know here.
-
@DanH said in macOS Microphone Access issue:
@ustk if it’s something quite straightforward in the source code just let us know here.
13 files to modify + 6 of the same batch for the mono part...
-
-
@Christoph-Hart
Use Hardened Runtime
solved the issue. I don't remember if it was enabled before...