Re: [PD] changing pd~ samplerate programmatically

2021-03-28 Thread Christof Ressi
Depending on the structure of your patches, one simple solution could be to simply stop and restart the subprocess when the parent samplerate changes. Christof On 28.03.2021 15:59, Jean-Yves Gratius wrote: Hello, I have to synchronize the  samplerate inside a camomille VST plugin that uses

[PD] changing pd~ samplerate programmatically

2021-03-28 Thread Jean-Yves Gratius
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  as [pd~] argument. But is there a way to dynamically chang