|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::SoundRoutine MayaFlux::create_pattern | ( | std::function< std::any(uint64_t)> | pattern_func, |
| std::function< void(std::any)> | callback, | ||
| double | interval_seconds | ||
| ) |
Schedules a pattern generator that produces values based on a pattern function.
| pattern_func | Function that generates pattern values based on step index |
| callback | Function to call with each pattern value |
| interval_seconds | Time between pattern steps |
Uses the task scheduler from the default engine.
Definition at line 66 of file Chronie.cpp.
References get_scheduler(), and MayaFlux::Kriya::pattern().
Referenced by schedule_pattern().
Here is the call graph for this function:
Here is the caller graph for this function: