pan</A> : Objects to place the sound on an arbitrary set of speakers.

Pan

Pan(input, outs=2, pan=0.50, spread=0.50, mul=1, add=0)

Cosinus panner with control on the spread factor.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Input signal to process.
    outs : int, optional
        Number of channels on the panning circle. Defaults to 2.
    pan : float or PyoObject
        Position of the sound on the panning circle, between 0 and 1. 
        Defaults to 0.5.
    spread : float or PyoObject
        Amount of sound leaking to the surrounding channels, 
        between 0 and 1. Defaults to 0.5.

Methods:

    setInput(x, fadetime) : Replace the `input` attribute.
    setPan(x) : Replace the `pan` attribute.
    setSpread(x) : Replace the `spread` attribute.

Attributes:

    input : PyoObject. Input signal to process.
    pan : float or PyoObject. Position of the sound on the panning circle.
    spread : float or PyoObject. Amount of sound leaking to the 
        surrounding channels.

Examples:

    »> s = Server(nchnls=2).boot()
    »> s.start()
    »> a = Noise(mul=.5)
    »> lfo = Sine(freq=1, mul=.5, add=.5)
    »> p = Pan(a, outs=2, pan=lfo).out()

Methods details:

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

    Pan.setPan(x):

        Replace the `pan` attribute.
        
        Parameters:

        x : float or PyoObject
            new `pan` attribute.

    Pan.setSpread(x):

        Replace the `spread` attribute.
        
        Parameters:

        x : float or PyoObject
            new `spread` attribute.



Subsections