Posted by & filed under Envelope Generators, LFOs, Projects, Stompbox stuff, Synth DIY.

In the last six months, we’ve been very busy here in the Druid workshop, developing and testing new versions of our PIC-based chips. This work is now complete, so I’d like to introduce the new chips.

Why bother? What was wrong with the old ones?

Ok, there wasn’t anything much wrong with the old ones, but things have moved on since 2008 when most of them were originally developed – ten years ago already! Most importantly, Microchip have developed a newer range of processors, the “enhanced” 16F series chips. The original chips mostly used the 16F684 processor, which could run at 20MHz, but required an external crystal to do so. The newer chips can run at 32MHz, and no longer need a crystal. This saves parts and cost, and frees up a couple of pins for extra features too. This provided the motivation for a comprehensive update.

The new designs increase the size of lookup tables, with data tables moving to 16-bit resolution and including interpolation for super-smooth results. The extra speed moves the sample output rate up to 31.25KHz, so there is an improvement in quality.

TAPLFO3C – Tap Tempo LFO with many features

The original TAPLFO2D chip was one of our most successful and popular designs, and has inspired a range of exciting and versatile pedal projects.

The new chip adds plenty of new features:

  • Smoothing filter to reduce clicks from sharp waveform edges
  • Two sets of eight waveforms for sixteen separate waveforms in total
  • CV invert configuration input to make life simpler with CV mixers
  • Unipolar or Bipolar output selection

 

TAPLFO3C details

TapLFO3C – a bug fix

The TAPLFO3 chip released in February 2018 had a small bug in one of the arithmetic routines that caused it to run slightly slow when compared to the tapped tempo, especially at slower tempos. This has been fixed, and the switch debouncing has also been improved. You can read more about it here if you like.

 

STOMPLFO – 8-pin tap tempo LFO for smaller spaces

The StompLFO design is a simplified and lower-cost version of the TapLFO designed to fit in an 8-pin chip. As such, it can replace the typical dual op-amp Schmitt trigger/integrator LFO design that you see in a million stompbox and guitar pedal circuits.

One significant difference from the other LFO designs is that it uses Pulse Density Modulation (PDM) instead of Pulse Width Modulation (PWM) for the output. This enables the output frequency to be much higher (2MHz instead of 10’s of KHz) and that means simple RC filters can smooth the output easily without losing any waveform detail.

The Offset CV and Depth CV interact in an interesting way to allow the chip to produce bipolar or unipolar waveforms of either polarity. Furthermore, in between these extremes, it responds sensibly to increasing depth, making it easy to set up for a given situation.

The diagram above shows the output for a Triangle wave with 0-5V Depth CV (in blue) and various Offset CVs (in red). The graphs show 0V Offset, unipolar positive “bottom up” depth control, 5V Offset unipolar negative “top down” depth control, 2.5V Offset bipolar “middle outwards” depth control,and finally 1.25V, which starts off bipolar until the output runs out of range, and then increases in a unipolar fashion. This allows full depth control without ever going beyond the lower (or upper) limit.

STOMPLFO details

 

VCLFO10 – A fully voltage-controlled LFO with two sets of eight waveforms

The VCLFO was the first significant PIC project I ever coded. As I learned more and more I was able to add more features and make improvements, which is why it was onto version 9 before it made its public debut!

In the ten years since then, I’ve learned far more, and the new VCLFO10 takes advantage of this and does many things I wouldn’t have thought possible originally, like the random slopes waveform. Some of these new waveforms have already been put to good use in the Benidub DS71 Dub Siren. Pop over to their site and have a listen.

 

So, what have we added? Here’s the improvements and additions:

  • Increased waveform resolution and interpolation
  • Faster output sample rate of 31.25KHz
  • Range CV to select one of four ranges: 0.05Hz to 12.8Hz, 0.1Hz to 25.6Hz, 0.2Hz to 51.2Hz, 0.4Hz to 102.4Hz
  • Smoothing filter to reduce clicks from sharp waveform edges
  • Two sets of eight waveforms for sixteen separate waveforms in total
  • CV invert configuration input to make life simpler with CV mixers

All in all, it’s a big step up.

VCLFO10 details

 

ENVGEN8 – a voltage controlled ADSR envelope generator with looping features

I was never entirely happy that I had to have two separate designs to include the looping features I wanted on an envelope generator. The VCADSR 7B had Gate and Trigger inputs, and the LOOPENV 1B replaced the Trigger input with a Mode CV input that allowed selection of two looping modes or standard ADSR behaviour. It would have been possible to move the code to a 20-pin chip, but that would have been overkill.

The new chip allows me to finally solve this problem neatly, and the ENVGEN 8 has both Gate and Trigger inputs, and the Mode CV and looping features of the LoopEnv.

