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

◆ create_line()

MAYAFLUX_API Vruta::SoundRoutine MayaFlux::create_line ( float  start_value,
float  end_value,
float  duration_seconds,
uint32_t  step_duration = 5,
bool  retain = true 
)

Creates a line generator that interpolates between values over time.

Parameters
start_valueStarting value
end_valueEnding value
duration_secondsTotal duration in seconds
step_durationTime between steps in seconds
retainWhether the coroutine should stay alive for potential restarts (default: true)
Returns
SoundRoutine object representing the line generator

Uses the task scheduler from the default engine.

Definition at line 69 of file Chronie.cpp.

70{
71 return Kriya::line(*get_scheduler(), start_value, end_value, duration_seconds, step_duration, retain);
72}
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:22

References get_scheduler(), and MayaFlux::Kriya::line().

+ Here is the call graph for this function: