Tone

Tone(input, freq=1000, mul=1, add=0)

A first-order recursive low-pass filter with variable frequency response.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Input signal to filter.
    freq : float or PyoObject, optional
        Cutoff frequency of the filter in hertz. Default to 1000.

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.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> n = Noise(.5)
    >>> f = Tone(n, 500).out()

Methods details:

    Tone.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.

    Tone.setFreq(x):

        Replace the `freq` attribute.
        
        Parameters:

        x : float or PyoObject
            New `freq` attribute.