I like to test my subpatches before adding them to the patch they’ll be in. I use args for a number of things, but when the patch is being tested I get errors like: [some object] doesn’t understand "#1".
What is the best way to substitute args with default values in a subpatch running independently?
I don’t want to have to temporarily modify the patch, or manually trigger messages if possible.
if $i1 == 0 then 25
Roman’s method will work, but is a little "wordy."
I think [patcherargs] will be your friend here, with the caveat that the arguments are offset by one if used as a subpatcher.
I was using #1 in a message instead of [i #1] so the if statement complained about not understanding me.
Thanks much for the advice. I’ll check patcherargs as well, I have not experimented with it yet.
C74 RSS Feed | © Copyright Cycling '74