• joobny

    I'm pretty sure this is a really basic question.

    I've attached my patch.

    At the very bottom of the patch you'll see four splits.

    For the left-most split, I want nine LEDs to turn on in between those ranges.
    For the next one along, I want six LEDs to turn on in between those ranges.
    And for the next, I want three LEDs to turn on in between those ranges.
    And the last one, I don't want any of the nine LEDs to light up.

    Any ideas how I can do this?

    I'm also struggling with the video. The patch will be hooked up to a pressure pad. When the user sits on the pressure pad, the video is to start playing. When the user stands up, I want the video to go back to the beginning - but I don't want it to play. I just want it to sit on the first frame. Additionally, if the user sits to the end of the video, I want it to just stay on the last frame until they stand up - at which point it will do the same as I just mentioned - return to frame one and wait to be played again.

    Anything you can help me with would be massively appreciated!

    http://www.pdpatchrepo.info/hurleur/spiritualobject2.pd

    posted in technical issues read more
  • joobny

    Hey everyone.

    You'll have to excuse me 'cause I don't have a clue about PD, but need to use it for one of my current projects.

    Basically, I want to project some text from my computer onto a blank canvas. I want to use a pressure sensor to detect when a user is sitting down. Once it knows someone is sitting down, I want the text to change.

    From here on, I want the text to change after a given amount of time... say... 30 seconds for now?

    When it gets to the last slide of text, I want it to do nothing other than display this line of text, until the user places their hand over an LDR. When the user's hand is placed over the LDR, the light will be reduced to a certain level. Once this level is reached, I want PD to time for 15 seconds, and at the end of the 15 seconds, illuminate any random combination of light bulbs and set off a rumble pack beneath where they have put their hand. If the user removes their hand before the 15 seconds is up, I do not want any of the light bulbs to illuminate, and I do not want the rumble pack to go off.

    [When certain bulbs are illuminated, I want certain lines of text to be projected.

    Say bulbs 1 and 2 are illuminated, but 3, 4 and 5 are not. I would like text to be projected that says "Bulbs 1 and 2 are illuminated. Bulbs 3, 4 and 5 are not". Or say Bulbs 1, 3 and 5 are illuminated, I want text to be projected that says "Bulbs 1, 3 and 5 are illuminated. Bulbs 2 and 4 are not."]

    If the user stands up at any point in time, removing pressure from the pressure sensor, I want the initial line of text to be displayed on screen again, and everything to start over.

    Sorry if this sounds very complex, please let me know if you can help out at all.

    Edit ::

    If it makes it any easier, you could ignore the bit that I've put in the square brackets. Instead of this, I would just like one more screen of text to be projected when any combination of the bulbs are illuminated.

    posted in technical issues read more
  • joobny

    Still not really sure about this...

    posted in technical issues read more
  • joobny

    Take the far left split at the bottom for example. It has a range between 0 and 0.024. When the sensor attached to my PD gives a value between the range of 0 and 0.024, I want nine LEDs to light up.

    How do I do this?

    When a user sits on a pressure pad, PD starts taking measurements of their weight. The difference between their weight at its heaviest and their weight at its lightest is calculated over time. This value is then passed on to the splits at the bottom. If the difference in their weight between the two points at which it was measured is 0 - 0.024, I want nine LEDs to be lit up. If the difference in their weight is 0.025 - 0.05, I want six of the nine LEDs to be lit up. If the difference in their weight is 0.051 - 0.075, I want three of the nine LEDs to be lit up. If the difference in their weight is 0.076 - 1, I don't want any of the nine LEDs to be lit up.

    Thanks again.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!