Re: Fluid circular LED ring on a Livid Code. Arc emulation?
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..
----------begin_max5_patcher---------- 1462.3oc0at0aaaCE.94Tf9efPXOrKNZ7NoF1vvv1dX.aOs91xPghMssZjDM jTZZVw9uORJIaUGoD5La5zGpcBEkzQem6Gk9wW+pKhtV+AUcD36.+E3hK9nY kKbqYW4h9EtHpH8CyySqcaLpTcm952EMq6XMpOz3VuddZtBf3.Dk.f.DVrcO YKb6vbZWhPaWs71hrxbUi6xx6WcotroN6eT1EQvX3fcqusoe6n9k2j1LecV4 p2Vol2z9fPHHyoAnP6YCRX1OQxXH3u6Oo1KTy8aTsmQTztiYu+koEtiD8SUY o4Qti7uu9U1uMeMyaTUnpqSWodHqPCvvP3.GGN3iGbvD3.3vbeh3mC3LWWTn JadHbdy5zxapAK0Uf602VAZxJTiQqjwgEZTXwlBVvGyRBCiQPn.JmA3PgiUI NiKLcHxVVs551yvwycef9jcEB38mZPw8fFyCxMlmEvkWUdU4usD.uj.gfEpU UJUMXcZsw+TBpaTapmY1spz3wdIfvgfevvJ5OZOs+3dPQZy5Zym2CJ0MfqUf ZMXkVuHFr8NmmUplquszc6Einljmb0DUfcvVfFngLwedgphdy5rZvBy0FX9d Yktnk8CzOe47bcsxX4qA2sNswpf.+9u9KfJqJMWqMdG4Y2n.5R2g9Y8B0WMC bWVy5cp0wUPzQTPhStBBgbJHJVFSH3DpvFPlZWRv97RIw2pj54Mi1x6I7Hvi .b9oG3PhKJUhbfiAEcdY8zYCGMWHN4PRFheNICoBYLuK9NEShQTIWhmYh6Gy NW0LLU4UEo2nLAgU1.aFqB33LaBeYxgwL7iwLYqwDUFSEPLxBJWoH.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QEouSWs6+A GlR6Ka+81qbTk58Y8mByrh6pZ93+.LewEE. -----------end_max5_patcher-----------
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.