Hi all,
I'm working with Jack Audio on OSX w/ PD Vanilla, and for some reason I have to disable all Audio Input Devices before disabling the DSP when Quitting PD from a session utilizing Jack Router. If I disable the DSP or stop the Jack Server session before disabling my input device, PD becomes unresponsive and I literally have to restart my Mac Mini before i get full control of PD again. Because I am programming the patch to be operated by users who are not familiar with PD I need to give users direct access to this function somewhere on the GUI executed by a [Toggle] or such. My question is are there any objects or internal messages within PD Vanilla that I may be able to utilize to keep users from having to access the Audio Settings to disable Audio Dev Inputs at the end of each session? Similar to the "[; pd dsp $1(" internal message ideally is what I am looking for.
-
Disable Audio Input Device with internal message or GUI?
-
I don't know if it's possible to use something like the -noadc flag while Pd is running. Maybe with pdsend, so you can write a script and launch it with [shell] (though this is not vanilla).
As for the audio settings, you can see what you get from Pd if you connect [r pd] to [print], then you go to audio setting, change your setup (or not) and hit apply and OK (maybe no need for both, try it). You'll get an "audio-dialog ....." message in Pd's console. By changing the audio input setup you can see which numbers change to what so you can use that, if that helps...