Sig(value, mul=1, add=0)
Convert numeric value to PyoObject signal.
Parent class : PyoObject
Parameters:
value : float or PyoObject Numerical value to convert.
Methods:
setValue(x) : Changes the value of the signal stream.
Attributes:
value : float or PyoObject. Numerical value to convert.
Notes:
The out() method is bypassed. Sig's signal can not be sent to audio outs.
Examples:
>>> s = Server().boot() >>> fr = Sig(value=400) >>> p = Port(fr, risetime=1, falltime=1) >>> a = Sine(freq=p, mul=.5).out() >>> s.start() >>> fr.value = 800
Methods details:
Sig.setValue(x): Changes the value of the signal stream. Parameters: x : float or PyoObject Numerical value to convert.