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

◆ DuctNetwork() [3/5]

MayaFlux::Nodes::Network::DuctNetwork::DuctNetwork ( double length,
std::function< double(double)> radius,
double sample_rate = 48000.0 )

A duct from a radius function.

Parameters
lengthLength in metres
radiusCallable giving the radius in metres at a distance in metres from the mouth
sample_rateSample rate in Hz

Definition at line 47 of file DuctNetwork.cpp.

49{
50 setup(length, Profile { .radii = {}, .function = std::move(radius) }, sample_rate);
51}
void setup(double length, Profile profile, double sample_rate)
C & declare_controls()
Create the network's controls struct and keep it alive.

References MayaFlux::Nodes::Network::NodeNetwork::declare_controls(), m_controls, and setup().

Here is the call graph for this function: