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

◆ retarget()

void MayaFlux::Nodes::Network::ReedOperator::retarget ( const Kinesis::Acoustics::DuctGrid & grid,
const Kinesis::Acoustics::DuctSpec & spec,
DuctEnd end )
overridevirtual

Bind to a new grid of the same duct while it keeps sounding.

Note
Allocates nothing. Called instead of prepare when the shape, losses or mouth volume change, so a slide of length does not restart the sound. The default is prepare, which resets.

Reimplemented from MayaFlux::Nodes::Network::TerminationOperator.

Definition at line 129 of file TerminationOperators.cpp.

130{
131 m_end_gain = end_gain_of(grid, end);
132 m_density = spec.air_density;
133 m_time_step = grid.time_step;
134 process(0.0F);
135}
void process(float frames) override
Process for one batch cycle.

References m_density, m_end_gain, m_time_step, and process().

Here is the call graph for this function: