Posts with «musical hacks» label

A Simple Floppy Music Controller

While playing music with floppy drives has been done many times over, making any device with a stepper motor play music still appeals to the hacker in all of us. [Tyler] designed an Arduino shield and a library which lets you get up and running in no time. [Tyler]‘s shield includes pin headers to connect 4 floppy drives, which plug directly into the shield. The drives don’t need any modification before being used.

While you could simply wire a few floppy drives up to an Arduino with some jumpers, this breakout shield makes connecting your drives trivial. In addition to designing the shield, [Tyler] released an Arduino library to make things even easier. The library lets you simply set the frequency you want each drive to play, which saves a bit of legwork.

The floppy-controlling Arduino library is available on GitHub and a video of the controller is included after the break.


Filed under: musical hacks
Hack a Day 12 Oct 12:00

The Effects are IN the Guitar? It’s so Simple…

We’ve all had that problem. Up on stage, rocking out Jimi Hendrix-style on guitar with your band, but frustrated at having to mess around with foot pedals to control all of the effects. [Richard] solved this problem in a unique way: he put a preamp and a microcontroller in a guitar that can create some very interesting effects.

For the musically challenged, electric guitars often have several sets of electromagnetic pickups that detect vibrations in the strings at different points along the strings. Selecting different pickup combinations with a built-in switch changes the sound that the guitar makes. [Richard] wired the pickups in his Fender Stratocaster to the microcontroller and programmed it to switch the pickups according to various patterns. The effect is somewhat like a chorus pedal at times and it sounds very unique.

The volume and tone knobs on the guitar are used to select the programmed patterns to switch various pickups at varying speeds. This has the added bonus of keeping the stock look of the guitar in tact, unlike some other guitars we’ve seen before. The Anubis preamp, as it is called, is a very well polished project and the code and wiring schematic are available on the project site along with some audio samples.


Filed under: musical hacks

Gemma-Powered NeoPixel Sound Reactive Drums

This tutorial from Adafruit shows how to create a custom interactive drum set that lights up with sound. It uses a mic amp sensor that is connected to a miniature Arduino Gemma board to detect when the instrument is being hit by the sticks. Neopixels then illuminate into a range of colors creating a beautifully synced up music presentation.

The container that houses the electronics is 3D printed. The entire circuit is integrated into the snare, mid-tom, hi-tom and a drum kick. All the code and step-by-step instructions can be found on Adafruit’s website. Now imagine something like this being packed up in a suitcase and carried from venue to venue as an up-and-coming band travels from state to state on tour; especially at Drum n’ Bass raves or electronic based music festivals. A video of the kit being used is below.


Filed under: musical hacks
Hack a Day 27 Aug 03:00

Laser Piano Worthy Of The Band ‘Wyld Stallyns’

[Robi] and [Kathy] from elecfreaks have put together a how-to article about a Laser Piano they just built. Instead of keys, the user breaks beams of laser light to trigger the sounds.

Several laser pointer diodes are wired in parallel and mounted in a box, cardboard in this case. The laser diodes are aimed at photocells that reside on the other side of the box. Each photocellis connected to a digital input pin on an Arduino. When the Arduino senses a state change from one of the photocell, meaning the beam of light has been interrupted, it plays the appropriate wave file stored on an external JQ6500 sound module.

[Robi] admits that there are some improvements to be made, specifically the trigger response time and the piano sounding too monotonous. If you have any ideas, please leave them in the comments section.

If you’d like to build one, the bill of materials and Arduino code are listed on the above site. We’ve features some other interesting laser-based instruments in the past, such as this guitar, this harp and this harp.

“Be excellent to each other!”

 


Filed under: musical hacks
Hack a Day 03 Jul 06:00

Pair of musical hacks use sensor arrays as keyboards

This pair of musical keyboard hacks both use light to detect inputs. The pair of tips came in on the same day, which sparks talk of consipiracy theory here at Hackaday. Something in the weather must influence what types of projects people take on because we frequently see trends like this one. Video of both projects is embedded after the jump.

On the left is a light-sensitive keyboard which [Kaziem] is showing off. In this image he’s rolling a marble around on the surface. As it passes over the Cadmium Sulfide sensors (which are arranged in the pattern of white and black keys from a piano keyboard) the instrument plays pitches based on the changing light levels. [Thanks Michael via Make]

