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

◆ apply_broadcast_parameter()

void MayaFlux::Nodes::Network::WaveguideNetwork::apply_broadcast_parameter ( const std::string &  param,
double  value 
)
private

Definition at line 564 of file WaveguideNetwork.cpp.

565{
566 if (param == "frequency") {
568 } else if (param == "damping" || param == "loss") {
570 } else if (param == "position") {
572 } else if (param == "scale") {
573 m_output_scale = std::max(0.0, value);
574 }
575}
glm::vec3 value
double m_output_scale
Post-processing scalar applied to m_last_audio_buffer each batch.
void set_loss_factor(double loss)
Set per-sample energy loss factor.
void set_fundamental(double freq)
Set fundamental frequency.
void set_pickup_position(double position)
Set pickup position along the string.

References MayaFlux::Nodes::Network::NodeNetwork::m_output_scale, set_fundamental(), set_loss_factor(), set_pickup_position(), and value.

Referenced by update_mapped_parameters().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: