If you like to read with gentle music playing, do yourself a favor and start the video while you’re reading about [Hugo Swift]’s MIDISWAY. The song is Promises, also by [SWIFT], which has piano phrases modulated during the actual playing, not in post-production.
The MIDISWAY is a stage-worthy looking box to sit atop your keys and pulse a happy little LED. The pulsing corresponds to the amount of pitch bending being sent to your instrument over a MIDI DIN connector. This modulation is generated by an Arduino and meant to recreate the effect of analog recording devices like an off-center vinyl or a tape that wasn’t tracking perfectly.
While recording fidelity keeps inching closer to perfect recreation, it takes an engineer like [Hugo Swift] to decide that a step backward is worth a few days of hacking. Now that you know what the MIDISWAY is supposed to do, listen closely at 2:24 in the video when the piano starts. The effect is subtle but hard to miss when you know what to listen for.
MIDI projects abound at Hackaday like this MIDI → USB converter for getting MIDI out of your keyboard once you’ve modulated it with a MIDISWAY. Maybe you are more interested in a MIDI fighter for controlling your DAW. MIDI is a robust and time-tested protocol which started in the early 1980s and will be around for many more years.
Continue reading “MIDISWAY Promises to Step Up Your Live Show”
[Zack] watched a video of [Dan Tepfer] using a computer with a MIDI keyboard to do some automatic fills when playing. He decided he wanted to do better and set out to create an AI that would learn–in real time–how to insert style-appropriate tunes in the gap between the human performance.
If you want the code, you can find it on GitHub. However, the really interesting part is the log of his experiences, successes, and failures. If you want to see the result, check out the video below where he riffs for about 30 seconds and the AI starts taking over for the melody when the performer stops.
Continue reading “Raspberry Pi AI Plays Piano”
There will be no delicate solos for [24 Hour Engineer’s] Tough Pi-ano. It was built to soak punishment from aggressive youngsters in musical therapy, specifically those on the autism spectrum and those with Down’s syndrome. The Tough Pi-ano will be bolted to a wall with heavy-duty shelf brackets so it can’t fall on anyone. The keyboard is covered in plastic and it doesn’t have any exposed metal so there will be no splinters.
[24 Hour Engineer] made a short video demonstration and if you listen closely, he has a pun in all but one sentence. We love that kind of easter egg in YouTube videos. Check it out after the break.
Inside the 48-key instrument are four Raspberry Pi Zeros where each Pi controls one octave. The redundancy ensures that a hardware failure only drops out a single octave and the kids can keep playing until replacement parts arrive. Each Pi has identical programming and a thumbwheel switch tells it which octave it will be emulating.
Programming was done with Python and Pygame and all the inputs are run to a homemade “hat” where the wires are soldered. Pygame’s sole responsibility is to monitor the GPIO and then play the appropriate note when a button is pressed, slapped, punched or sat upon.
Similar in name, the Touch Piano has no moving parts or perhaps you would rather use your Raspberry Pi in an upright piano.
Continue reading “Tough Pi-ano can Take a Punch”
Cheap stuff gets our creative juices flowing. Case in point? [Andy Grove] built an eight-sensor HC-SR04 breakout board, because the ultrasonic distance sensors in question are so affordable that a hacker can hardly avoid ordering them by the dozen. He originally built it for robotics, but then it’s just a few lines of code to turn it into a gesture-controllable musical instrument. Check out the video, embedded below, for an overview of the features.
His Octasonic breakout board is just an AVR in disguise — it reads from eight ultrasonic sensors and delivers a single SPI result to whatever other controller is serving as the brains. In the “piano” demo, that’s a Raspberry Pi, so he needed the usual 5 V to 3.3 V level shifting in between.
The rest is code on the Pi that enables gestures to play notes, change musical instruments, and even shut the Pi down. The Pi code is written in Rust, and up on GitHub. An Instructable has more detail on the hookups.
All in all, building a “piano” out of robot parts is surely a case of having a hammer and every problem looking like a nail, but we find some of the resulting nail-sculptures arise that way. This isn’t the first time we’ve seen an eight-sensor ultrasonic setup before, either. Is 2017 going to be the year of ultrasonic sensor projects? Continue reading “Ultrasonic Raspberry Pi Piano”
I never had the musical talent in me. Every now and then I would try to pick up a guitar or try and learn the piano, romanticising a glamorous career out of it at some point. Arpeggio – the Piano SuperDroid (YouTube, embedded below) sure makes me glad I chose a different career path. This remarkable machine is the brain child of [Nick Morris], who spent two years building it.
Although there are no detailed technical descriptions yet, at its heart this handsome robot consists of a set of machined ‘fingers’ connected to a set of actuators — most likely solenoids . The solenoids are controlled by proprietary software that combines traditional musical data with additional parameters to accurately mimic performances by your favourite pianists, right in your living room. Professional pianists, who were otherwise assuming excellent job security under Skynet, clearly have to reconsider now.
Continue reading “Arpeggio – the Piano SuperDroid”
Halloween might be over, but for some of us there’s still another pumpkin-centric holiday right around the corner to give us an excuse to build projects out of various gourds. During a challenge at a local event, [Michael] came up with a virtual cornucopia of uses for all of the squashes he had on hand and built a touch-sensitive piano with all of them.
The musical instrument was dubbed the Harpsi-Gourd and makes extensive use of the Arduino touch-sensitive libraries. Beyond that, the project was constructed to be able to fit into a standard sized upright piano. While only 15 pumpkins are currently employed, the instrument can be scaled up to 48 pumpkins. Presumably they would need to be very small for the lid of the piano to still close.
The Harpsi-Gourd is a whimsical re-imagining of the original Makey Makey which can be used to do all kinds of things, including play Mario Bros. There are all kinds of other food-based musical instruments at your disposal as well, though.
Performing music in open spaces can be a real challenge. The acoustics of the space can play spoil-sport. Now imagine trying to play an instrument spread out over tens of kilometres. The folks at [LimbicMedia] wrote in to tell us about the project they worked on to build the The World’s Largest Musical Instrument.
The system consists of wirelessly controlled air horns deployed at remote locations. Each air horn is self contained, driven by a supply of compressed air from a scuba diving tank and battery powered electronics. The wireless link allows the air horns to be placed up to 10kms away from the base station. Each air horn is tuned to a specific note of the piano keyboard which, in turn, is configured to transmit its note data to the air horns.
Currently, they have built 12 air horns, enough to let them play the Canadian and British anthems. The horns are built out of PVC piping and other off-the-shelf plastics with the dimensions of the horn determining its note. The setup was installed and performed at the Music by the Sea festival recently, by mounting the air horns on 12 boats which were stationed out at Sea in the Bamfield Inlet in
Eastern Western Canada. But that was just a small trial. The eventual plan is to set up air horns all around Canada, and possibly other places around the world, and synchronise them to play music simultaneously, to commemorate the 150th Canada Day celebrations in 2017.
There aren’t many details shared about the hardware, but it’s not too difficult to make some guesses. A micro-controller to operate the air solenoid, long range radio link to connect all the air horns to the base station, and another controller to detect the key strokes on the Piano. The limiting issue to consider with this arrangement is the spatial separation between the individual air horns. Sound needs about 2.9 seconds to travel over a kilometer. As long as all the air horns are at approximately the same distance from the audience, this shouldn’t be a problem. See how they did in the video after the break. We do know of another project which handled that problem brilliantly, but we’ll leave the details for a future blog post.
This isn’t the first time [LimbicMedia] was commissioned to create audio-visual public installations. A couple of years back they built this Sound Reactive Christmas Tree in Victoria, British Columbia.
Continue reading “Super Massive Musical Instrument”