Robot Guitar Rocks Out

Robotic Player Guitar Rocks Out On Its Own

Back in 1988 [Ben Reardon] walked through the Japanese pavilion at the World Expo held in Brisbane, Australia. He saw a robot playing a classical guitar, and was in awe. Later in his life, he decided to learn guitar, and always thought back to that robot. After going to SIGGRAPH 2014 and being inspired by all the creative makers out there, he realized the technology was here — to build his own Robot Guitar.

He started small though — with a prototype robotic Tambourine. It helped flush out some of the ideas for coding that he would eventually employ on the Robot Guitar. The guitar features both an Arduino and a Raspberry Pi, along with six RC servos — one for each string. The biggest challenge with the project was getting the servos mounted just right — stiff, but with adjustment so each pick could be tuned for identical timing. He ended up using aluminum extrusion to mount the servos, three per side in order to leave space for the picks.

Once the mechanical portion was done — onto the coding…

In the end, it ended up being only 460 lines of code. Python and a bit of Bash for the Raspberry Pi — and of course a few sketches for the Arduino. But enough talking about it — let’s hear it!

Continue reading “Robotic Player Guitar Rocks Out On Its Own”

Logic Noise: More CMOS Cowbell!

Logic Noise is an exploration of building raw synthesizers with CMOS logic chips. This session, we’ll tackle things like bells, gongs, cymbals and yes, cowbells that have a high degree of non-harmonically related content in them.

Metallic Sounds: The XOR

I use the term “Non-harmonic” in the sense that the frequencies that compose the sound aren’t even integer multiples of some fundamental pitch as is the case with a guitar string or even our square waves. To make these metallic sounds, we’re going to need to mess things up a little bit, and the logic function we’re introducing today to do it is the exclusive-or (XOR).

Continue reading “Logic Noise: More CMOS Cowbell!”

Trash Can Guitar Cab

Guitar Speaker Cabinet Actually Belongs In Garbage Can

[Dano] builds a lot of guitar pedals and amps. He needed a speaker cabinet dedicated to this task in order to be a consistent reference when checking out his electronic creations. He ordered a couple of 10″ guitar speakers…. and they sat around for a while.

Then one day at the craft store, he stumbled on an inexpensive wooden trash can. It had a tapered design and came with a lid. As would any normal person, [Dano] immediately thought these would make a perfect speaker cabinet so he bought two of them.

The trash cans would be used in an upside-down orientation. The intended lid makes for a well fitting bottom of the cabinet. Holes were cut for the speaker and two terminal blocks. Since these cabinets would be used for testing a bunch of different amps, two different terminal blocks were used to permanently have multiple connector types available.

A pair of modern kitchen cabinet handles were used as carrying handles for each of the two cabinets. If a speaker cabinet one speaker tall is cool, a cabinet two speakers tall must be twice as cool. To get there, the two cabinets were bolted together using electrical conduit as an industrial looking spacer. Those brackets bolted to the sides of the bottom cabinet are actually Ikea shelf brackets that [Dano] had bought and never used. The Ikea brackets support casters making for easy moving around the studio.

Overall, [Dano] is happy with how his cabinets sound. They are very unique and interesting at the least. We’d be happy to play some riffs through them!

Logic Noise: Filters And Drums

Filters and Drums

Logic Noise is an exploration of building raw synthesizers with CMOS logic chips. This session, we continue to abuse the 4069UB as an amplifier. We’ll turn the simple unity-gain buffer of last session into a single-pole active lowpass filter with a single part. (Spoiler: it’s a capacitor.)

While totally useful, this simple filter is a bit boring and difficult to make dynamic. So we’ll look into an entirely different filter, the Twin-T notch filter, that turns out to be sharp enough to build a sine-wave oscillator on, and tweakable enough that we’ll make a damped-oscillator drum sound out of it.

Here’s a quick demo of where we’re heading. Read on to see how we get there.

Continue reading “Logic Noise: Filters And Drums”

