Dummy(objs_list)
Dummy object used to perform arithmetics on PyoObject.
The user should never instantiate an object of this class.
Parent class : PyoObject
Parameters:
objs_list : list of audio Stream objects List of Stream objects return by the PyoObject hidden method getBaseObjects().
Notes:
Multiplication, addition, division and substraction don't changed the PyoObject on which the operation is performed. A dummy object is created, which is just a copy of the audio Streams of the object, and the operation is applied on the Dummy, leaving the original object unchanged. This lets the user performs multiple different arithmetic operations on an object without conficts. Here, `b` is a Dummy object with `a` as its input with a `mul` attribute of 0.5. attribute: >>> a = Sine() >>> b = a * .5 >>> print a <pyolib.input.Sine object at 0x11fd610> >>> print b <pyolib._core.Dummy object at 0x11fd710>
Examples:
>>> s = Server().boot() >>> s.start() >>> m = Metro().play() >>> p = TrigRand(m, 250, 400) >>> a = Sine(p, mul=.25).out() >>> b = Sine(p*1.25, mul=.25).out() >>> c = Sine(p*1.5, mul=.25).out()