11 class GraphicsRoutine;
15namespace Nodes::Generator {
121 MAYAFLUX_API Vruta::SoundRoutine
line(
float start_value,
float end_value,
float duration_seconds, uint32_t step_duration = 5,
bool restartable =
false);
132 [[deprecated(
"Use Logic::while_true or Logic::while_false on the node; removal planned for the next release")]]
133 MAYAFLUX_API Vruta::SoundRoutine
Gate(
135 std::shared_ptr<Nodes::Generator::Logic> logic_node,
bool open =
true);
146 [[deprecated(
"Use Logic::on_change_to on the node; removal planned for the next release")]]
147 MAYAFLUX_API Vruta::SoundRoutine
Trigger(
150 std::shared_ptr<Nodes::Generator::Logic> logic_node);
160 [[deprecated(
"Use Logic::on_change on the node; removal planned for the next release")]]
161 MAYAFLUX_API Vruta::SoundRoutine
Toggle(
163 std::shared_ptr<Nodes::Generator::Logic> logic_node);
@ Vruta
Coroutines, schedulers, clocks, task management.
@ Kriya
Automatable tasks and fluent scheduling api for Nodes and Buffers.
Vruta::SoundRoutine Gate(std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node, bool open)
Coroutine that executes callback continuously while logic node outputs true.
Vruta::SoundRoutine Toggle(std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node)
Coroutine that executes callback on any logic node state change.
Vruta::SoundRoutine line(float start_value, float end_value, float duration_seconds, uint32_t step_duration, bool restartable)
Creates a continuous interpolation generator between two values over time.
std::shared_ptr< Vruta::Routine > sequence(std::vector< std::pair< double, std::function< void()> > > sequence, Vruta::ProcessingToken token)
Creates a temporal sequence that executes callbacks at specified time offsets.
Vruta::SoundRoutine Trigger(bool target_state, std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node)
Coroutine that executes callback when logic node changes to specific state.
std::shared_ptr< Vruta::Routine > metro(double interval_seconds, std::function< void()> callback, Vruta::ProcessingToken token)
Creates a periodic event generator that executes a callback at regular intervals.
@ SAMPLE_ACCURATE
Coroutine is sample-accurate.
Main namespace for the Maya Flux audio engine.