To the right is [Lex's] proximity sensor keyboard. It uses a half-dozen Infrared proximity sensor which pick up reflected light. He calls it a ‘quantised theremin’ and after seeing it in action we understand why. The overclocked Raspberry Pi playing the tones reacts differently based on distance from the keyboard itself, and hand alignment with the different sensors.


Filed under: musical hacks

Guitar foot controller uses DSP for audio effects

This a screenshot taken from [Pierre's] demonstration of an electric guitar effects pedal combined with DSP and Pure Data. He pulls this off by connecting the guitar directly to the computer, then feeds the computer’s audio output to the guitar amp.

The foot controls include a pedal and eight buttons, all monitored by an Arduino. Pure Data, a visual programming language, interprets the input coming from the Arduino over USB and alters the incoming audio using digital signal processing. [Pierre] manages the audio connection using the JACK Audio Connection Kit software package.

In the video after the break he’s using a laptop for most of the work, but he has also managed to pull this off with a Raspberry Pi. There’s no audio input on the RPi board, but he’s been using a USB sound card anyway. The other USB port connects the Arduino and he’s in business.

[Thanks Walter]


Filed under: musical hacks
Hack a Day 30 Nov 15:58

Glockentar: A Guitar + Glockenspiel Mashup

This unique electronic instrument combines a chopped up guitar and a hacked apart glockenspiel with an Arduino. [Aaron]‘s Glockentar consists of guitar hardware and glockenspiel keys mounted to a wood body. Solenoids placed above the keys actuate metal rods to play a note.

Under the hood, an Arduino connects the pieces. The conductive pick closes a circuit, which is a digital input into the Arduino. This actuates the corresponding solenoid to play the glockenspiel key, and sends a character to a computer over serial.

On the computer, an openFrameworks based program creates lighting that is projected onto each string. MadMapper is used for projection mapping, which maps the openFrameworks output to each string. Video is passed between applications using the Syphon framework.

[Aaron] has provided a write up that goes into details, including the Arduino and openFrameworks source for the project. There’s also a video overview and demo of the Glockentar after the break.


Filed under: musical hacks

Nebulophone microcontroller synthesizer project sounds great

Judging from the video (found after the break) the Nebulophone is one of the best sounding DIY synthesizers we’ve seen. Especially when you consider the simplicity of the hardware design. It uses an AVR chip and an OpAmp. The rest of the parts are just a few handfuls of inexpensive components.

The device was developed by Bleep Labs, and they sell the synthesizer kit seen on the left. But since it’s an open source project you can follow their design to fabricate your own, which is what [BlinkyBlinky] did with his offering seen to the right.

An ATmega328 drives the device, which is the chip often used in the Arduino Duemilanove. The keyboard is a set of traces hooked to the microcontroller. These are tinned pads on the kit PCB, but the DIY version simply uses some adhesive copper foil with a jumper wire soldered to it. The keys are played with a probe that makes the electrical connection, a common practice on these stylophone type designs. Chances are you have everything on hand to make this happen so keep it in mind for that next cold winter weekend that’s making everyone a bit stir crazy.

[Thanks Wybren]


Filed under: arduino hacks, musical hacks

Arduino voice changer turns you into [Vader]

Halloween is just around the corner, so of course we’re looking forward to a bunch of awesome costumes put together by Hackaday readers. In an effort to match his voice to his costume, [Phil Burgess] over at Adafruit (and former Hackaday alumnus) put together an Arduino-powered voice changer to give his voice the gravitas of [James Earl Jones] or the lightheartedness of a member of the Lollipop Guild.

If you’ve ever played with a turntable, you’ll know playing a 33 RPM record at 45 or 78 RPM turns your treasured copy of Dark Side of the Moon into a lighthearted aural experience with a pitch that is much too high. Likewise, playing a single at 33 or 16 RPM means those once dulcet tones are now recordings of tormented souls in an acoustic hell.

[Phil]‘s voice changer operates on the same principle by recording sounds from a microphone into a circular array and playing them back at a different rate; faster if the desired effect is a Munchkin, and slower if this year’s Halloween costume will be a Sith lord.

The completed build incorporates a 10k pot to dynamically change the timbre of the voice changer, as well as an Adafruit Wave Shield to play back a few pre-recorded sounds of lightsabers clashing. In all, a very cool project for your Halloween costume that’s also a very good introduction to DSP and real-time audio modifications with a microcontroller.


Filed under: Holiday Hacks, musical hacks

Making Music With Tennis Balls and Lego

We’ve seen a lot of interesting MIDI controllers, but this one uses some unconventional materials. The World’s Coolest Keystroke, built by [Audiobody], is made from a combination of tennis balls, Lego bricks, servos, and switches.

When a tennis ball is lifted up, a Lego arm is actuated. It looks like a servo is used to move the Lego arm so it hits a switch. An Arduino is used to detect this and send a message to their computer.

They use the device to control Ableton Live and play different clips depending on which tennis ball was removed. It’s an interesting way to control sound with a tactile interface, and it looks pretty nifty.

After the break is a short video of the device in action, but [Audiobody] says that they will be releasing more information soon. We’re looking forward to seeing other interesting controllers that they have in the works.

[Via Make]


Filed under: musical hacks