Abs(input, mul=1, add=0)
Performs a absolute function on audio signal.
Returns the absolute value of input.
Parent class : PyoObject
Parameters:
input : PyoObject Input signal, angle in radians.
Methods:
setInput(x, fadetime) : Replace the `input` attribute.
Attributes:
input : PyoObject. Input signal to process.
Examples:
>>> s = Server(duplex=1).boot() >>> s.start() >>> t = SndTable(SNDS_PATH + "/transparent.aif") >>> a = Phasor(freq=t.getRate()*0.5, mul=2, add=-1) >>> b = Pointer(table=t, index=Abs(a), mul=0.5).out()
Methods details:
Abs.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. Default to 0.05.