• Allan

    @Allan Ack. I am now seeing a bunch of stuff on the net regarding "expr is LGPL licensed". Good grief, seriously? :-!

    -Allan

    posted in technical issues read more
  • Allan

    I am playing with a nice guitar patch posted at lubbertdas.org. The patch works just fine in Pd-extended on my Mac but when I attempt to load it into an iOS application I get this error in the XCode console:

    Pd Console: error: ... couldn't create "expr~ if ($v1==0, 0, (if ($v1<0, -1, 1)))"

    Is there some compatibility problem with expr~ support in iOS?

    -Allan

    posted in technical issues read more
  • Allan

    @LiamG Thank you! You know, it never really occurred to me what abstraction versus instance meant until I read this reply. Now it's obvious, just like in object programming. So in a polyphonic instrument, pitch is sent to a voice $0- instance, whereas tone would be sent to the "class" abstraction.

    I will investigate your list idea further but it would still be desirable to query the patch for configuration receive messages. The list idea will require all instruments for my app to adhere to a static set of configuration messages but may be the only option.

    -Allan

    posted in libpd / webpd read more
  • Allan

    Hello, I’m new to the forums and very new to Pd so please excuse me if this is a trivial question.

    I am looking to write an iOS app (in Swift, no less) that will dynamically load an instrument, such as a guitar, patched in Pd. I have played with the iOS samples with success and know that I can call PdBase sendFloat to send values to my named ”$0-" receive objects.

    What I would like to know is:

    1. can my application determine at run time how many dollarZero receive objects there are in the Pd patch, and

    2. can the application determine the name of the dollarZero receive object at run time. In other words, ask the patch for an array of available dollarZero receive objects.

    What I want to do is load an instrument, say a guitar, and then determine at run time that the instrument has receive objects named "pitch", "tone", "portamento”, etc. The app would then create iOS GUI objects to facilitate the app user to set values for these objects.

    If I could do this I’d be very happy. If in addition to this I can also obtain minimum and maximum values for the receive objects I’d be ecstatic.

    Also, is there a difference between receive objects named with "$0-" and those without?

    Thanks!

    -Allan

    posted in libpd / webpd read more
Internal error.

Oops! Looks like something went wrong!