# Fuzz distortion

**URL:** <https://forum.cabbageaudio.com/t/fuzz-distortion/2067>\
**Category:** Tutorial Requests\
**Created:** [7 August 2020 15:55 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067 "2020-08-07T15:55:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![walker](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@walker](https://forum.cabbageaudio.com/u/walker)\
**Post date:** [7 August 2020 15:55 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/1 "2020-08-07T15:55:26Z")

</div>

Has anyone here built a fuzz distortion? Seems like a relatively obscure/difficult thing to build, especially in Csound… Any help is appreciated

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 August 2020 18:15 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/2 "2020-08-07T18:15:25Z")

</div>

I’m sure it could be done. Have you looked at the distortion opcodes in Csound? There are quite a few. Also, check out [this](https://csound-floss.firebaseapp.com/sound-modification/am-rm-waveshaping) waveshaping tutorial. Some waveshaping with a tanh function gives a pretty nice overdrive. Do you have a fuzz pedal you are trying to model?

---

<div class="post-metadata">

**Author:** ![walker](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@walker](https://forum.cabbageaudio.com/u/walker)\
**Post date:** [7 August 2020 18:19 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/3 "2020-08-07T18:19:33Z")

</div>

I have been messing with the distort and distort1 opcodes, but not super pleased with my results thus far. I have not seen that tutorial, will check out right now, thanks!

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 August 2020 18:26 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/4 "2020-08-07T18:26:19Z")

</div>

I think you will get better results using your own transfer functions.

---

<div class="post-metadata">

**Author:** ![walker](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/w/d26b3c/32.png) [@walker](https://forum.cabbageaudio.com/u/walker)\
**Post date:** [7 August 2020 20:12 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/5 "2020-08-07T20:12:50Z")

</div>

Those tutorials were very helpful, thanks!

---

<div class="post-metadata">

**Author:** ![csound1734](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/csound1734/32/2472_2.png) [@csound1734](https://forum.cabbageaudio.com/u/csound1734)\
**Post date:** [20 September 2020 19:45 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/6 "2020-09-20T19:45:29Z")

</div>

I dont have a tutorial, but the one time I tried to make a multiband compressor in Csound, I got fuzz-like results when I pushed the compression way up and focused on mid-range bands. The extreme version of the effect, basically. Almost like brickwall limiting using `dam` or similar.

---

<div class="post-metadata">

**Author:** ![t\_grey](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/t_grey/32/1234_2.png) [@t\_grey](https://forum.cabbageaudio.com/u/t_grey)\
**Post date:** [22 September 2020 22:39 UTC](https://forum.cabbageaudio.com/t/fuzz-distortion/2067/7 "2020-09-22T22:39:25Z")

</div>

For a typical overdrive style distortion, I made a _REALLY_ simple tanh UDO wrapper, you can get it here if you’d like to check it out:  
[https://raw.githubusercontent.com/tgrey1/Flex-Cabbage/master/includes/udo/tanh.udo.csd](https://raw.githubusercontent.com/tgrey1/Flex-Cabbage/master/includes/udo/tanh.udo.csd)

It basically takes audio in (mono or stereo version) and a k-rate “drive” setting that should be between 0 and 1. It adjusts pre and post gain levels feeding into tanh to keep a roughly “balanced” output level, but if you want to tweak it, you can adjust:

```
#define TANH_PRE_MIN #-3#
#define TANH_PRE_MAX #50#

#define TANH_POST_MIN #3#
#define TANH_POST_MAX #-27#

```

Another option I’m fond of is Steven Yi’s “tubewarmth” opcode, which is available here:  
[http://www.csounds.com/udo/displayOpcode.php?opcode\_id=80](http://www.csounds.com/udo/displayOpcode.php?opcode_id=80)
