SLMapDur(init=1.00)
SLMap with normalized values for a 'dur' slider.
Parent class : SLMap
Parameters:
init : int or float, optional Initial value. Specified in the real range, not between 0 and 1. Defaults to 1. SLMapDur values are: min = 0. max = 60.0 scale = 'lin' name = 'dur' 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:
SLMapDur.get(x): Takes `x` between 0 and 1 and returns scaled value. SLMapDur.set(x): Takes `x` in the real range and returns value unscaled (between 0 and 1).