Disto(input, drive=0.75, slope=0.50, mul=1, add=0)
Arc tangent distortion.
Apply an arc tangent distortion with controllable drive to the input signal.
Parent class : PyoObject
Parameters:
input : PyoObject Input signal to process. drive : float or PyoObject, optional Amount of distortion applied to the signal, between 0 and 1. Defaults to 0.75. slope : float or PyoObject, optional Slope of the lowpass filter applied after distortion, between 0 and 1. Defaults to 0.5.
Methods:
setInput(x, fadetime) : Replace the `input` attribute. setDrive(x) : Replace the `drive` attribute. setSlope(x) : Replace the `slope` attribute.
Attributes:
input : PyoObject. Input signal to filter. drive : float or PyoObject. Amount of distortion. slope : float or PyoObject. Slope of the lowpass filter.
Examples:
>>> s = Server().boot() >>> s.start() >>> a = SfPlayer(SNDS_PATH + "/transparent.aif", loop=True) >>> lfo = Sine(freq=.25, mul=.5, add=.5) >>> d = Disto(a, drive=lfo, slope=.8, mul=.5).out()
Methods details:
Disto.setInput(x, fadetime=0.05): Replace the `input` attribute. Parameters: x : PyoObject New signal to process. fadetime : float, optional Crossfade time between old and new input. Defaults to 0.05. Disto.setDrive(x): Replace the `drive` attribute. Parameters: x : float or PyoObject New `drive` attribute. Disto.setSlope(x): Replace the `slope` attribute. Parameters: x : float or PyoObject New `slope` attribute.