Posts with «musical hacks» label

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.

GuitarBot would fit right in to a band where only the instruments operate unplugged. Speaking of robot bands, don’t forget the LEGO-enabled Toa Mata, or the fully robotic group Compressorhead.


Filed under: musical hacks, robots hacks

Spice Up Your Bench With 3D Printed Dancing Springs

Not all projects are made equal. Some are designed to solve a problem while others are just for fun. Entering the ranks of the most useless machines is a project by [Vladimir Mariano] who created the 3D Printed Dancing Springs. It is a step up from 3D printing a custom slinky and will make a fine edition to any maker bench.

The project uses 3D printed coils made of transparent material that is mounted atop geared platforms and attached to a fixed frame. The gears are driven by a servo motor. The motor rotates the gears and the result is a distortion in the spring. This distortion is what the dancing is all about. To add to the effect, [Vladimir Mariano] uses RGB LEDs controlled by an ATmega32u4.

You can’t dance without music. So [Vladimir] added a MEMs microphone to pick up noise levels which are used to control the servo and lights. The code, STL files and build instructions are available on the website for you to follow along. If lights and sound are your things, you must check out the LED Illuminated Isomorphic Keyboard from the past.


Filed under: musical hacks
Hack a Day 30 Jul 06:00
arduino  diy  led  musical hacks  neopixel  slinky  sound  toy  

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.


Filed under: musical hacks
Hack a Day 24 Jul 12:00

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.

Of course, MXL files are probably not better than sheet music if you had to create them by hand. Luckily, there’s a large collection of them available online and the song of interest was there. Note that the link in [MrRedBeard’s] post erroneously has the site as a .com instead of a .org, so you’ll want to use the link here instead of there.

A C# application reads the MXL file and converts it for use on the Arduino. There’s also sample code for the Arduino to get you started.

The project that inspired him is on GitHub and uses Ruby if that suits you better. We’ve talked about MXL before, by the way. If you want to integrate multi channel music on the Arduino, you might start here.


Filed under: Arduino Hacks, musical hacks
Hack a Day 23 Jul 09:00

12-Foot Guitar Takes The Stage

Musical festivals are fun and exciting. They are an opportunity for people to perform and show-off their art. The Boulevardia event held this June in Kansas City was one such event, where one of the interactive exhibits was a 12-foot guitar that could be played. [Chris Riebschlager] shares his experience making this instrument which was intended to welcome the visitors at the event.

The heart of this beautiful installation is a Bare Conductive board which is used to detect a touch on the strings. This information is sent over serial communication to a Raspberry Pi which then selects corresponding WAV files to be played. Additional arcade buttons enable the selection of playable chords from A through G, both major and minor and also give the option to put the guitar in either clean or dirty mode.

The simplicity of construction is amazing. The capacitive touch board is programmed using the Arduino IDE and the code is available as a Gist. The Raspberry Pi runs a Python script which makes the system behave like an actual guitar i.e. touching and holding the strings silences it while releasing the strings produces the relevant sound. The notes being played were exported guitar notes from Garage Band for better consistency.

The physical construction is composed of MDF and steel with the body and neck of the guitar milled on a CNC machine. Paint, finishing and custom decals give the finished project a rocking appearance. Check out the videos below for the fabrication process along with photos of the finished design.

This project is a great example of art enabled by technology and if you love guitars, then go ahead and check out Brian May’s Handmade Guitar.


Filed under: musical hacks

DIY Tiny Single-PCB Synthesizer

[Jan Ostman] has been pushing the limits of sound synthesis on the lowly AVR ATMega microcontrollers, and his latest two project is so cute that we just had to write it up. The miniTS shares the same basic sound-generation firmware with his previous TinyTS, which we’ve covered here before, but adds a lot more keys, an OLED, and MIDI, while taking away some of the knobs.

Both feature keyboards that are just copper pads placed over a ground plane, and the code does simple capacitive-sensing to figure out if they’re being touched or not. The point here is that you could pick up a PCB from [Jan] on the cheap, and experiment around with the code. Or you could just take the code and make a less refined version for yourself with a cheapo Arduino and some copper plates.

Either way, we like the combination of minimal materials and maximum tweakability, and think it’s cool that [Jan] shares the code, if not also the PCB designs. Anyone with PCB layout practice could get a clone worked up in an afternoon, although it’s going to be cheaper to get these made in bulk, and you’re probably better off just buying one from [Jan].


Filed under: musical hacks

Acoustic Accordion Becomes MIDI; Oh the Complexity!

