final case
A graph element which maps a linear range to another linear range.
The equivalent formula is (in - srcLo) / (srcHi - srcLo) * (dstHi - dstLo) + dstLo
.
'''Note''': No clipping is performed. If the input signal exceeds the input range, the output will also exceed its range.
===Examples===
// oscillator to frequency range
play {
val mod = SinOsc.kr(Line.kr(1, 10, 10))
SinOsc.ar(LinLin(mod, -1, 1, 100, 900)) * 0.1
}
- Value Params
- dstHi
The upper limit of output range.
- dstLo
The lower limit of output range.
- in
The input signal to convert.
- srcHi
The upper limit of input range.
- srcLo
The lower limit of input range.
- See also
- Companion
- object
trait Serializable
trait Lazy
trait GE
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any