I can't directly answer your question but you'll get plenty of answers at https://organforum.com.
They have several people who use Teensy (and Arduino's) for pipe organs (along with electronic organs).
I have been working on a pipe organ, takes midi messages and opens one or more air valves so a compressor can blow air into the pipe.
Is there a board that already does this? Otherwise I am looking at buying a bunch of individual solenoids and...