[PD] changing pd~ samplerate programmatically
Jean-Yves Gratius
jyg at gumo.fr
Sun Mar 28 15:59:06 CEST 2021
Hello,
I have to synchronize the samplerate inside a camomille VST plugin that
uses a pd~ subprocess, with the samplerate used by the host.
I'm aware that we can specify samplerate of subprocess pd~ on creation
with the flag -sr <samplerate> as [pd~] argument.
But is there a way to dynamically change this ?
(other than by sending a message such as
[;pd audio-dialog 2 0 0 0 2 0 0 0 2 0 0 0 2 0 0 0 96000 30 -1 64(
to the subprocess, where only the samplerate value --here 96000-- is
relevant ?)
thanks
More information about the Pd-list
mailing list