Asymmetric Distortion/Limiter
Posted: Fri Mar 31, 2017 1:15 am
Simple and interesting distortion block:
Only one phase of the sound is clipped. Could need some sort of offset to retain headroom, but works fine for me.
Code: Select all
rdax adcl, -1 ; Read & invert input
skp GEZ, 1 ; If neg
sof 0.01, 0 ; Soft cut negative wave segment
sof -2, 0 ; Make up gain loss, fix phase
;
rdax adcl, -1 ; Crossmixer
mulx pot0
rdax adcl, 1
;
wrax dacl, 0 ; output, clear acc