Hi -
I'm helping build a musical instrument which can be controlled by a midi keyboard. For output I want solenoids to strike bells that are tuned for a 4 octave range (12 notes per octave). The midi inputs seem pretty easy - the https://github.com/SpotlightKid/python-rtmidi source can read the output from my keyboard just fine on the pi. But I'm not sure how to control this many solenoids.
I see that there are a number of relays (like the SainSmart 16-Channel Relay) which might be chained together - but these are opto-mechanical devices that make noise and I'd like the relays to be silent. I created a simple circuit with an arduino and a Darlington TIP120 and that works great - but I don't know how to address 48 of them from the Pi.
Maybe I could set up a serial connection to some arduinos - but I was hoping that there might be something simpler. I've never built anything like this before.
In terms of power - I'm guessing that only a handful [!] of notes would be playing simultaneously. I also would want to connect the voltage of the solenoid to the velocity of the key press from the midi keyboard.
Thanks for any suggestions!
Sean