SLMapFreq

SLMapFreq(init=1000)

SLMap with normalized values for a 'freq' slider.

Parent class : SLMap

Parameters:

    init : int or float, optional
        Initial value. Specified in the real range, not between 0 and 1.
        Defaults to 1000.

    SLMapFreq values are: 
        
    min = 20.0
    max = 20000.0
    scale = 'log'
    name = 'freq'
    res = 'float'
    ramp = 0.025

Methods:

    get(x) : Returns scaled value for `x` between 0 and 1.
    set(x) : Returns the normalized value (0 -> 1) for `x` in the real range.

Methods details:

    SLMapFreq.get(x):

        Takes `x` between 0 and 1 and returns scaled value.

    SLMapFreq.set(x):

        Takes `x` in the real range and returns value unscaled 
        (between 0 and 1).