Re: Fluid circular LED ring on a Livid Code. Arc emulation?


jbl

First of all, are you using the code's encoder in +/- mode so it can directly control your 360 degree encoder? That would be how I do it because then you only worry about the led and not about the encoder position itself.

I see a problem where you use your split 0 127.

If you want the led ring to be accurate and sync with your 360 encoder, 0 on the first cannot be 0 on the latter.

0 on the led ring is about 16 on your 360 encoder. I made that change to your patcher, but I am not sure if it's what you want. I'm not 100% sure my numbers are exact either..

– Pasted Max Patch, click to expand. –

I have an idea if you are really determined.. with sysex, you can create just about any led patterns for each of the led ring. Right now I set it so the led ring are used normally when the value is between 16 and 143… but when it's outside of this range, it doesn't mean you couldn't animate it in so way to reflect where the ring is. What I have in mind is when the value is between the 144 to 15 range, you could turn off different led on your full circle to bring back the same angle covered by the missing 60 degrees at the bottom, but you light it up at the top.. sorry I can't explain it better.. but maybe I can draw it..

Here. The black dot shows the position of the 360 degree encoder. the blue represents the led. So I turn off one of the led based on the position of the black dot. This can be done with sysex message.

[attachment=197004,4060]

Attachments:
  1. 360degreedisplay.jpg
Jun 19, 2012 at 3:37pm #166085