MayaFlux 1.0.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 621 of file ModalNetwork.cpp.

622{
623 if (m_modes.size() > index) {
624 return m_modes[index].oscillator->get_last_output();
625 }
626 return std::nullopt;
627}
uint32_t index
Definition VKDevice.cpp:122

References index, and m_modes.