[sharing] Nonlinear Allpass for physical modeling synthesis

.quasar's icon

Thanks to an awesome video by Znibbl I discovered how to implement a nonlinear allpass filter that can be used for physical modelling and waveguides. Along the way I adapted to gen~ some of the different nonlinear allpass implementations in Faust's library.

These extensions are quite awesome in terms of the variaty of sounds they allow you to produce with even a simple karplus strong algorithm. So I thought I would first share my variation on Znibbl's extended karplus strong patch! I'll share a few other patch I think with the Faust "nonlinear ladder allpass".

Please tell me if there is an abstraction I need to include for you to play with the patch. I do not believe so but we never know.

Max Patch
Copy patch and select New From Clipboard in Max.

michelez's icon

Works great on my end. Thanks for sharing this, there is a lot to look at/listen to in there!

Exit Only's icon
.quasar's icon

@MICHELEZ : Cool, glad I didn't forget anything!

Here's a different implementation of the Nonlinear Allpass filter (taking as a base the same kplus patch as before), this time coming from Faust's library. It is a fourth order ladder allpass filter with 3 different modulation modes. It can also be used as a waveshaper in contexts not related to physical modelling.

Max Patch
Copy patch and select New From Clipboard in Max.