Posts with «musical hacks» label

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

Bluetooth Speaker With Neopixel Visual Display!

Finding a product that is everything you want isn’t always possible. Making your own that checks off all those boxes can be. [Peter Clough] took the latter route and built a small Bluetooth speaker with an LED visualization display that he calls Magic Box.

A beefy 20W, 4Ohm speaker was screwed to the lid of a wooden box converted to the purpose. [Clough] cut a clear plastic sheet to the dimensions of the box, notching it 2cm from the edge to glue what would become the sound reactive neopixel strip into place — made possible by an electret microphone amplifier. There ended up being plenty of room inside the speaker box to cram an Arduino Pro Mini 3.3V, the RN-52 Bluetooth receiver, and the rest of the components, with an aux cable running out the base of the speaker. As a neat touch, neodymium magnets hold the lid closed.

We gotta say, a custom speaker with LED visualization makes for a tidy little package — aside from the satisfaction that comes from building it yourself.

Depending on your particular situation, you may even opt to design a speaker that attaches to a magnet implanted in your head.

[via /r/DIY]


Filed under: Arduino Hacks, hardware, led hacks, musical hacks

Raspberry Pi Radio Makes the Sweet Music of Bacteria

We’ve noticed a lot of musical groups are named after insects. Probably has something to do with the Beatles. (If you study that for a while you’ll spot the homophonic pun, and yes we know that the Crickets inspired the name.) There’s also Iron Butterfly, Adam Ant, and quite a few more. A recent art project by a Mexican team — Micro-ritmos — might inspire some musical groups to be named after bacteria.

The group used geobacter — a kind of bacteria found in soil — a Raspberry Pi, an Arduino, and a camera to build an interesting device. As it looks at the bacteria and uses SuperCollider to create music and lighting from the patterns. You can see a video of Micro-ritmos, below.

Music is a bit subjective, of course. We thought the music sounded a little oppressive. Not sure how much of that is the code and how much is the characteristics of the bacteria itself.

We’ve seen SuperCollider in a banana piano, before (these are popular because for most people bananas have appeal). We’ve also seen other natural processes generating sound like this project for presenting the sunset to the blind.


Filed under: Android Hacks, musical hacks, Raspberry Pi

MIDI Guitar Pedals

Ever since Jimi Hendrix brought guitar distortion to the forefront of rock and roll, pedals to control the distortion have been a standard piece of equipment for almost every guitarist. Now, there are individual analog pedals for each effect or even digital pedals that have banks of effects programmed in. Distortion is just one of many effects, and if you’ve built your own set of pedals for each of these, you might end up with something like [Brian]: a modular guitar pedal rack.

Taking inspiration from modular synthesizers, [Brian] built a rack out of wood to house the pedal modules. The rack uses 16U rack rails as a standard, with 3U Eurorack brackets. It looks like there’s space for 16 custom-built effects pedals to fit into the rack, and [Brian] can switch them out at will with a foot switch. Everything is tied together with MIDI and is programmed in Helix. The end result looks very polished, and helped [Brian] eliminate his rat’s nest of cables that was lying around before he built his effects rack.

MIDI is an extremely useful protocol for musicians and, despite being around since the ’80s, doesn’t show any signs of slowing down. If you want to get into it yourself, there are all kinds of ways that you can explore the studio space, even if you play an instrument that doesn’t typically use MIDI.


Filed under: musical hacks
Hack a Day 20 Nov 21:01

Touchless MIDI: The Secret’s In the Mitten

MIDI is a great tool for virtually any musician. Unless you’re a keyboard player, though, it might be hard to use it live. [Evan] recently came up with a great solution for all of the wistful guitar players out there who have been dreaming of having a MIDI interface as useful as their pianist brethren, though. He created a touchless MIDI controller that interfaces directly with a guitar.

[Evan] set up an Arduino Nano to handle the MIDI interface to the computer. A detector coil from a previous project was installed onto the guitar can recognize how far away the guitarist’s hand is from the body of the guitar, giving the musician control over an effect of their choosing. The guitarist simply needs to be wearing a special mitten for use with the detector coil. [Evan] also added three tactile buttons, meaning that this MIDI usefulness can be extended to three different selectable effects.

Be sure to check out the video below for a demonstration of how the interface works. [Evan] has also made the schematics and Arduino code available if you decide to build your own. This isn’t [Evan]’s first MIDI rodeo, either. He’s also created a MIDI drum interface from a Rock Band drum set, too.


Filed under: musical hacks
Hack a Day 06 Nov 21:00

Harpsi-Gourd Gets You Into Thanksgiving Spirit

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.


Filed under: musical hacks
Hack a Day 06 Nov 18:00