60 , channels(
std::vector<uint32_t> { ch })
92 requires std::derived_from<U, T>
124MAYAFLUX_API
TimeSpec Time(
double seconds, uint32_t channel = 0);
141MAYAFLUX_API
TimeSpec Time(
double seconds, std::vector<uint32_t> channels);
182MAYAFLUX_API std::shared_ptr<Nodes::Node>
operator|(
const TemporalWrapper<Nodes::Node>& wrapper,
Domain domain);
197MAYAFLUX_API std::shared_ptr<Buffers::Buffer>
operator|(
const TemporalWrapper<Buffers::Buffer>& wrapper,
Domain domain);
212MAYAFLUX_API std::shared_ptr<Nodes::Network::NodeNetwork>
operator|(
const TemporalWrapper<Nodes::Network::NodeNetwork>& wrapper,
Domain domain);
const TimeSpec & spec() const
std::shared_ptr< T > entity() const
TemporalWrapper(const TemporalWrapper< U > &other)
TemporalWrapper(const std::shared_ptr< T > &entity, TimeSpec spec)
std::shared_ptr< T > m_entity
Wraps an entity with a TimeSpec for temporal activation.
std::shared_ptr< Nodes::Node > operator>>(const std::shared_ptr< Nodes::Node > &lhs, const std::shared_ptr< Nodes::Node > &rhs)
Connects two nodes in series (pipeline operator)
std::shared_ptr< Nodes::Node > operator|(const std::shared_ptr< Nodes::Node > &node, Domain d)
TimeSpec Time(double seconds, uint32_t channel)
Creates a TimeSpec with the specified duration and a single channel.
Domain
Unified domain enum combining all three ProcessingToken subsystems.
Main namespace for the Maya Flux audio engine.
std::optional< std::vector< uint32_t > > channels
TimeSpec(double s)
Constructs a TimeSpec with the specified duration.
TimeSpec(double s, std::vector< uint32_t > ch)
Constructs a TimeSpec with the specified duration and channels.
TimeSpec(double s, uint32_t ch)
Constructs a TimeSpec with the specified duration and a single channel.
Represents a timed activation operation for processing nodes, buffers, or networks.