thanks for the mention, dario! a very nice distortion heavily used by me in my SuperCollider writings (adopted form Josh Parmenter and Julian Rohrhuber) is to amplify the signal and run it through a `tanh` sinusoid function. the overtone resulting spectrum is quite nice to the ear.
Also interesting in in this regard are the various distortion plugins you can find in this repo: https://github.com/supercollider/sc3-plugins/blob/master/source/DistortionUGens/DistortionUGens.cpp for the algorithms, look for functions with `_next` in their name... cheers Till -- Till Bovermann https://tai-studio.org | http://lfsaw.de | https://www.instagram.com/_lfsaw/ > On 5. Dec 2020, at 15:56, Dario Sanfilippo <[email protected]> wrote: > > You may also want to check the saturators in Zavalishin's book; Google "the > art of va filter design". I have implemented some of those here: > https://github.com/dariosanfilippo/edgeofchaos/blob/master/stabilityEOC.lib. > > For the folding functions, you can see what Till has ported from > Supercollider: > https://github.com/tai-studio/faust-sc/blob/116f80e38ea1ca5c95053f4360804f45dd7494b9/lib/scUGens.lib#L470. > > These wavefolding techniques also seem interesting and could be implemented > in Faust: > https://ccrma.stanford.edu/~jatin/ComplexNonlinearities/Wavefolder.html. I'll > give it a try later. > > I've been doing some experiments with time-variant transfer functions being > written by the input signal itself and I've had promising results, although > this algorithm, ideally, should be implemented using tables where each point > in the TF smoothly transitions from the current value to the new one. As it > is now, you often hear a click when the TF value is overwritten in the delay > line as it most likely jumps. > > You can have a look here: > https://github.com/dariosanfilippo/edgeofchaos/blob/a010b0ca6c5d8b850ecbf954b4e4aff4ad60a752/outformationEOC.lib#L571. > > Cheers, > Dario > > On Fri, 4 Dec 2020 at 16:52, da <[email protected]> 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > _______________________________________________ > Faudiostream-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/faudiostream-users _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
