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

◆ get_node_output()

std::optional< double > MayaFlux::Nodes::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::NodeNetwork.

Definition at line 336 of file ModalNetwork.cpp.

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

References m_modes.