Something that was not clear to me right away with Faust is that you can find 
all these things by looking directly at the libraries, which are written in 
Faust. So, if you want to look at the code for ef.cubicNL, you can see it here:

https://github.com/grame-cncm/faustlibraries/blob/2b2c775853deda0861a2d60526167b50831271ac/misceffects.lib
 
<https://github.com/grame-cncm/faustlibraries/blob/2b2c775853deda0861a2d60526167b50831271ac/misceffects.lib>

The libraries are a treasure trove of dsp information.

Sam

> On Dec 4, 2020, at 10:47 AM, Mouldy Soul <richo...@gmail.com> wrote:
> 
> The bit crush was asking not too long ago on the mailing list, credit to JOS: 
> 
> nbits = hslider("BitCrush BITS [knob:4]",24,2,24,1);
> scaler = float(2^nbits-1);
> round(x) = floor(x+0.5);
> bitcrusher(nbits,x) = x :abs: *(scaler) : round : /(scaler) * (2*(x>0)-1.0);
> 
> Here's Sample redux
> 
> redux = hslider("BitCrush SamplFrq [knob:3]",44100,44100/64,44100,1); 
> sampleRedux = ba.downSample(redux); 
> 
> Soft clipping if I can remember is ef.cubicNL (Think cubic is either soft or 
> hard I forget) 
> 
> With Tube/analog modelling distortion, I feel like there was a talk maybe on 
> the Faust conference, and maybe that's what Dirk's Wavedigital filter can 
> help with, emulating real circuit components.
> 
> I think if you look through the mailing list answers from recently, there's 
> someone asking about a wave folding distortion, so you may gain some insights 
> there.
> 
> On Fri, 4 Dec 2020 at 15:53, da <d...@randomstyles.net 
> <mailto:d...@randomstyles.net>> wrote:
> hello,
> 
> i am trying to figure out how to create different distortion effects. is 
> there a site where you can look at some algorithms and how to implement 
> them into faust?
> 
> i am very much interested in these kind of distortion-types:
> 
> 
> Tube/Valve Distortion
> 
> Clipping
> 
> Foldback
> 
> Overdrive
> 
> Bitcrushing
> 
> Sample Rate Reduction / Decimate
> 
> Wavetable Distortion
> 
> 
> thanks a lot :-)
> 
> 
> 
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net 
> <mailto:Faudiostream-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users 
> <https://lists.sourceforge.net/lists/listinfo/faudiostream-users>
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users

_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to