Sqrt(input, mul=1, add=0)
Performs a square-root function on audio signal.
Returns the square-root 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() >>> src = Sine(mul=.5) >>> a = Abs(Phasor(freq=1, mul=2, add=-1)) >>> left = Sqrt(1.0 - a) >>> right = Sqrt(a) >>> oL = src * left >>> oR = src * right >>> oL.out() >>> oR.out(1)
Methods details:
Sqrt.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.