Print(input, method=0, interval=0.25)
Print PyoObject's current value.
Parent class : PyoObject
Parameters:
input : PyoObject Input signal to filter. method : int {0, 1}, optional There is two methods to set when a value is printed (Defaults to 0): 0 : at a periodic interval. 1 : everytime the value changed. interval : float, optional Interval, in seconds, between each print. Used by method 0. Defaults to 0.25.
Methods:
setInput(x, fadetime) : Replace the `input` attribute. setMethod(x) : Replace the `method` attribute. setInterval(x) : Replace the `interval` attribute.
Attributes:
input : PyoObject. Input signal. method : int. Controls when a value is printed. interval : float. For method 0, interval, in seconds, between each print.
Notes:
The out() method is bypassed. Print's signal can not be sent to audio outs. Print has no `mul` and `add` attributes.
Examples:
>>> s = Server().boot() >>> s.start() >>> a = SfPlayer(SNDS_PATH + '/transparent.aif', loop=True, mul=.5).out() >>> b = Follower(a) >>> p = Print(b, method=0, interval=.1)
Methods details:
Print.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. Print.setMethod(x): Replace the `method` attribute. Parameters: x : int {0, 1} New `method` attribute. Print.setInterval(x): Replace the `interval` attribute. Parameters: x : float New `interval` attribute.