Hello,
(please bear with me, my english skills are kinda rusty)
I started to actually plan a project i had in mind for a long time and i am not sure if it can be realized (without me going bankrupt).
I have done smaller (MIDI) projects with teensy in the past but i am neither good in electronics nor in programming yet.
I want to build a MIDI controller/instrument with great polyphonic articulation possibilities/control (like e.g. the "Eigenharp", "LinnStruments" or "Seaboard") (at as low cost as possible).
Therefore i want to use a keypad with 4 pressure sensors per key (selfmade using velostat).
With using many keys (around 120 would be nice but i think i have to lower my expectations here quite a bit) it adds up very quick (to almost 500 sensors with 120 Keys). That should be problematic in more than one way.
Here are (some of) my thoughts so far:
Teensy 3.6 has 25 analog ins. I need some of them for other stuff so i calculate with 20 ins available for the keys.
With multiplexing using 74HCT4051 i could expand it to 160 analog ins (or is it possible to "stack" multiplexers somehow?) = 40 keys. With 3 boards that would be the desired 120 keys (+15 analog ins for other stuff... more than enough).
What gives me a little headache is the necessary delay between 74HC4051 change and analogRead because with MIDI instruments one would like to have as low latency as possible and the delays will also add up fairly quick i think (I am not sure if it is a real problem, will have to test it but want to fathom the feasibility of the whole project before ordering parts to do so. One thing that came to my mind is to use a capacitive switch to recognize which of the keys are touched and cycle only through the corresponding multiplexers instead of all (but it is only a vague idea and i need to do much research and thinking first to understand if it is possible and reasonable to do so... atm my guts say, it may not).
I would then connect these 3 teensy to one Rhaspberry PI (either as USB-MIDI device or just transfering the data and doing most of the math/MIDI-programming/conversion with the PI) (I want to use the Rhaspberry PI running Csound as a Soft-Synth anyway). I have not read into it yet and am not sure if it would work this way though?
So my biggest concerns atm are if it is possible to connect more than one Teensy to the Raspberry (ideally via an USB hub), and, the biggest concern, if this would be fast enough for an usable MIDI instrument.
Ideas and opinions on this are highly welcome.
Greetings, Lars
(please bear with me, my english skills are kinda rusty)
I started to actually plan a project i had in mind for a long time and i am not sure if it can be realized (without me going bankrupt).
I have done smaller (MIDI) projects with teensy in the past but i am neither good in electronics nor in programming yet.
I want to build a MIDI controller/instrument with great polyphonic articulation possibilities/control (like e.g. the "Eigenharp", "LinnStruments" or "Seaboard") (at as low cost as possible).
Therefore i want to use a keypad with 4 pressure sensors per key (selfmade using velostat).
With using many keys (around 120 would be nice but i think i have to lower my expectations here quite a bit) it adds up very quick (to almost 500 sensors with 120 Keys). That should be problematic in more than one way.
Here are (some of) my thoughts so far:
Teensy 3.6 has 25 analog ins. I need some of them for other stuff so i calculate with 20 ins available for the keys.
With multiplexing using 74HCT4051 i could expand it to 160 analog ins (or is it possible to "stack" multiplexers somehow?) = 40 keys. With 3 boards that would be the desired 120 keys (+15 analog ins for other stuff... more than enough).
What gives me a little headache is the necessary delay between 74HC4051 change and analogRead because with MIDI instruments one would like to have as low latency as possible and the delays will also add up fairly quick i think (I am not sure if it is a real problem, will have to test it but want to fathom the feasibility of the whole project before ordering parts to do so. One thing that came to my mind is to use a capacitive switch to recognize which of the keys are touched and cycle only through the corresponding multiplexers instead of all (but it is only a vague idea and i need to do much research and thinking first to understand if it is possible and reasonable to do so... atm my guts say, it may not).
I would then connect these 3 teensy to one Rhaspberry PI (either as USB-MIDI device or just transfering the data and doing most of the math/MIDI-programming/conversion with the PI) (I want to use the Rhaspberry PI running Csound as a Soft-Synth anyway). I have not read into it yet and am not sure if it would work this way though?
So my biggest concerns atm are if it is possible to connect more than one Teensy to the Raspberry (ideally via an USB hub), and, the biggest concern, if this would be fast enough for an usable MIDI instrument.
Ideas and opinions on this are highly welcome.
Greetings, Lars