Making A Player Piano Talk MIDI

[Ramon] was always fascinated with pianos, and when he came across a few player piano rolls in an antique shop, a small kernel of a project idea was formed. He wondered if anyone had ever tried to convert a player piano into a full MIDI instrument, with a computer tickling the ivories with a few commands. This led to one of the best builds we’ve ever seen: a player piano connected to a computer.

[Ramon] found an old piano in Craigslist for a few hundred dollars, and once it made its way into the workshop the teardown began. Player pianos work via a vacuum, where air is sucked through a few pin points in a piano roll with a bellows. A series of pipes leading to each key translate these small holes into notes. Replicating this system for a MIDI device would be impossible, but there are a few companies that make electronic adapters for player pianos. All [Ramon] would have to do is replicate that.

The lead pipes were torn out and replaced with 88 separate solenoid valves. These valves are controlled via a shift register, and the shift registers controlled by an ATMega. There’s an astonishing amount of electronic and mechanical work invested in this build, and the finished product shows that.

As if turning an ancient player piano into something that can understand and play MIDI music wasn’t enough, [Ramon] decided to add a few visuals to the mix. He found a display with a ratio of 16:4.5 – yes, half as tall as 16:9 – and turned the front of the piano into a giant display. The ten different styles of visualization were whipped up in Processing.

display

The piano has so far been shown at an interactive art exhibit in Oakland, and hopefully it’ll make it to one of the Maker Faires next year. There are also plans to have this piano output MIDI with a key scanner underneath all the keys. Very impressive work.

Video below.

Continue reading “Making A Player Piano Talk MIDI”

A 555 Player Piano

555_timer_automatic_music_player

From simple buzzers to an Atari Punk Console, the simple 555 timer chip is the foundation of a whole lot of interesting lo-fi synth projects perfect for beginners. [Steven] put together a great tutorial for using the 555 timer in a rudimentary synth, and even went so far as to build a simple electronic player piano able to play a song from a sheet of paper with punched holes.

The basic 555 oscillator circuit is very simple – just a few caps and resistors and powered by a few batteries. [Steven] built the simplest 555 circuit, but used a line of graphite drawn on a piece of paper for the resistor controlling the frequency. It’s basically a drawdio built on a breadboard, and easy enough to build for even the most neophyte electronic tinkerer.

Going one step further, [Stephen] drew a long thick line of pencil graphite on a piece of paper and mounted eleven wire loops attached to the circuit over his improvised resistor. After cutting a few holes in a piece of paper, he was able to create a simple player piano with his 555 synth. It worked well enough to play Greensleeves, and is the perfect project for the budding electronics hacker.

Continue reading “A 555 Player Piano”

Reading Piano Rolls Without A Player Piano

detection-example

A while back, [Jacob] played around with a player piano. After feeding a roll into the machine and trying to figure out how a fifty year old machine using hundred year old technology can replicate a skilled pianist, he decided to take a crack at decoding piano rolls for himself. He came up with a clever way of doing it over Christmas break, using a camera and a few bits of OpenCV.

The old-school mechanics of a player piano use a bellows and valve system to suck air through dozens of holes, making the action hit a string whenever a hole is present in the piano roll. To bring this mechanism into the modern age, [Jacob] pointed a video camera at the active part of the piano roll and used OpenCV to translate holes in a piece of paper to a MIDI file.

The synthesized version sounds just as good as the original paper scroll-based version, as seen in the video after the break. There are a few sync issues in the video and the resulting MIDI file isn’t in the right key, but that’s easily fixed by anyone willing to replicate this project.

Continue reading “Reading Piano Rolls Without A Player Piano”

Digitizing Player Piano Rolls

What do you do with 100 player piano rolls but no player piano? You come up with a way to digitize the information for MIDI playback. The rolls have 90 columns worth of holes, 88 for the keys and two more for pedals. Voids in the paper cause a note or pedal to be played, so an optical sensor can be used to transform the analog data into digital information. Simple enough, you’ll just need 90 sensors. But this brings up quite an alignment issue. The solution is to use fiber optic cable to position the IR light source in a hand-made 0.2″ spaced jig. At least the spacing meshes nicely with standard 0.1″ protoboard, which is what was used for mounting the sensors.

[Thanks Mike]

Acordeonador, an 555 accordion powered by a CD player based genrator

CD Player Powered 555 Piano Goes Accordion To Plan

Ah yes, the 555 piano project. Be it the Atari Punk Console, or some other 555 based synthesizer, Hackers just love to hear what the 555 can do when attached to a few passives and a speaker. It’s a sound to behold. But for [Berna], that wasn’t quite enough! Below the break, you can see his creation, called the Acordeonador.

A portmanteau of the Spanish words for “Accordion” and Generator”, the Acordeonador does what no project we’ve seen so far can do: It turns a CD drive into a generator for a 555 based synthesizer.

To give the Acordeonador a more analog feeling, a large 4700uf electrolytic capacitor stores just enough energy to make the music generation more than an on/off affair. It’s a great effect, and it works well! Not being one to leave any details out, [Berna] prototyped the build on perf board and then covered the board in what appears to be an wood grained contact paper, giving it that 1970’s dual keyboard electric organ feel.

It really just goes to prove that a 555 project can be the source of a great time! Hackaday is rife with 555 projects, but if you enjoy this, be sure to check out The Most Important Device In the Universe, which is of course powered by a 555. Continue reading “CD Player Powered 555 Piano Goes Accordion To Plan”

This Piano Does Not Exist

A couple of decades ago one of *the* smartphone accessories to have was a Bluetooth keyboard which projected the keymap onto a table surface where letters could be typed in a virtual space. If we’re honest, we remember them as not being very good. But that hasn’t stopped the idea from resurfacing from time to time.

We’re reminded of it by [Mayuresh1611]’s paper piano, in which a virtual piano keyboard is watched over by a webcam to detect the player’s fingers such that the correct note from a range of MP3 files is delivered.

The README is frustratingly light on details other than setup, but a dive into the requirements reveals OpenCV as expected, and TensorFlow. It seems there’s a training step before a would-be virtual virtuoso can tinkle on the non-existent ivories, but the demo shows that there’s something playable in there. We like the idea, and wonder whether it could also be applied to other instruments such as percussion. A table as a drum kit would surely be just as much fun.

This certainly isn’t the first touch piano we’ve featured, but we think it may be the only one using OpenCV. A previous one used more conventional capacitive sensors.

Hackaday Podcast 141: LowFER Badges, Outrun Clocks, Dichroic Lamps, And Piano Action

Hackaday editors Mike and Elliot Williams catch up on a week’s worth of hacks. It turns out there are several strange radio bands that don’t require a license, and we discuss this weekend’s broadcast where you can listen in. It’s unlikely you’ve ever seen the website check-box abused quite like this: it’s the display for playing Doom! Just when you thought you’d seen all the ESP32’s tricks it gets turned into a clock styled after Out Run. Mike geeks out over how pianos work, we’re both excited to have Jeremy Fielding giving a Keynote talk at Remoticon, and we wrap things up with a chat about traffic rules in space.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (50 MB)

Continue reading “Hackaday Podcast 141: LowFER Badges, Outrun Clocks, Dichroic Lamps, And Piano Action”