Tan

Tan(input, mul=1, add=0)

Performs a tangent function on audio signal.

Returns the tangent of input.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Input signal, angle in radians.

Methods:

    setInput(x, fadetime) : Replace the `input` attribute.

Attributes:

    input : PyoObject. Input signal to filter.

Examples:

    >>> s = Server(duplex=1).boot()
    >>> s.start()
    >>> t = HarmTable([1,0,.33,0,.2,0,.143,0,.111])
    >>> a = Osc(table=t, freq=1, mul=.5, add=.5)
    >>> b = Tan(a)
    >>> c = Osc(table=t, freq=100, mul=b).out()

Methods details:

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