Hi all,
I hope this is a quick question: is it possible for a [pd~ start foo.pd( message to *not* open/display foo.pd’s canvas? This seems like it might be a job for ‘-nogui’, but I’ve had no luck with that (and where would it go, if it’s the answer)?
Thanks for any enlightenment,
Phil
Phil Stone Davis, CA. USA
Am 27. Jänner 2023 05:01:16 MEZ schrieb Phil Stone pksmusic@gmail.com:
Hi all,
I hope this is a quick question: is it possible for a [pd~ start foo.pd( message to *not* open/display foo.pd’s canvas? This seems like it might be a job for ‘-nogui’, but I’ve had no luck with that
Why not?
(and where would it go, if it’s the answer)?
Dunno what you mean by that...
mfg.sfg.jfd IOhannes
Le 27/01/2023 à 05:01, Phil Stone a écrit :
Hi all,
I hope this is a quick question: is it possible for a [pd~ start foo.pd( message to **not** open/display foo.pd’s canvas? This seems like it might be a job for ‘-nogui’, but I’ve had no luck with that (and where would it go, if it’s the answer)?
Thanks for any enlightenment,
The answer is in pd~ help file!
"pd~ start" takes as arguments any startup flags you wish to send the sub-process. For example, specify "-nogui" to stop the sub-process's GUI from appearing.
cheers Cyrille
Phil
Phil Stone
Davis, CA. USA
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Cyrille (and Iohannes),
This is embarrassing; I consulted the [pd~] help file many times, but I somehow didn’t find the right placement for the -nogui flag and kept getting errors – I thought I was missing something basic. With your kind encouragement, I have found the right syntax:
[pd~ start -nogui foo.pd(
Hope this can help someone else as dumb as me.
Phil
From: Pd-list pd-list-bounces@lists.iem.at on behalf of cyrille henry ch@chnry.net Date: Thursday, January 26, 2023 at 11:52 PM To: pd-list@lists.iem.at pd-list@lists.iem.at Subject: Re: [PD] Can [pd~ start ...] *not* open a window?
Le 27/01/2023 à 05:01, Phil Stone a écrit :
Hi all,
I hope this is a quick question: is it possible for a [pd~ start foo.pd( message to **not** open/display foo.pd’s canvas? This seems like it might be a job for ‘-nogui’, but I’ve had no luck with that (and where would it go, if it’s the answer)?
Thanks for any enlightenment,
The answer is in pd~ help file!
"pd~ start" takes as arguments any startup flags you wish to send the sub-process. For example, specify "-nogui" to stop the sub-process's GUI from appearing.
cheers Cyrille
Phil
Phil Stone
Davis, CA. USA
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hello all,
(Further adventures with [pd~]): I have my ‘polywavesynth’ synthesizer working with [pd~]; well, except that…no sound comes out!
Am I doing something wrong?
Thanks,
Phil Stone Davis, California USA
From: Phil Stone pksmusic@gmail.com Date: Friday, January 27, 2023 at 7:34 AM To: cyrille henry ch@chnry.net, pd-list@lists.iem.at pd-list@lists.iem.at Subject: Re: [PD] Can [pd~ start ...] *not* open a window? Hi Cyrille (and Iohannes),
This is embarrassing; I consulted the [pd~] help file many times, but I somehow didn’t find the right placement for the -nogui flag and kept getting errors – I thought I was missing something basic. With your kind encouragement, I have found the right syntax:
[pd~ start -nogui foo.pd(
Hope this can help someone else as dumb as me.
Phil
From: Pd-list pd-list-bounces@lists.iem.at on behalf of cyrille henry ch@chnry.net Date: Thursday, January 26, 2023 at 11:52 PM To: pd-list@lists.iem.at pd-list@lists.iem.at Subject: Re: [PD] Can [pd~ start ...] *not* open a window?
Le 27/01/2023 à 05:01, Phil Stone a écrit :
Hi all,
I hope this is a quick question: is it possible for a [pd~ start foo.pd( message to **not** open/display foo.pd’s canvas? This seems like it might be a job for ‘-nogui’, but I’ve had no luck with that (and where would it go, if it’s the answer)?
Thanks for any enlightenment,
The answer is in pd~ help file!
"pd~ start" takes as arguments any startup flags you wish to send the sub-process. For example, specify "-nogui" to stop the sub-process's GUI from appearing.
cheers Cyrille
Phil
Phil Stone
Davis, CA. USA
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I see this same behavior with the pd~-help patch (‘unknown audio API specified’ message, and no audio output), so that rules out my synthesizer’s contribution.
Could somebody please verify that they can get audio output from the subprocess in the pd~-help.pd patch?
I’m on a M1 Mac, if that’s relevant.
Phil
From: Phil Stone pksmusic@gmail.com Date: Saturday, January 28, 2023 at 10:06 AM To: pd-list@lists.iem.at pd-list@lists.iem.at Subject: [pd~] subprocess: unknown audio API specified Hello all,
(Further adventures with [pd~]): I have my ‘polywavesynth’ synthesizer working with [pd~]; well, except that…no sound comes out!
Am I doing something wrong?
Thanks,
Phil Stone Davis, California USA
Hi Phil,
I've had that issue before. You might need to re-select your audio device from the Media menu before turning DSP on. I believe that in macos it would be Media > portaudio, unless you are using jack.
I am not sure why this error happens, but I guess it relates to the pd~ subprocess changing the saved settings.
Hope this helps,
Fede
On Sat, Jan 28, 2023 at 10:30 PM Phil Stone pksmusic@gmail.com wrote:
I see this same behavior with the pd~-help patch (‘unknown audio API specified’ message, and no audio output), so that rules out my synthesizer’s contribution.
Could somebody please verify that they can get audio output from the subprocess in the pd~-help.pd patch?
I’m on a M1 Mac, if that’s relevant.
Phil
*From: *Phil Stone pksmusic@gmail.com *Date: *Saturday, January 28, 2023 at 10:06 AM *To: *pd-list@lists.iem.at pd-list@lists.iem.at *Subject: *[pd~] subprocess: unknown audio API specified
Hello all,
(Further adventures with [pd~]): I have my ‘polywavesynth’ synthesizer working with [pd~]; well, except that…no sound comes out!
- The message ‘unknown audio API specified’ is displayed in the subprocess
pd window.
- I have the two audio outputs of the subprocess wired to a 2 channel
[dac~], and there are no audio inputs to the subprocess.
- The parent process is using PortAudio, and the subprocess appears to
(correctly?) have no audio API selected.
- The subprocess Audio Settings show that the input device is unchecked
and is called ‘input device 1’;
- The corresponding output device is checked and says ‘(same as input
device)’.
Am I doing something wrong?
Thanks,
Phil Stone
Davis, California USA _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Fede and IOhannes,
Thanks so much for the quick responses. If I understand you correctly, Fede, I should *not* have DSP switched on at creation in the subprocess, but first set its audio API to portaudio, then switch DSP on? I tried that, and still get no sound output.
Also, when (in the subprocess) I select ‘portaudio’ for the API, the Audio Settings dialog pops open with my audio interface showing as the input and output devices – shouldn’t these be ‘virtual’ devices that only connect in-from and out-to the parent process?
IOhannes: I’ve made sure to have dsp switched on in both the parent and sub-process. Could you tell me what your audio API and Audio Settings show for the sub-process?
This is Pd 0.53.1, I should note.
Phil
From: Pd-list pd-list-bounces@lists.iem.at on behalf of Fede Cámara Halac camarafede@gmail.com Date: Saturday, January 28, 2023 at 1:41 PM To: pd-list@lists.iem.at pd-list@lists.iem.at Subject: Re: [PD] [pd~] subprocess: unknown audio API specified Hi Phil,
I've had that issue before. You might need to re-select your audio device from the Media menu before turning DSP on. I believe that in macos it would be Media > portaudio, unless you are using jack.
I am not sure why this error happens, but I guess it relates to the pd~ subprocess changing the saved settings.
Hope this helps,
Fede
On Sat, Jan 28, 2023 at 10:30 PM Phil Stone <pksmusic@gmail.commailto:pksmusic@gmail.com> wrote: I see this same behavior with the pd~-help patch (‘unknown audio API specified’ message, and no audio output), so that rules out my synthesizer’s contribution.
Could somebody please verify that they can get audio output from the subprocess in the pd~-help.pd patch?
I’m on a M1 Mac, if that’s relevant.
Phil
From: Phil Stone <pksmusic@gmail.commailto:pksmusic@gmail.com> Date: Saturday, January 28, 2023 at 10:06 AM To: pd-list@lists.iem.atmailto:pd-list@lists.iem.at <pd-list@lists.iem.atmailto:pd-list@lists.iem.at> Subject: [pd~] subprocess: unknown audio API specified Hello all,
(Further adventures with [pd~]): I have my ‘polywavesynth’ synthesizer working with [pd~]; well, except that…no sound comes out!
Am I doing something wrong?
Thanks,
Phil Stone Davis, California USA _______________________________________________ Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- Dr. Fede Camara Halac Composer / Programmer / Sound Artist fdch.arhttps://fdch.ar
Hi Phil,
first set its audio API to portaudio, then switch DSP on?
Yes
I tried that, and still get no sound output.
But, do you have the "unknown API error" on the Pd window? If not, check the in/out channels on the subprocess' Audio Settings menu and set them to match your system.
I would also "Save all preferences" (or "save to" if you need them in a file) after finding the correct settings.
I don’t know what I’ve done differently, but I’m able to get audio out of the pd~-subprocess now, even though I’m still getting the ‘unknown api’ error.
So I’m back to blaming my synth’s subprocess for not getting its audio to the outside world, and need to dig in further.
Thanks for the suggestions and feedback.
From: Pd-list pd-list-bounces@lists.iem.at on behalf of Fede Cámara Halac camarafede@gmail.com Date: Saturday, January 28, 2023 at 4:14 PM To: pd-list@lists.iem.at pd-list@lists.iem.at Subject: Re: [PD] [pd~] subprocess: unknown audio API specified Hi Phil,
first set its audio API to portaudio, then switch DSP on? Yes
I tried that, and still get no sound output. But, do you have the "unknown API error" on the Pd window? If not, check the in/out channels on the subprocess' Audio Settings menu and set them to match your system.
I would also "Save all preferences" (or "save to" if you need them in a file) after finding the correct settings.
On 1/28/23 22:22, Phil Stone wrote:
I see this same behavior with the pd~-help patch (‘unknown audio API specified’ message, and no audio output), so that rules out my synthesizer’s contribution.
Could somebody please verify that they can get audio output from the subprocess in the pd~-help.pd patch?
works for me with the test patch.
you **must** have DSP turned on in both parent Pd and the subpress Pd (the help-patch starts the audio in the subprocess automatically).
i also get the "unknown audio API specified".
I’m on a M1 Mac, if that’s relevant.
tested on Debian/GNU linux with Pd-0.53-1 (as shipped by Debian).
gmsda IOhannes