Everyone knows accordions are cool — they look fly, make neat noises, and get your romantic interests all hot and bothered. What isn’t cool is being relegated to acoustics only. How are you going to play a packed stadium or lay down a crystal clear track like that? You could go out and buy an electric accordion, but even low-end models carry a hefty price tag. But, this is Hackaday, and you know we’re going to be telling you about someone who found a better way.

That better way, shown in a build by [Brendan Vavra], was to take an acoustic accordion and convert it to MIDI. The base for his build was a decent full-size acoustic accordion purchased on eBay for just $150. Overall, it was in good mechanical condition, but some of the reeds were out of tune or not working at all. Luckily, that didn’t matter, since he wouldn’t be using them anyway. Don’t be fooled in the demo video below; it sounds like he’s playing the acoustic according but notice he’s not pumping those bellows! However, the bellows isn’t useless either since it can feed data back as a MIDI input.

[Brendan’s] build plan called for an Arduino Mega to be tied to a series of photo-interrupters that would detect button pushes and fire MIDI signals. But, first he had to take the thing apart — no small task, given the complexity of the instrument. The accordion has 120 buttons, and they’re not interchangeable, which means he had to carefully keep track of them as they were disassembled.

Remarkably, he accomplished this without any major hurdles (just a lot of time). The photo-interrupters were installed, and all of the electronics were tucked in nicely inside the body of the accordion. To start, [Brendan] had this wired to his computer with a USB cable from the Arduino in order to prove the concept. After that worked, he upgraded the setup with Bluetooth to transmit the signals, and even added a barometric pressure sensor that allows him to use the bellows for expression and volume changes. Although we’ve seen elaborate MIDI builds before, this might just take the cake for complexity in a small package. Oh, and just sheer coolness.

[via r/somethingimade]


Filed under: musical hacks
Hack a Day 01 Feb 09:01

Annoy Your Neighbors with MIDI Musical Siren

[Yannick], aka [Gigawipf] brings us this (mostly) musical delicacy: a 3D-printed siren that’s driven by a brushless quadcopter motor, and capable of playing (mostly) any music that you’ve got the MIDI score for. This is a fantastic quickie project for any of you out there with a busted quad, or even some spare parts, and a 3D printer. Despite the apparent level of difficulty, this would actually be a great quickie weekend build.

First stop is Thingiverse, for the Mini Air Raid Siren model. Start that printing and get to work on the electronics. For the MIDI-to-ESC (electronic speed controller) conversion, any Arduino with USB support (ATmega32u4 or ARM boards) will work. The important bit is that you can run the MIDI-USB library. All that remains is a MIDI-to-servo pulse conversion and lookup table. Here’s [Yannick]’s file, but we’re guessing that you’ll want to tune your own siren.

How well does it work? See the videos below. Short notes, as well as note-offs, tax the quad motor’s ability to stop the siren rotor immediately. There’s a nice portamento effect as it ramps up between notes as well. You’ll need to pick your repertoire accordingly.

We have a strange affinity for musical sirens, so we’ll readily admit that [Yannick] had us at the word “spinning”. This is an easy project, with a pretty cool result. As far as we know, there’s only one 3D-printed, MIDI-controlled siren in the world, but it shouldn’t be hard to scale the siren model up or down to make different registers and effects. So who’s up for an entire symphony of these things?


Filed under: musical hacks
Hack a Day 30 Jan 03:00

Robo-Flute Whistles MIDI

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 flue) 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.


Filed under: Arduino Hacks, ARM, musical hacks

Ardu McDuino Plays the Bagpipes

To “pipe in” the new year, [John] decided to build a bagpipe-playing robot. Unlike other instrument-playing robots that we’ve seen before, this one is somewhat anatomically correct as well. John went the extra mile and 3D printed fingers and hands to play his set of pipes.

The brains of the robot are handled by an Arduino Mega 2560, which drives a set of solenoids through a driver board. The hands themselves are printed from the open source Enabling the Future project which is an organization that 3D prints prosthetic hands for matched recipients, especially people who can’t otherwise afford prosthetics. He had to scale up his hands by 171% to get them to play the pipes correctly, but from there it was a fairly straightforward matter of providing air to the bag (via a human being) and programming the Arduino to play a few songs.

The bagpipe isn’t a particularly common instrument (at least in parts of the world that aren’t Scottish) so it’s interesting to see a robot built to play one. Of course, your music-playing robot might be able to make music with something that’s not generally considered a musical instrument at all. And if none of these suit your needs, you can always build your own purpose-built semi-robotic instrument as well.


Filed under: musical hacks