Randi

Randi(min=0.00, max=1.00, freq=1.00, mul=1, add=0)

Periodic pseudo-random generator with interpolation.

Randi generates a pseudo-random number between `min` and `max` values at a frequency specified by `freq` parameter. Randi will produce straight-line interpolation between current number and the next.

Parent class : PyoObject

Parameters:

    min : float or PyoObject, optional
        Minimum value for the random generation. Defaults to 0.
    max : float or PyoObject, optional
        Maximum value for the random generation. Defaults to 1.
    freq : float or PyoObject, optional
        Polling frequency. Defaults to 1.

Methods:

    setMin(x) : Replace the `min` attribute.
    setMax(x) : Replace the `max` attribute.
    setFreq(x) : Replace the `freq` attribute.

Attributes:

    min : float or PyoObject. Minimum value.
    max : float or PyoObject. Maximum value.
    freq : float or PyoObject. Polling frequency.

Examples:

    >>> s = Server().boot()
    >>> s.start()
    >>> rnd = Randi(400, 600, 4)
    >>> a = Sine(rnd, mul=.5).out()

Methods details:

    Randi.setMin(x):

        Replace the `min` attribute.
        
        Parameters:

        x : float or PyoObject
            new `min` attribute.

    Randi.setMax(x):

        Replace the `max` attribute.
        
        Parameters:

        x : float or PyoObject
            new `max` attribute.

    Randi.setFreq(x):

        Replace the `freq` attribute.
        
        Parameters:

        x : float or PyoObject
            new `freq` attribute.