Guitar effects and other musical circuits are a great introduction to electronics. There’s a reason for this: with audio circuits you’re dealing with analog signals and not just the ones and zeros of blinking a LED. Add in the DSP aspects of audio effects, and you have several classes of an EE degree wrapped up in one project.
For his Hackaday Prize entry, [randy.day] is building a guitar multieffect. Instead of just a single distortion, fuzz, or chorus circuit, this tiny little PCB is going to have several flavors of pitch shifting, a flanger, chorus, echo, harmony, and stranger ‘digital-ish’ effects like bitcrushing.
This effects unit is built around a PIC32 and a TI audio codec which processes the audio at 64k 32-bit samples/second. This takes care of all the audio processing, but the hard work for a guitar pedal is actually the enclosure and mechanicals – it’s a hard life for stage equipment. For the foot pedal input, [randy] is using a magnetic position sensor, but there’s no word if he’ll be using a fancy die-cast enclosure or a plastic injection molded unit.
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.
One of the more interesting use cases for the Raspberry Pi is exploiting its DSP capabilities in interesting ways. There’s a lot of horsepower inside the Raspberry Pi, more than enough to do some very interesting things with audio, all while being powered by a small wall wart adapter. [Pierre] over on the Pure Data mailing list has a proof-of-concept working that uses the Raspi as a guitar effects processor. The results are very encouraging – [Pierre] is able to use his Raspi as a delay, pitch shifter, and of course a classic flanger, phaser, and chorus with a latency of about 16 ms.
There are a few steps necessary to get low latency with the Raspi’s audio interface. [Pierre] is running his Pi headless, and allocated more RAM to the CPU.
If you’d like to try this out for yourself, [Pierre] has a tutorial for setting up Pure Data with the Raspberry Pi. He’ll be updating his blog soon with more tutorials and verified USB audio interfaces later.
Check out the processor in action after the break.
Continue reading “Raspberry Pi becomes a guitar effects processor”
Only half of playing guitar – according to a few musician friends of mine – is moving your fingers up and down a fretboard and banging out some chords. The other half is the artistry of mastering your tone, usually through amp settings and stomp boxes.
Pedalboard.js is a project put together by [dashersw], and aims to put a slew of pedals ‘in the cloud’ and turn editing and effects board as easy as building a web page.
The project is built around Webkit’s W3C audio API, allowing this virtual pedal board to work in Chrome, Safari, and other Webkit-enabled browsers. Pedals are programmed as nodes, each configurable to have and input, output, or analyzer that is able to modify the gain, wave shape, or filter of anything received by the line in on your computer.
There’s a lot of builders around whose first foray in electron manipulation was building effects pedals for guitars. It looks like [Dino] might be getting back to his roots with his tremolo effects box how-to.
Last week, [Dino] found an old 5-watt tube amp in someone’s trash and decided to bring it back to a functional state. With his new trem effect, it looks like [Dino] might be getting the band back together.
Apart from tiny boost circuits, a tremolo is generally the simplest effect pedal you can make. All you’ll need to do is vary the amplitude of the guitar’s signal at regular intervals. After that, it’s only a matter of pretending you’re playing through a rotating Leslie speaker.
To get his trem working, [Dino] set up a 555 circuit to flash a LED at regular intervals. This LED is encased in heat-shrink tubing along with a photocell. This setup controls an LM386 amplifier. The build is really simple, but from the video after the break we can tell it sounds great.
Continue reading “Fabbing a guitar tremolo stompbox”