Change

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

Sends trigger that informs when input value has changed.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Audio signal. Must contains integer numbers.

Methods:

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

Attributes:

    input : PyoObject. Audio signal.

Notes:

    The out() method is bypassed. Change's signal can not be sent 
    to audio outs.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> a = Xnoise(mul=500, add=500)
    >>> out = Sine(a, 0, .5).out()
    >>> def pp():
    ...     print a.get()
    >>> b = Change(a)
    >>> c = TrigFunc(b, pp)

Methods details:

    Change.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. Defaults to 0.05.