|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::ResonatorNetwork::retune | ( | size_t | index, |
| double | frequency | ||
| ) |
Move a resonator's centre frequency without clearing its state.
| index | Resonator index (0-based) |
| frequency | New centre frequency in Hz, clamped below Nyquist |
| std::out_of_range | if index >= get_node_count() |
The stored damping number is kept, so the ring time scales with the new frequency. Follow with set_decay to hold it. Written in place and not atomic with respect to a sample in flight.
Definition at line 434 of file ResonatorNetwork.cpp.
References frequency, index, m_resonators, MayaFlux::Nodes::Network::NodeNetwork::m_sample_rate, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, and write_biquad_in_place().
Referenced by apply_broadcast_parameter(), apply_one_to_one_parameter(), and retune().
Here is the call graph for this function:
Here is the caller graph for this function: