MayaFlux 0.3.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 528 of file ModalNetwork.cpp.

529{
530 if (m_modes.size() > index) {
531 return m_modes[index].oscillator->get_last_output();
532 }
533 return std::nullopt;
534}

References m_modes.