de.sciss.synth.ugen
A graph element which maps a linear range to another linear range. The equivalent formula is (in - srcLo) / (srcHi - srcLo) * (dstHi - dstLo) + dstLo.
(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.
// oscillator to frequency range play { val mod = SinOsc.kr(Line.kr(1, 10, 10)) SinOsc.ar(LinLin(mod, -1, 1, 100, 900)) * 0.1 }
The input signal to convert.
The lower limit of input range.
The upper limit of input range.
The lower limit of output range.
The upper limit of output range.
MulAdd
Clip
LinExp
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
The input signal to convert.
The lower limit of input range.
The upper limit of input range.
The lower limit of output range.
The upper limit of output range.
MulAdd
Clip
LinExp