BandSplit

BandSplit(input, num=6, min=20, max=20000, q=1, mul=1, add=0)

Splits an input signal into multiple frequency bands.

The input signal will be separated into `num` bands between `min` and `max` frequencies. Each band will then be assigned to an independent audio stream. Useful for multiband processing.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Input signal to filter.
    num : int, optional
        Number of frequency bands created. Available at initialization 
        time only. Defaults to 6.
    min : float, optional
        Lowest frequency. Available at initialization time only. 
        Defaults to 20.
    max : float, optional
        Highest frequency. Available at initialization time only. 
        Defaults to 20000.
    q : float or PyoObject, optional
        Q of the filters, defined as center frequency / bandwidth. 
        Should be between 1 and 500. Defaults to 1.

Methods:

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

Attributes:

    input : PyoObject. Input signal to filter.
    q : float or PyoObject. Q of the filters.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> lfos = Sine(freq=[.3,.4,.5,.6,.7,.8], mul=.5, add=.5)
    >>> n = Noise(.5)
    >>> a = BandSplit(n, num=6, min=250, max=4000, q=5, mul=lfos).out()

Methods details:

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

    BandSplit.setQ(x):

        Replace the `q` attribute.
        
        Parameters:

        x : float or PyoObject
            new `q` attribute.