MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_decay() [2/2]

void MayaFlux::Nodes::Network::ResonatorNetwork::set_decay ( std::span< const double >  seconds)

Set the ring time of the first resonators from an array.

Parameters
secondsOne ring time per resonator, as for the single form

Definition at line 465 of file ResonatorNetwork.cpp.

466{
467 const size_t count = std::min(seconds.size(), m_resonators.size());
468 for (size_t i = 0; i < count; ++i) {
469 set_decay(i, seconds[i]);
470 }
471}
size_t count
void set_decay(size_t index, double seconds)
Set how long a resonator rings, without clearing its state.

References count, m_resonators, and set_decay().

+ Here is the call graph for this function: