Dynamics

Dynamics #

Distortion #

How Distortion Works in Music (Ben Sheron’s Blog)

Clipping (Soft & Hard) #

Clipping does exactly what it sounds like, it just chops off the wave. Usually on both the top and bottom.

Hard Clipping

hardclip

Soft Clipping

softclip

The key takeaway from the two different kinds of clipping is that while both add harmonics, hard clipping adds significantly more. That is, it adds a lot more to the higher frequencies. Clipping often has gain to bring the signal back up to the same amplitude, but if this is done, it will usually be a few Loudness Units(1) higher in volume. This is because more harmonics sounds louder.

Waveshaping #

Wave shaping is a pretty broad term, but usually it refers to a method of mapping a wave onto another. It’s basically just a function, like you’ve seen in math class, if you think y=x, that’s a simple 45° slope, and that corresponds to this:


The dashed line represents an example input and output. Because here the line is that simple x=y the input and output values are exactly the same. If we change this line to be something else though, that’s where the magic happens

waveshaper

waveshaping

This gif uses Nysthi’s BZ-Mapper

despite the fact that I’m showing this on a basic oscillator, that isn’t necessary. The input wave can be anything, drums, guitar, whatever you want. This kind of distortion can get pretty crazy pretty quickly.

If you want to know more Learning Synthesis: Waveshapers

explains things beautifully, and also goes into some of the other kinds of distortion and wave mangling up ahead

Wavefolding #

This is one of those things where while the name is pretty self-descriptive, you sorta just have to see the signal on a scope and hear it to see what it does.

Like any distortion, it ultimately adds in more harmonics, so it will make any sound you give it have a lot more high frequency content; however, folding in particular adds a ludicrous amount, so much so they’re sort of deemed “Anti-Filters”.

Wavefolding eats the transition between high and low, the slopes, so with a square wave it has nothing to grab onto and so does nothing except for maybe changing the level. Because of this, you’ll usually see simple waves forms like sines fed into wavefolders, like sines, triangles, and saws.

If you’re looking to get really crazy, check out Befaco’s Chopping Kinky (available in hardware and VCV) which basically replaces the top half of the wave with one input, the bottom half of the wave with another, and then lets you wavefold both of those inputs. It’s absolutely nuts. See the manual here if you’re still confused.

Drive, and Tubes #

[TODO]

Bitcrushing & Comparators #

Bit crushing is often related to sample rate reduction as well, so one at a time:

Bit crushing is taking the signal and lowering the number of bits that are used to store it. This means it’s an inherently digital effect. Most audio is processed at 16 or 24 bit, even at just 16 bit that means each sample point can be any of \(2^16 = 65536\) values. Usually, audio is sampled with a Digital to Analog Converter (DAC) at around 44.1khz. This means that 44,100 times a second the signal is sampled and the level (amplitude) of the signal is stored as a value between 0 and 65536. That bit depth (16bit) is good enough that you shouldn’t really be able to tell it’s digital once it’s spit back though a Digital to Analog Converter (ADC). However, if we turn that bit depth down, let’s say all the way to 8 bit now there are only \(2^8 = 256\) levels of amplitude the signal can be represented with, even if we continue to sample at the same rate, this will cause audible distortion and bring a lo-fi sound. Crush even harder, say down to 2 bit (4 levels), and it turns into an outright destructive distortion that mangles the signal.

Similarly, the sample rate can be reduced to cause the signal to have issues with higher frequencies as a result of aliasing.

[Todo, fabfilter distortion video]

Noise Gating #

The Animated Guide to Gates (Patches.zone)

Gating other effects with a mix #

gated verb, gated distortion

Limiting #

Limiting is basically the exact same as clipping from before (including the hard and soft bits) except it usually involves being a little more clever about when to clip the signal, usually having some attack time before the signal get’s clipped, moreover, the intention is usually to avoid distortion outright and so the limiter will usually try to turn down the gain a bit to keep signals in check, rather than just clipping them and getting all those extra harmonics.

