I would like to use a Teensy 3.2 (or 3.5 if necessary) for a few audio/MIDI related projects and am wondering if some ideas are feasible/realistic.
The most ambitious idea would be a 2-way DAW Controller that would feature
- 18 motorized faders (16+2)
- about 60 rotary encoders with all of them having 15 LEDs arranged in a ring around them (for position feedback)
-about 100-120 pushbuttons
-possibly a display (could be 16x2, 20x4 or maybe a TFT)
I was thinking of using shift registers for the LED Rings, for the sake of simplicity let's assume 2 595s per LED Ring, giving a total of 120 (60*2) bytes for a complete update.
Buttons would be multiplexed .
I would like the motorized faders to be PWM'd , if possible through ShiftPWM and if at all possible, would like their potentiometer data to be read as 13 bit analog readings, for best precision and since mackie control-compatible devices send motorized fader MIDI data as a 13 bit pitch bend CC. These faders also need 2 touch pins on the teensy, I am assuming these can be multiplexed as well?
My main questions about this idea are if it's technically possible at all, but also how the latency would look like on such a system. I would like the internal latency to be under 5ms if at all possible, most critical are 2 way communication between the faders and the usb host, as well as sending rotary encoder input from the device. I don't mind going over that for things such as button input, updating LED rings as long as it's still reasonable, say under 20ms.
Thanks for reading and best regards!
The most ambitious idea would be a 2-way DAW Controller that would feature
- 18 motorized faders (16+2)
- about 60 rotary encoders with all of them having 15 LEDs arranged in a ring around them (for position feedback)
-about 100-120 pushbuttons
-possibly a display (could be 16x2, 20x4 or maybe a TFT)
I was thinking of using shift registers for the LED Rings, for the sake of simplicity let's assume 2 595s per LED Ring, giving a total of 120 (60*2) bytes for a complete update.
Buttons would be multiplexed .
I would like the motorized faders to be PWM'd , if possible through ShiftPWM and if at all possible, would like their potentiometer data to be read as 13 bit analog readings, for best precision and since mackie control-compatible devices send motorized fader MIDI data as a 13 bit pitch bend CC. These faders also need 2 touch pins on the teensy, I am assuming these can be multiplexed as well?
My main questions about this idea are if it's technically possible at all, but also how the latency would look like on such a system. I would like the internal latency to be under 5ms if at all possible, most critical are 2 way communication between the faders and the usb host, as well as sending rotary encoder input from the device. I don't mind going over that for things such as button input, updating LED rings as long as it's still reasonable, say under 20ms.
Thanks for reading and best regards!