11-21-2025, 10:28 AM
(11-20-2025, 11:44 PM)flel Wrote: Understood, makes sense. What about a lua i2c interface to NerdSeq? It seems the ER-301 API for example is open source on Github: https://github.com/monome/crow/blob/main.../er301.lua
It might not be too hard to write one for NerdSeq if there was some spec on how different i2c signals could map to different results in NerdSeq?
EDIT: I guess the Teletype implementation of the SC* commands is also public and quite simple C code so doing a PR to add a NerdSeq library doesnt seem impossible although recompiling Teletype might be a bit of a drag (https://github.com/monome/teletype/blob/...ps/er301.c)
I don't really understand what you mean. Should I implement the lua engine in the NerdSEQ so it can process lua scripting that comes from an I2C port?
I guess not and it would be an imense of overload on the I2C port. As far as I can see lua is only used in the teletype source to describe the different I2C commands. But I did only a quick look over it and don't know anything about that yet.
The question is rather how far should that go in the end. They are many hundreds of possible parameters in the NerdSEQ. It's not a ER301 or JF which got like 10 or less different parameters, which is of course easy to implement.
And then we are only talking about I2C.
That is one of the reasons the mappings are there, to not rely on a strict fixed connection for each midi or I2C or CV or whatever command/signal, but to be flexible with every incoming data and process it with any of the hundreds destinations regardless of the type of source.
For sure I will not do any coding in the teletype code.
PLEASE use the search function if something have been asked or discussed before.
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!
Every (unnessesary) forum support means less time to develop! But of course, i am here to help!

