Apologies for spam; we've changed our policy by requiring approval for accounts, and deleted all existing spam and user - thanks for your help flagging content. We continue to test our forums and Vanilla software, aiming for release early in 2013. If you need to give us feedback outside the forum, contact us via http://createdigitalmusic.com/contact/ or on Facebook
libpd + processing : how to receive messages in p5 ?
  • Hello Everyone,

    I'm working on processing I'd like to do a simple Tone Matrix  using libpd as an audio engine, but I have trouble receiving messages from pd in processing.

    For instance I send the position of the sequencer back to Processing via [r pos] in pd.
    In Processing I just did  (in my draw loop)
    //
    float position;
    pd.receiveFloat("pos",position);
    println(position);
    //

    well it doesn't work, do I have to create a listener or register to some events or something like this ?
    And more importantly how do I do this ?

    thanks
  • You need to implement a receiveFloat method in your code and then subscribe to messages sent to the symbols you're interested in (e.g., pd.subscribe("pos")).