|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::phasor_bank_state | ( | std::span< const double > | increments, |
| std::span< const double > | scales = {}, |
||
| std::span< const double > | am_increments = {}, |
||
| std::span< const double > | phases = {}, |
||
| std::span< const double > | am_phases = {} |
||
| ) |
Builds the array phasor_bank reads and writes.
| increments | Radians per sample of each partial; sets the count |
| scales | Amplitude of each partial; missing entries are 1 |
| am_increments | Radians per sample of each partial's slow amplitude swell; missing entries are 0, which holds the swell at one half |
| phases | Starting phase of each partial; missing entries are 0 |
| am_phases | Starting phase of each swell; missing entries are 0 |
Layout: [N, increments, scales, am_increments, phases, am_phases], each column N long. Whether partials start together or apart is only what the phase columns hold.
Definition at line 178 of file Kernels.cpp.