Tough Pi-ano Can Take A Punch

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”

GuitarBot Brings Together Art And Engineering

Not only does the GuitarBot project show off some great design, but the care given to the documentation and directions is wonderful to see. The GuitarBot is an initiative by three University of Delaware professors, [Dustyn Roberts], [Troy Richards], and [Ashley Pigford] to introduce their students to ‘Artgineering’, a beautiful portmanteau of ‘art’ and ‘engineering’.

The GuitarBot It is designed and documented in a way that the three major elements are compartmentalized: the strummer, the brains, and the chord mechanism are all independent modules wrapped up in a single device. Anyone is, of course, free to build the whole thing, but a lot of work has been done to ease the collaboration of smaller, team-based groups that can work on and bring together individual elements.

Some aspects of the GuitarBot are still works in progress, such as the solenoid-activated chord assembly. But everything else is ready to go with Bills of Materials and build directions. An early video of a strumming test proof of concept used on a ukelele is embedded below.

Continue reading “GuitarBot Brings Together Art And Engineering”

Four Chords Should Be Enough For Anyone

You might be surprised at how many pop songs are exactly the same. Cat Scratch Fever is the exact same song as Smoke on the Water. Even one of Yeezy’s songs is strikingly similar to a weird 90s French electronic group. Musically, though, there are an incredible number of songs that follow a I-V-vi-IV progression. Let it Be is one of them, as is Beast of Burden. Lady Gaga’s Poker Face is another. Now, finally, we have automated most of the pop songs you know and love. [Sven] has created a small MIDI device that only plays a I-V-vi-IV progression, and it’s everything you could ever imagine.

The idea for this build comes from an Axis of Awesome routine demonstrating the fact that hundreds of pop songs follow the same progression. After the idea, the implementation, like the music all those millennials are listening to, is simple.

The 4chord MIDI is a small board with an old Nokia display, buttons, a single USB port, and an ATMega328 microcontroller. Using MIDI over USB, it plays the I-V-vi-IV progression in any key. It plays in chord mode, arpeggiated mode, or mixed mode at any sensible tempo.

You can check out a video of the 4chord playing several hundred songs simultaneously below.

Continue reading “Four Chords Should Be Enough For Anyone”

Meet The Video DJ Machine

Have you ever wanted to perform as a DJ but found the equipment expensive as well as intimidating? Well, your prayers have been answered by [Dror Ayalon] who has designed Nomnom 2. It is an open source, music mixing project that uses up to 16 video clips to give you control of your next hit album.

You are given charge of a physical control panel that has 16 buttons and four knobs. Each button can be used to turn on or off a particular clip while the knobs control the repetition rate, volume, speed and playable length of each track. An Arduino sits under the buttons and is responsible for sending the information to an application that runs in your web browser. The browser app uses the NexusUI library to control playback of the audio clips and bring to life the entire experience.

[Dror Ayalon] has been busy polishing his project and there are some neat videos of him demonstrating it so check out the videos below. The code is available for down from GitHub and the BOM is available at the Hackaday.io project page. The web app can be ported to a desktop app using electron and a PCB can be designed for the controller for future versions.

For now, it is incredible to see hardware and software, come together in such a harmonious fashion. This may be the start of something wonderful but if you are just looking for a way to annoy the neighbors, check out the Midi Musical Siren instead. Continue reading “Meet The Video DJ Machine”

Play It Again, Arduino

[MrRedBeard] wanted to play a particular song from an Arduino program and got tired of trying to hand transcribe the notes. A little research turned up that there was a project to convert Music XML (MXL) files to the Arduino. However, [MrRedBeard] wasn’t a fan of the language it used, so he created his own means of doing the same thing. He learned a lot along the way and was willing to share it in a tutorial that will help you if you want to do the same thing. You can see a video of his results, below.

Continue reading “Play It Again, Arduino”

Radiohead’s Greatest Hits For The ZX Spectrum

We’ll admit that only a few of us here at Hackaday are Radiohead fans. However, we all couldn’t help but appreciate their new remastered release of OK Computer. The new release contains some bonus material. At the end of the bonus material is a strange noise that turns out to be a ZX Spectrum Basic program.[OooSLAJEREKooO] managed to find it, play it, and record it for all of us (see video below).

The two minutes of tones might sound unfamiliar to a modern computer user, but back in the day, audio tones were used to communicate over phone lines and to load and save programs via cassette tape recorders. You might be asking yourself: why the ZX Spectrum? Radiohead is from the UK, but that’s not the complete picture. Of all home computers, the ZX Spectrum had a higher effective bit rate when storing data on tape. Basically, it takes less time (and less tape) to put it on a Speccy than a C64 or Apple.

Continue reading “Radiohead’s Greatest Hits For The ZX Spectrum”

How To MIDI Interface Your Toys

There’s a great number toys in the world, many of which make all manner of pleasant or annoying noises for the entertainment of children. If you’re a musician, these toys may be of interest due to their unique or interesting sounds. However, due to their design being aimed at play rather than performance, it may be difficult to actually use the toy as a musical instrument. One way around this is to record the sounds of the toy into a sampler, but it’s not the only way. [little-scale] is here to demonstrate how to MIDI interface your toys. 

[little-scale] starts out by discussing the many ways in which one can interface with a toy. The article discusses how a simple button can be replaced with a relay, or a multiplexer, and be interfaced to all manner of other devices to control the toy. This is demonstrated by using a mobile phone toy which makes sounds when buttons are pressed.

A Teensy 3.6 is used to run the show, acting as a USB-MIDI interface so the toy can be controlled by music software like Abelton. It’s connected to the toy’s buttons through a multiplexer. The toy’s speaker is cut off and used as an audio output instead, allowing the toy to be easily connected to other audio hardware for performance or recording. It’s also fed through a digital pot so MIDI commands can control the volume. A resistor is used to control pitch in the toy, so this too was replaced with a digital pot as well, to allow sample pitch to be controlled.

The project is incredibly well documented, with [little-scale] first tearing down the toy and highlighting the points of interest, before stepping through each stage of interfacing the toy to the digital world. We’ve seen some of [little-scale]’s work before, too – namely, this MIDI DAC for controlling vintage synthesizers. Video after the break. Continue reading “How To MIDI Interface Your Toys”