Hi,
I'm trying to make an app for iOS using libpd. I want to use this patch: http://www.lubbertdas.org/pd/guitar1.html as part of the app.
Unfortuantely, [expr~] isn't compatible with the license of the app store, even though it will be a free app (madness)
Is there a way to rewrite an [expr~] using other objects? I am finding it difficult to deconstruct it myself. The objects should preferably all be from vanilla because there is some jiggery poker involved in Xcode if using externals.
The [expr~] in question is:
[expr~ if ($v1 == 0, 0, (if ($v1 < 0, -1, 1)))]
In the patch below it is in: guitar1/pd stringunit/pd gopluckyourself.
Thanks!