The other major improvement is that it now uses an on-chip 10-bit multiplying DAC. This not only means that the need for post-chip filtering is much reduced or eliminated, but also that the Level CV control can be done without loss of resolution. The output remains at 10 bit resolution at low levels as well as high.

Additionally, the sample output rate has gone up to 31.25KHz, the tables have been improved, and we’ve added a Punch feature which gives your shortest envelopes more thump.

Example Output

The following diagram shows some example outputs with the three different modes (MODE CV) and the effect of the LIN/EXP selection input to select exponential or linear shapes. The first two modes respond to the GATE and TRIGGER input, but the LFO Looping mode runs constantly irrespective of Gate state.

ENVGEN8 details

Final Note

As ever, any comments, ideas, or corrections are appreciated. Please get in touch through the contact form. Thanks and enjoy the new chips!

 

Creative Commons License
The TAPLFO3, STOMPLFO, VCLFO10, and ENVGEN8,  projects, code and schematics by Tom Wiltshire for Electric Druid are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Here’s the legal stuff.

    Related Products

  • TAPLFO 3C tap tempo LFO

    The TAPLFO chip adds a powerful feature to your LFOs: you can set the LFO frequency by tapping a tempo on a button connected to the chip, or by changing the Tempo CV. With this chip you can build tap tempo effects units or stompboxes, tap tempo controlled drum machines or tap tempo sequencer clocks. All of these are described in the datasheet below. The LFO can produce 8 waveforms, including a random (sample & hold) wave. All the waveforms... Read more »...

    More Info Buy Now
  • VCLFO 10

    The VCLFO 10 is a simple-to-use 0-5V voltage-controlled LFO chip with many more features than your average LFO.It can produce 16 different waveforms in two banks of eight, including a wandering random wave and a noise source. Waveforms can be further shaped by the Wave Distort feature. There is an optional sample-and-hold module that can sample whatever is selected, the current waveform or the noise or random source. The LFO frequency, waveform selection, waveform distortion, S&H rate and output level are all voltage-controlled... Read more »...

    More Info Buy Now
  • STOMPLFO 8-pin tap tempo LFO

    The STOMPLFO tap tempo chip is a simplified 8-pin version of our popular TAPLFO chip. It is intended to replace the typical (and boring!) dual op-amp Schmitt trigger/integrator LFO that turns up in a million stompbox and guitar pedal designs. It provides 8 waveforms including two interesting random waves, and can generate frequencies from 0.05Hz to 25Hz. The LFO frequency, waveform selection, LFO depth, and output offset voltage are all voltage-controlled using 0-5V. Download Electric Druid STOMPLFO tap tempo LFO... Read more »...

    More Info Buy Now
  • ENVGEN 8 Envelope Generator

    This chip is a comprehensive upgrade of the previous generation of Electric Druid voltage controlled envelope generator chips, the VCADSR7B and LOOPENV1B. The VCADSR had both GATE and TRIGGER inputs, and the LOOPENV featured a MODE CV that allows selection of normal ADSR, Gated looping, or full LFO-style Looping modes. This chip combines the features of both onto a single chip, and removes the need for a crystal and resconstruction filter. It also improves the output sample rate to 31.25KHz,... Read more »...

    More Info Buy Now

7 Responses to “Electric Druid chips: The Next Generation”

  1. Simon

    Incredible, thanks sooooo much for sharing, this page is a goldmine!
    With all those new chips around I might finally go for that DIY Polysynth..
    Anyway great work, keep it up!

    Reply
  2. Héctor Marcelo Ferreyra

    Gracias por compartir estos diseños. ¡Eres uno de mis ídolos diy!

    Reply
  3. rs

    looks great! Was about to order a while ago and saw that the previous chips were discontinued, so now I am ready to go …

    One question: can the small 8 pin stomp lfo also used in a modular setting? Using a similar schematics as the larger lfo? I am looking for a small and simple lfo to use in a modular synth (also a replacement for the usual analogue square/triangle) with minimal circuitry. Only CV input would be the tap tempo. But the output should be bipolar -5V…5V. Is it recommended to use the filter example from the other lfo? Or are there simpler solutions? Will there be more example schematics?

    Thanks!

    Reply
    • Tom Wiltshire

      Hi,
      There’s no problem using the StompLFO in a modular. Yes, you can use the same CV input from the TapLFO schematic, but you’ll need to add an inverting stage as well – there’s no software “CV invert” option on the StompLFO.
      For the +/-5V output, you can use just the second stage of the TapLFO’s filter – the 1548Hz part with the offset and gain. There’s no need for a 4 pole filter with the StompLFO’s PDM output.
      HTH,
      Tom

      PS: There might be some more example schematics in due course…I’ve got a few things up my sleeve!

      Reply
  4. Gerry Murray

    Hi Tom

    Really good update.

    I must say, your ‘creative commons’ sharing model is a wonderful example of the best of the synth community.
    Great work!

    Best Regards

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *