dplug v4.2.2 (2017-05-30T16:49:02Z)
Home
Dub
Repo
lerp
dplug
core
math
Linear interpolation, akin to GLSL's mix.
pure nothrow @
nogc
S
lerp
(
S
T
)
(
S
a
,
S
b
,
T
t
)
if
(
is
(
typeof
(
t
*
b
+
(
1 -
t
)
*
a
) :
S
)
)
Meta
Source
See Implementation
dplug
core
math
aliases
MIDIToFrequency
frequencyToMIDI
functions
computeRMS
convertFrequencyToMIDINote
convertFrequencyToNormalizedFrequency
convertMIDINoteToFrequency
convertNormalizedFreqyencyToFrequency
deciBelToFloat
equalLoudnessCurve
expDecayFactor
fast_ceil
fast_exp
fast_exp2
fast_floor
fast_log
fast_log10
fast_log2
fast_pow
fast_round
fast_trunc
floatToDeciBel
hermite
iFloorLog2
inverseSqrt
isEven
isOdd
isPowerOfTwo
lerp
linmap
logmap
nextPowerOf2
normalizePhase
rawSawtooth
rawSquare
rawTriangle
sinc
smoothStep
variables
TAU
Linear interpolation, akin to GLSL's mix.