We aren’t sure this technically qualifies as music synthesis, but what else do you call a computer playing music? In this case, the computer is a Teensy, and the music comes from a common classroom instrument: a plastic recorder. The mistaken “flute” label comes from the original project. The contraption uses solenoids to operate 3D printed “fingers” and an air pump — this is much easier with a recorder since (unlike a flute) it just needs reasonable air pressure to generate sound.
A Teensy 3.2 programmed using the Teensyduino IDE drives the solenoids. The board reads MIDI command sent over USB from a PC and translates them into the commands for this excellent driver board. It connects TIP31C transistors, along with flyback diodes, to the solenoids via a terminal strip.
On the PC, a program called Ableton sends the MIDI messages to the Teensy. MIDI message have three parts: one sets the message type and channel, another sets the velocity, and one sets the pitch. The code here only looks at the pitch.
This is one of those projects that would be a lot harder without a 3D printer. There are other ways to actuate the finger holes, but being able to make an exact-fitting bracket is very useful. Alas, we couldn’t find a video demo. If you know of one, please drop the link in the comments below.
We have seen bagpipe robots (in fact, we’ve seen several). We’ve also seen hammering shotguns into flutes, which is certainly more melodious than plowshares.
6 thoughts on “Robo-Flute Whistles MIDI”
computer aided music (or noise?)
I *love* seeing people make projects like these. A student in the midwest took a design I did for a science fair site, tweaked it a bit and took second with a slide whistle-playing robot. It used a stepper to move the slide back and forth, an aquarium air pump for pressure and a servo to pinch off the air hose to start and stop notes. It was part of a collection of music robots that played handbells and drums – they all linked together via a serial bus and were controlled by an Arduino.
The MIDI connection is a brilliant addition. and I love the 3D printed fingers playing a recorder. Nice work! I wish there was a video…
Just for the record, a recorder is a flute, but a flute isn’t necessarily a recorder… https://en.wikipedia.org/wiki/Flute
Also just for the record, Ableton is the company that makes the software, the software is called Live.
Calling it Ableton is the equvalent of saying your PC runs “an operating system called Microsoft”.
… Or GNU/Linux, for that matter…
No. You still don’t get it.
Please be kind and respectful to help make the comments section excellent. (Comment Policy)