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

◆ get_node_output()

std::optional< double > MayaFlux::Nodes::Network::ModalNetwork::get_node_output ( size_t  index) const
overridevirtual

Get output of specific internal node (for ONE_TO_ONE mapping)

Parameters
indexIndex of node in network
Returns
Output value, or nullopt if not applicable

Reimplemented from MayaFlux::Nodes::Network::NodeNetwork.

Definition at line 337 of file ModalNetwork.cpp.

338{
339 if (m_modes.size() > index) {
340 return m_modes[index].oscillator->get_last_output();
341 }
342 return std::nullopt; // Default: not supported
343}

References m_modes.