Posts with «musical hacks» label

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

Homemade E-Drums Hit All The Right Notes

In our eyes, there isn’t a much higher calling for Arduinos than using them to make musical instruments. [victorh88] has elevated them to rock star status with his homemade electronic drum kit.

The kit uses an Arduino Mega because of the number of inputs [victorh88] included. It’s not quite Neil Peart-level, but it does have a kick drum, a pair of rack toms, a floor tom, a snare, a crash, a ride, and a hi-hat. With the exception of the hi-hat, all the pieces in the kit use a piezo element to detect the hit and play the appropriate sample based on [Evan Kale]’s code, which was built to turn a Rock Band controller into a MIDI drum kit. The hi-hat uses an LDR embedded in a flip-flop to properly mimic the range of an actual acoustic hi-hat. This is a good idea that we have seen before.

[victorh88] made all the drums and pads out of MDF with four layers of pet screen sandwiched in between. In theory, this kit should be able to take anything he can throw at it, including YYZ. The crash and ride cymbals are MDF with a layer of EVA foam on top. This serves two purposes: it absorbs the shock from the sticks and mutes the sound of wood against wood. After that, it was just a matter of attaching everything to a standard e-drum frame using the existing interfaces. Watch [victorh88] beat a tattoo after the break.

If you hate Arduinos but are still reading for some reason, here’s a kit made with a Pi.

Filed under: Arduino Hacks, musical hacks

Tiny Pipe Organ Needs Tiny Church

There are a lot of unusual listings on eBay. If you’re wondering why someone would have a need for shredded cash, or a switchblade comb, or some “unicorn meat” (whatever that is), we’re honestly wondering the same thing. Sometimes, though, a listing that most people would consider bizarre finds its way to the workbench of someone with a little imagination. That was the case when [tinkartank] found three pipe organ pipes on eBay, bought them, and then built his own drivers.

The pipes have pitches of C, D, and F# (which make, as far we can tell, a C add9 flat5 no3 chord). [tinkartank] started by firing up the CNC machine and creating an enclosure to mount the pipes to. He added a church-like embellishment to the front window, and then started working on the controls for the pipes. Each pipe has its own fan, each salvaged from a hot air gun. The three are controlled with an Arduino. [tinkartank] notes that the fan noise is audible over the pipes, but there does seem to be an adequate amount of air going to each pipe.

This project is a good start towards a fully functional organ, provided [tinkartank] gets lucky enough to find the rest of the pipes from the organ. He’s already dreaming about building a full-sized organ of sorts, but in the meantime it might be interesting to use his existing pipes to build something from Myst.

Filed under: musical hacks
Hack a Day 01 Oct 12:01
air  arduino  fan  heat gun  music  musical hacks  organ  pipe  sound  

Keytar Made Out Of A Scanner To Make Even the 80s Jealous

Do any of you stay awake at night agonizing over how the keytar could get even cooler? The 80s are over, so we know none of us do. Yet here we are, [James Cochrane] has gone out and turned a HP ScanJet Keytar for no apparent reason other than he thought it’d be cool. Don’t bring the 80’s back [James], the world is still recovering from the last time.

Kidding aside (except for the part of not bringing the 80s back), the keytar build is simple, but pretty cool. [James] took an Arduino, a MIDI interface, and a stepper motor driver and integrated it into some of the scanner’s original features. The travel that used to run the optics back and forth now produce the sound; the case of the scanner provides the resonance. He uses a sensor to detect when he’s at the end of the scanner’s travel and it instantly reverses to avoid collision.

A off-the-shelf MIDI keyboard acts as the input for the instrument. As you can hear in the video after the break; it’s not the worst sounding instrument in this age of digital music. As a bonus, he has an additional tutorial on making any stepper motor a MIDI device at the end of the video.

If you don’t have an HP ScanJet lying around, but you are up to your ears in surplus Commodore 64s, we’ve got another build you should check out.

Filed under: Arduino Hacks, digital audio hacks, musical hacks