MayaFlux 0.1.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,
bool  loop 
)

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
loopWhether to loop back to start after reaching end
Returns
SoundRoutine object representing the line generator

Uses the task scheduler from the default engine.

Definition at line 61 of file Chronie.cpp.

62{
63 return Kriya::line(*get_scheduler(), start_value, end_value, duration_seconds, step_duration, loop);
64}
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:14

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

+ Here is the call graph for this function: