Hello,
I'm planning on a project turning old grand piano to a midi-controller. The hammers will strike piezoelectric sensors to get velocity and there will be switches in dampers to get note-off signals. Two pedals will also have optical sensors. The algorithm will be relatively simple, though some velocity curves might be needed. The output is a midi signal.
- each analog should handle ~20 samples per sec (maximum repetition on one key)
- multiple processing at same time (kind of "polyphony")
What hardware would be the best option to take the task without worries of failure in the most extreme circumstances that might happen while playing?
I like very much the simplicity of Arduino platform but the Mega has only 16 analog inputs. I have thought the following options with Arduino:
- Multiplexers (is it possible because can't read more than one at a time, though cycling speed can be fast?)
- External ADCs, (price? still need multiplexers to digitals?)
- Multiple Aruinos (too much hassle to synchronize? price high but acceptable)
What other solutions I have that could do this? The Raspberry seems to be even more inferior in the GPIO part but would there be some modules that could solve the problem? I'm also worried if the processing power in Arduino will be enough, because there might be a lot to process in a relatively short amount of time.
I'm quite newbie in all of this, so your help would save me many hours of research time or even bad investments. If I could decide the suitable platform, I could buy the parts for a few keys and start experimenting and then just expand to 88 keys. Many thanks!
Best regards,
Tuomas Alarotu
I'm planning on a project turning old grand piano to a midi-controller. The hammers will strike piezoelectric sensors to get velocity and there will be switches in dampers to get note-off signals. Two pedals will also have optical sensors. The algorithm will be relatively simple, though some velocity curves might be needed. The output is a midi signal.
- each analog should handle ~20 samples per sec (maximum repetition on one key)
- multiple processing at same time (kind of "polyphony")
What hardware would be the best option to take the task without worries of failure in the most extreme circumstances that might happen while playing?
I like very much the simplicity of Arduino platform but the Mega has only 16 analog inputs. I have thought the following options with Arduino:
- Multiplexers (is it possible because can't read more than one at a time, though cycling speed can be fast?)
- External ADCs, (price? still need multiplexers to digitals?)
- Multiple Aruinos (too much hassle to synchronize? price high but acceptable)
What other solutions I have that could do this? The Raspberry seems to be even more inferior in the GPIO part but would there be some modules that could solve the problem? I'm also worried if the processing power in Arduino will be enough, because there might be a lot to process in a relatively short amount of time.
I'm quite newbie in all of this, so your help would save me many hours of research time or even bad investments. If I could decide the suitable platform, I could buy the parts for a few keys and start experimenting and then just expand to 88 keys. Many thanks!
Best regards,
Tuomas Alarotu