Published on Jul 21, 2019 Harry Axten
"This is a digital sampling bitcrusher pedal I've been working on recently. It samples at 8/6/4 bit resolution and is based around an ATmega328P microcontroller.
The project is open hardware - all of the design files, code and construction details can be found on my website: https://hkadesign.org.uk/digitizer.html"
Demo with the Sequential Prophet-6.
"The pedal uses true bypass switching, provided by an onboard relay, eliminating the need for the typical clunky 3PDT stomp switch often used in pedals (as well as all of the tedious off-board wiring this involves). Incoming audio goes through a preamp, which i) gets it to the right level, and ii) biases it to the right range for the microcontroller's ADC. There is also some light filtering to roll off a bit of the high end, reducing distortion caused by sampling frequencies above the Nyquist rate.


The output from the DAC has adjustable filtering, provided by a simple RC network, as well as a wet/dry mixer for a wider variety of possible sounds.
Firmware
The microcontroller program has several functions:
Sample the audio input – as fast as possible
Output this data to the DAC, with an adjustable pause to drop the sample rate
Mask off bits in the sample reading to drop the resolution, according to the switch
Also output the sample reading to the LEDs, updating at a slower rate than the DAC
Read the state of the switches and sample value of rate potentiometer
Debounce bypass switch and keep track of bypass state
Construction
The circuitry is all contained on a double-sided PCB, which is designed to fit comfortably inside a Hammond 1590BB enclosure or similar. It will fit in either portrait or landscape orientation, so you can build it how you like. I decided to keep the input / output jacks, power connector and bypass switch off board, as not to restrict the choice of parts that can be used. As the design includes onboard relay-based true bypass, the bypass switch need only be a simple momentary type.
Here are the specific parts that the PCB requires:
The relay is a miniature DPDT, with a 5V coil. I used the Tianbo HJR1-2C L-05V, although you could use something else.
The R-2R resistor network used for the DAC is a Bourns 4310R-R2R-103LF.
The potentiometers are 9mm Alpha types, with metal shaft and threaded bushing. They're all 10K linear.
The toggle switch is a miniature SPDT centre-off type."
No comments:
Post a Comment
Note: comments that insult people will be removed. Critique on gear is allowed. Do not ask if listings are still available. Click through auction links to check yourself. Posts and pics remain for historical purposes. To reduce spam, comments for posts older than one week are not displayed until approved (usually same day).