Putting Guitar Pedals In A Web Page

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.

Effects pedals – little boxes of electronics that go between the guitar and amp – are able to amplify and distort a guitar’s output, add reverb and delay, and even filter the tone via a wha or envelope pedal. These pedals can be simulated in software, but we can’t believe that they can now be emulated completely in JavaScript.

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.

Thee is a small demo of Pedalboard.js available here with a pre-recorded guitar track feeding into a few stomp boxes. It’s a pretty cool idea if you’d like to play around with a few guitar effect, but we can’t wait to see this bit of JavaScript implemented by effects pedal manufacturers allowing us to try before we buy.

Playing With DSP And Building A Guitar Pedal

Building guitar pedals has come a long way from hooking up a few transistors and building a simple boost circuit. [Cloudscapes] has been working on a Anti-nautilus auto glitch, auto repeat pedal, and if you’re looking for something that sounds like a spaghetti western soundtrack skipping on a record player, we couldn’t think of anything better.

[Cloudscapes] was already familiar with 8-bit AVRs, but when doing real-time audio sampling, a more powerful microcontroller was in order. He turned to the MikroElektronika MINI-32 board for development purposes. This small board fits a PIC32 microcontroller into an easily breadboardable DIP-40 form factor, perfect for playing around with some very capable hardware.

For the DAC, [Cloudscapes] had some experience with the 16-bit PT8211, but finding a good 16-bit ADC in a convenient package was a bit of a challenge. He eventually settled on the 12-bit MCP3201 ADC, more than enough for a pedal that is supposed to sound lo-fi.

After [Cloudscapes] got a few boards made, he started on his DSP adventure. Unfortunately, the initial code used unsigned 16-bit words to represent each sample, meaning every time the loop repeated it would start at 0 and produce a short pop in the speaker. After a week of debugging, [Cloudscapes] realized signed integers are a much better data format for storing audio data and got rid of the problems plaguing his project.

Now [Cloudscapes] has a wonderful DSP dev board, perfect for making new and strange guitar effects. After the break you can listen to a demo of what the Anti-nautilus pedal actually does, and we’ve got to say it sounds great.

Thanks [Chris] for sending this one in.

Continue reading “Playing With DSP And Building A Guitar Pedal”

Looping Foot Pedal

This guitar pedal can record, playback, and modify samples. [Colin Merkel], also know for his work on electronic door locks, built this to replicate some guitar effects he heard in recordings. By tapping the button at the bottom with your foot the device begins recording. Another tap stops the recording and starts the loop. That’s where the rest of the controls take over, with settings to adjust the speed of playback, volume, and the type of playback looping. The video after the break gives a great demonstration of these features.

[Colin] built this around a PIC 18F877A with a 256k RAM chip to store the sample. There’s a bunch of other components that go into this and we’re dumbfounded that he built it on protoboard. This would be a multi-breadboard prototype for us and we wouldn’t think twice about laying out and etching our own PCB. He admits that the point-to-point soldering stretched his skills to the limit but he doesn’t say how many hours it took to get the circuit up and running. This is a great addition to the cool guitar pedals we’ve seen here.

Continue reading “Looping Foot Pedal”