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

◆ get_node_audio_buffer()

virtual std::optional< std::span< const double > > MayaFlux::Nodes::Network::NodeNetwork::get_node_audio_buffer ( size_t  ) const
inlinevirtual

Get output of specific internal node as audio buffer (for ONE_TO_ONE mapping)

Parameters
indexIndex of node in network
Returns
Optional span of samples for this node, or nullopt if not applicable

For networks with multiple nodes, this allows external entities to access individual node outputs as separate audio buffers. Useful for granular synthesis, multi-voice processing, etc.

Reimplemented in MayaFlux::Nodes::Network::ModalNetwork, MayaFlux::Nodes::Network::ResonatorNetwork, and MayaFlux::Nodes::Network::WaveguideNetwork.

Definition at line 167 of file NodeNetwork.hpp.

167{ return std::nullopt; }