3D Spectrum Analyzer Uses 1280 LEDs

One of [Dooievriend]’s friends recently pressed him into service to write software for a 3d spectrum analyzer/VU that he made. The VU is a fairly complex build: it’s made up of 1280 LEDs in a 16x16x5 matrix controlled by a PIC32 clocked at 80MHz. [Dooievriend] wrote some firmware for the PIC that uses a variation on a discrete Fourier transform to create a 3D VU effect.

j6v2i When [Dooievriend] set out to design the audio analyzing portion of the firmware, his mind jumped to the discrete Fourier transform. This transform calculates the amplitude in a series of frequency bins in the audio—seemingly perfect for a VU. However, after some more research, [Dooievriend] decided to implement a constant Q transform. This transform is very similar to a Fourier transform, but it takes into account the logarithmic way that the human ear interprets sound.

[Dooievriend] started implementing the constant Q transform using an interrupt-based sampler, but he quickly ran into issues with slow floating-point math on his PIC32 (which doesn’t have a hardware floating-point unit). Thankfully he rewrote his code using fixed-point math, and the transform runs nearly real-time. Check out the video after the break to see the VU in action, and a second video that gives some details on the hardware build.

Continue reading “3D Spectrum Analyzer Uses 1280 LEDs”

The Hard Drive MIDI Controller

[shantea] builds MIDI controllers, and after a successful first endeavor with a matrix of buttons and knobs, he decided to branch out to something a little bit cooler. It’s called Ceylon, and it’s effectively a turntable controller built from an old hard drive.

As a contrast to the first MIDI controller, this would be a stripped-down build, with just three faders, LEDs for eye candy, a pair of pots for gain control, and a hard disk surrounded by six anti-vandal buttons. The hard disk is the star of the show, acting as a rotary encoder.

When manually spun, the hard disk generates a few phases of sinusoidal waves. The faster you spin it, the higher the amplitude and frequency. These signals are far too weak to be sampled directly by a microcontroller, and for digital control – as in, MIDI – you don’t need to read the analog signals anyway. These signals were turned digital with the help of an LM339 quad comparator. With two of these comparators and signals out of the hard disk that are 90 degrees out of phase, quadrature encoding is pretty easy.

The software for this MIDI controller is based on the OpenDeck Platform, a neat system that allows anyone to create their own MIDI controllers and devices.  It’s also a great looking board that seems to perform well. Video below.

Continue reading “The Hard Drive MIDI Controller”

Synth Guitar

Arduino Synth Guitar Really Rocks

[Gr4yhound] has been rocking out on his recently completed synth guitar. The guitar was built mostly from scratch using an Arduino, some harvested drum pads, and some ribbon potentiometers. The video below shows that not only does it sound good, but [Gr4yhound] obviously knows how to play it.

The physical portion of the build consists of two main components. The body of the guitar is made from a chunk of pine that was routed out by [Gr4yhound’s] own home-made CNC. Three circles were routed out to make room for the harvested Yamaha drum pads, some wiring, and a joystick shield. The other main component is the guitar neck. This was actually a Squire Affinity Strat neck with the frets removed.

For the electronics, [Gr4yhound] has released a series of schematics on Imgur. Three SoftPot membrane potentiometers were added to the neck to simulate strings. This setup allows [Gr4yhound] to adjust the finger position after the note has already been started. This results in a sliding sound that you can’t easily emulate on a keyboard. The three drum pads act as touch sensors for each of the three strings. [Gr4yhound] is able to play each string simultaneously, forming harmonies.

The joystick shield allows [Gr4yhound] to add additional effects to the overall sound. In one of his demo videos you can see him using the joystick to add an effect. An Arduino Micro acts as the primary controller and transmits the musical notes as MIDI commands. [Gr4yhound] is using a commercial MIDI to USB converter in order to play the music on a computer. The converter also allows him to power the Arduino via USB, eliminating the need for batteries.

Continue reading “Arduino Synth Guitar Really Rocks”