|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Network::ResonatorNetwork::set_decay | ( | size_t | index, |
| double | seconds | ||
| ) |
Set how long a resonator rings, without clearing its state.
| index | Resonator index (0-based) |
| seconds | Time for the ring envelope to fall by 1/e, no upper limit |
| std::out_of_range | if index >= get_node_count() |
Sets the pole radius directly and derives the stored q from it, so q follows rather than leads and is not limited to the range set_q accepts. Written in place and not atomic with respect to a sample in flight.
Definition at line 445 of file ResonatorNetwork.cpp.
References index, m_resonators, MayaFlux::Nodes::Network::NodeNetwork::m_sample_rate, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, MayaFlux::Kinesis::Discrete::q_from_decay(), and write_biquad_in_place().
Referenced by apply_broadcast_parameter(), apply_one_to_one_parameter(), and set_decay().
Here is the call graph for this function:
Here is the caller graph for this function: