Hi all,
The problem:
Using pd -nogui or pd -batch, some stuff seems not set up yet when the patch is loaded, making [delwrite~] (among others) not work correctly.
The workaround:
Use dynamic patching to instantiate the real patch with a delay.
Example:
pd -batch -r 48000 -open workaround_loader.pd -send "workaround 50 500" pd -batch -r 48000 -open workaround_loader.pd -send "workaround 10 1000"
Hopefully useful, thanks,
Claude