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

◆ excite()

void MayaFlux::Nodes::Network::ModalNetwork::excite ( double  strength = 1.0)

Excite all modes (strike/pluck)

Parameters
strengthExcitation strength (0.0 to 1.0+)

Resets all mode amplitudes to their initial values scaled by strength. Simulates striking or plucking the resonant structure.

Definition at line 437 of file ModalNetwork.cpp.

438{
439 initialize_exciter(strength);
440
441 for (auto& mode : m_modes) {
442 mode.amplitude = mode.initial_amplitude * strength;
443 }
444}
void initialize_exciter(double strength)
Initialize exciter for new excitation event.
std::vector< double > mode(std::span< const double > data, size_t n_windows, uint32_t hop_size, uint32_t window_size)
Mode per window via tolerance-bucketed frequency count.
Definition Analysis.cpp:559

References initialize_exciter(), and m_modes.

+ Here is the call graph for this function: