pd -batch -open "test.pd" -send "RENDER 50 test.wav"
[r RENDER]--[delay 1000]--"; pd dsp 1"
makes audio not work in batch mode; removing the [delay] is a workaround...
See this thread for more info:
http://lists.puredata.info/pipermail/pd-list/2010-06/080278.html
Anonymous
test.pd (batch audio broken when "; pd dsp 1" delayed)