|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Sum of N sinusoids advanced by complex rotation instead of a sine call.
Each call rotates every unit phasor by its increment and returns the sum of scale * imaginary part, which is sin(phase) after the advance. A first order correction keeps the phasors on the unit circle, so the amplitude does not drift over long runs. Cheaper than phasor_bank per sinusoid, with no slow amplitude swell: scale the array's scales column for that.
Definition at line 219 of file Kernels.cpp.
References weighted_sum().
Here is the call graph for this function: