• kristalize

    I have been trying to send data that i collected from a external sensor in pd to a flash application which will in turn trigger animations and sound based on the data collected from the sensor. I have so far been able to get data from the external sensor onto pd, build up connection between pd and flash using the flosc that i downloaded. I was able to send messages from flash with flocs file to pd and pd is able to receive it. but i have been having problems with sending message from pd to flash... i dunno if the prob lies with pd not able to connect to the port where my flash is at or whether is it flash was unable to receive the msg from pd ...

    is there anyone who has a workable example that is able to send message from pd to flash ? I heard pple talk about flashserver but looking at the website they only mention connecting to max/msp ... so is there a possiblity to connect pd with flashserver ?

    this is my first project using pd ... so i still have alot of doubt in using the software... please give me guidance and examples to help me through ...

    i have a screenshot of the patch that i edited to fit my project ... please tell me what is wrong with my patch ... thanks

    http://www.pdpatchrepo.info/hurleur/pdScnShot.bmp

    posted in technical issues read more
  • kristalize

    I am doing this interactive media project for a school assignment and what i wanted to do is to use infrared cameras to detect people and upon detection, a sound file will be played. Does anyone has any available patch or any idea how this can be done. Not much of a programmer myself so it would really help if I could get some guidance.
    Thanks

    posted in technical issues read more
  • kristalize

    I tried both the firewall and change the OSCip to 127.0.0.1 ... both did not work out for me... I posted a screen shot of my set up between my flosc, the gateway and pd.. when i connect to port 3000 from pd, and when i want to press on the send foo $1, it actually disconnect my port cos when i am connected the number below the netsend becomes 1 and when i press the send , it turns to 0 ?? Is there any other possiblities of what is wrong ?

    Was thinking could it be possible that it is the flash file's actionscript that is the prob ... i downloaded the flosc and have nt made any changes to the actionscript .. i see the function where its supposed to handle receiving ..

    below is the code:

    // *** parse the messages from some XML-encoded OSC packet
    //
    // THIS IS WHERE YOU COULD DO SOMETHING COOL
    // (probably based on the value of the arguments)

    function parseMessages(node) {

    if (node.nodeName == "MESSAGE") {
    incoming += "Message name: " + node.attributes.NAME + "\n";
    // loop over the arguments of the message
    for (var child = node.firstChild; child != null; child=child.nextSibling) {
    if (child.nodeName == "ARGUMENT") {
    incoming += "\tArg type " + child.attributes.TYPE;
    incoming += ", value " + child.attributes.VALUE + "\n";
    }
    }
    }
    else { // look recursively for a message node
    for (var child = node.firstChild; child != null; child=child.nextSibling) {
    parseMessages(child);
    }
    }
    }

    ===================================================
    Is there a need for me to encode the OSC packet to XML in Pd in order for this to work ? Is there such a function for Pd to do so ?

    http://www.pdpatchrepo.info/hurleur/Picture_1.png

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!