read out carolling christmas bells


Author Message
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1143
Posted: 08:11am 03 Nov 2025      

  NPHighview said  I asked Claude.ai for more information about how to drive solenoids based on MIDI sequences using the prompt:
  Quote  I'd like to build a MIDI-controlled musical instrument. It should accept and interpret MIDI sequences (or a MIDI file), then drive solenoids which will "ping" against Xylophone keys. The solenoids should be driven by MOSFET drivers connected to the I/O pins of a microcontroller such as an Arduino or Raspberry Pi Pico.

and got quite a detailed response. You should find this helpful.
That sounds quite interesting!

  phil99 said  An untested way to read from the solenoids. If it works change the Print line to print to a file.
Thank you very much! I will try that out at the next opportunity!

Frank