Follower(input, freq=10, mul=1, add=0)
Envelope follower.
Output signal is the continuous mean amplitude of an input signal.
Parent class : PyoObject
Parameters:
input : PyoObject Input signal to filter. freq : float or PyoObject, optional Cutoff frequency of the filter in hertz. Default to 10.
Methods:
setInput(x, fadetime) : Replace the `input` attribute. setFreq(x) : Replace the `freq` attribute.
Attributes:
input : PyoObject. Input signal to filter. freq : float or PyoObject. Cutoff frequency of the filter.
Notes:
The out() method is bypassed. Follower's signal can not be sent to audio outs.
Examples:
>>> s = Server().boot() >>> s.start() >>> sf = SfPlayer(SNDS_PATH + "/transparent.aif", loop=True).out() >>> fol = Follower(sf, freq=10) >>> n = Noise(mul=fol).out()
Methods details:
Follower.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. Follower.setFreq(x): Replace the `freq` attribute. Parameters: x : float or PyoObject New `freq` attribute.