Log

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

Performs a natural log function on audio signal.

Returns the natural log value of input. Values less than 0.0 return 0.0.

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

Examples:

    >>> s = Server(duplex=1).boot()
    >>> s.start()
    >>> a = RandInt(max=1000, freq=4)
    >>> b = Log(a)
    >>> c = Print(input=b, method=1)

Methods details:

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