HannTable

HannTable(size=8192)

Generates Hanning window.

Parent class : PyoTableObject

Parameters:

    size : int, optional
        Table size in samples. Defaults to 8192.

Methods:

    setSize(size) : Change the size of the table. This will redraw 
        the envelope.

Attributes:

    size : int
        Table size in samples.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> # Hanning envelope
    >>> t = HannTable()
    >>> a = Osc(table=t, freq=2, mul=.5)
    >>> b = Sine(freq=500, mul=a).out()

Methods details:

    HannTable.setSize(size):

        Change the size of the table. This will redraw the envelope.
        
        Parameters:
        
        size : int
            New table size in samples.