A better kink~

    Jun 18 2013 | 3:40 am
    I was trying to use kink~ as the basis for a Casio-styled Phase Distortion synth. But to get a left-kinked sawtooth waveform, you need to feed it a number between 0.5 and 1 linearly. To get a right-kinked sawtooth waveform you need to feed it a number between 1 and infinity with some sort of exponential curve.
    Instead of dealing with exponential curves and piecewise functions, I decided to use gen~ to write my own much-more-sane (for my purposes) version of kink~.
    The attached diagram should explain what I am talking about (the top-right cell shows what I am designating a "left-kinked sawtooth")

    • Jun 18 2013 | 5:23 am
      That looks nice and simple. For those without gen~, in this way it is possible to have equal values for left and right kinking.