see: Q. Is there a difference between clipping and limiting? from Sound on Sound.

If you already know what compressors do, you can basically think of limiters as compressors with the ratio knob at ∞. See Limiter Vs Compressor: What you need to know (Musician on a Mission).

Compression #

The Animated Guide To Compression (patche.zone) is a great place to start, but if you still need more, I recommend reading on:

The above is a 3 part series that explains compressors better than anything I can really write here

Compression can mean multiple things when talking about music and sometimes this makes talking about it sometimes confusing. Usually, when talking about compression the meaning is for compression that changes the dynamics of the audio, making loud sounds quieter and quiet sounds louder sort of ~squishing~ the sound. The other, unrelated, definition of compression is data compression, for example .mp3 vs .wav. We’ll go into that later.

Okay, this is sort of a lie. Compressors don't technically make anything louder. Only quieter. It's just that usually there's some input and/or output gain that makes it seem this way. If you first boost all your signals, then lower louder parts that's nearly the same thing as making the quiet stuff louder and louder stuff qquieter The reason this is worth bringing up is because not all compressors actually have that gain stage, so they will literally only make the loud sounds quieter and assume the user knows they need to compensate

Usually, compression has a few basic attributes that are relevant:

The ‘Threshold’ is what level the compressor has to be over to do anything at all. ‘Attack’ is the time it takes for the signal to be affected. All compressors will have some minimum attack time if they’re happening live (there are some compressors with ‘Lookahead’ that solve this problem) which lets the transients (sharp changes) of louder sounds, like the start of a drum hit, get through to some extent, but more attack will let more of the drum transient through. Tune to taste, release is a similar idea, but controls how the compressor behaves as it falls below the threshold, letting the compressor fade out with a given time instead of having a sharp cut. Compressors can be used to make drums really stand out, give guitars a longer sustained sound, or just glue the mix together better.

[TODO knee, sidechain]

[TODO, Dynamic range compression, Parallel Compression, Multiband compression, different analog models (ie Fets v tube v optical)]

reverb, delay, pan, tremolo, overdrive, distortion

WTF is a Compander? (YouTube, Dan Worrall)

How to use a Compressor + 10 tips (Musician on a Mission)

[TODO] parallel Compression

[TODO] Multiband Compression

[TODO] Expansion

Guitar Amps #

So, all of this sort of misses a point about how all of these things play together. The truth is you probably want your distortion to do a lot of effects all at once. You probably want some overdrive, some soft clipping, some of the dry signal, some eq applied, some filtering, some … magic - that is, you probably want your distortion to do all the things you’re thinking about when you think about what a guitar sounds like after running though the guitar amp and speaker.

Calling this magic really isn’t that far from the truth. The way analog circuits that are known to sound damn good do distortion is really, really, really fucking tricky to emulate digitally. It’s so bad that the best emulations are using AI to model the circuits because humans just can’t get all the weird little quirks.

So, where I really want to end this page is a recommendation to know what wavefolding, waveshaping, bitcrushing, soft vs hard clipping etc. all are, but to just not care most of the time and instead focus on finding a few distortion sounds you like.

I, personally, have found my go-to tools are

  • Vult’s “Flame” for VCV Rack ($25 iirc)
  • Literally any clone of the Pro Co “RAT” distortion pedal - but actually hardware, software emulations alias like hell. (clone go for ~$30)
  • Noise Engineering Ruina VST (FREE)
  • When paired with another distortion (Rat, DS-1, whatever) the a green ringer pedal clone with germanium diodes (the diodes are important, as otherwise they respond like ass, imho) adds a lot of … something. It is an octave effect, but the way it distorts with chords yields something I haven’t heard in anything else. These are pretty much only available from random hand made pedal builders on Reverb, prices vary wildly. The one I have was made by Dongeomac, but there are others.

All of these have a really nice response to varying dynamics and feel “right”


If you would like to support my development of OpGuides, please consider supporting me on GitHub Sponsors or dropping me some spare change on Venmo @vegadeftwing - every little bit helps ❤️