Pow(base=10, exponent=1, mul=1, add=0)
Performs a power function on audio signal.
Parent class : PyoObject
Parameters:
base : float or PyoObject, optional Base composant. Defaults to 10. exponent : float or PyoObject, optional Exponent composant. Defaults to 1.
Methods:
setBase(x) : Replace the `base` attribute. setExponent(x) : Replace the `exponent` attribute.
Attributes:
base : float or PyoObject, Base composant. exponent : float or PyoObject, Exponent composant.
Examples:
>>> s = Server().boot() >>> s.start() >>> a = Phasor(freq=.2, mul=10) >>> b = Pow(10, a) >>> c = Print(input=b, interval=0.1)
Methods details:
Pow.setBase(x): Replace the `base` attribute. Parameters: x : float or PyoObject new `base` attribute. Pow.setExponent(x): Replace the `exponent` attribute. Parameters: x : float or PyoObject new `exponent` attribute.