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

◆ channel()

Acoustics::ReedChannel MayaFlux::Nodes::Network::ReedOperator::channel ( ) const
nodiscardprivatenoexcept

Definition at line 97 of file TerminationOperators.cpp.

98{
99 const double lip = std::clamp(m_lip.load(std::memory_order_relaxed), 0.0, 1.0);
100 const double stiffening = 1.0 + lip_stiffening * lip;
101 const double narrowing = 1.0 - lip_narrowing * lip;
102
103 return {
104 .width = m_width.load(std::memory_order_relaxed),
105 .rest_opening = m_rest_opening.load(std::memory_order_relaxed) * narrowing,
106 .closing_pressure = m_closing_pressure.load(std::memory_order_relaxed) * stiffening,
107 .air_density = m_density
108 };
109}

References m_closing_pressure, m_density, m_lip, m_rest_opening, and m_width.

Referenced by couple(), and process().

Here is the caller graph for this function: