• david

    Hello.

    I am having issues getting my patch to do what I want it to.
    I'll do my best to describe what I'm trying to do and I've attached my patch.

    I have a Korg padKonrol that I want use to visually represent time for an audio loop.
    There are sixteen pads that have leds--to start off I was trying to make each of the sixteen pads light up in sequence (light will advance every 1 second in my patch).
    The pads have control numbers from 50 to 65. A control value of 127 lights the pad, and a control value of 0 turns the pad off.

    In my patch I have the bang first set the number object to 49--the metro then bangs that object, 1 is added (to get 50). I then have the 50 stored back into the number object for counting. The current number (50 at start) and the previous number (49 at start) are packaged and sent to a ctlout where the current number led is turned on (value 127) and the previous one is turned off (value 0).
    This just continues to count up.

    There is most likely a more elegant way to do this, but my main concern is that my padKontrol will sometimes keep two pads lit as it goes through the counting (ex, 50 turns on correctly -> 50 turns off correctly, 51 turns on correctly -> 51 stays on (incorrect), 52 turns on correctly -> 52 turns off correctly (as well as 51), 53 turns on correctly) -- it will occasionally do this and throw in two that stay lit, when I only want one lit at a time.
    I was thinking it may have to do with how I'm sending the messages to the ctlout (order they are being sent, or they are getting confused because they are being sent too close together, etc)

    Hopefully this makes sense. I tried to explain with as much detail as possible.

    Thanks.

    posted in technical issues read more
  • david

    Thanks for the reply.

    Actually I managed to fix it by using a 'pipe' to slightly delay one of the ctlout messages.

    I think there was an issue with my controller receiving those messages at the same time.

    posted in technical issues read more
  • david

    Hm, Okay I'll just type out my patch:

    bang
    |\
    | \
    | \
    | \
    | \
    | \
    metro 49
    1000 |
    | |
    [number object] 0
    |\
    | \
    | \
    | \

    • 1 \
      |\ \
      | \ \
      | (to \
      | number \
      | object |
      | right |
      | input) |
      | |
      [[[[[pack 0 0]]]]]
      |
      |
      127 $1, 0 $2
      |
      |
      ctlout

    posted in technical issues read more
  • david

    Okay, I can't seem to get my pd patch to attach.
    How do I do this?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!