SineLoop

SineLoop(freq=1000, feedback=0, mul=1, add=0)

A simple sine wave oscillator with feedback.

The oscillator output, multiplied by `feedback`, is added to the position increment and can be used to control the brightness of the oscillator.

Parent class : PyoObject

Parameters:

    freq : float or PyoObject, optional
        Frequency in cycles per second. Defaults to 1000.
    feedback : float or PyoObject, optional
        Amount of the output signal added to position increment, between 0 and 1. 
        Controls the brightness. Defaults to 0.

Methods:

    setFreq(x) : Replace the `freq` attribute.
    setFeedback(x) : Replace the `feedback` attribute.

Attributes:

    freq : float or PyoObject, Frequency in cycles per second.
    feedback : float or PyoObject, Brightness control.

See also : Sine OscLoop

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> lfo = Sine(.1, 0, .1, .1)
    >>> a = SineLoop(freq=400, feedback=lfo).out()

Methods details:

    SineLoop.setFreq(x):

        Replace the `freq` attribute.

        Parameters:

        x : float or PyoObject
            new `freq` attribute.

    SineLoop.setFeedback(x):

        Replace the `feedback` attribute.

        Parameters:

        x : float or PyoObject
            new `feedback` attribute.