|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::SoundRoutine MayaFlux::create_metro | ( | double | interval_seconds, |
| std::function< void()> | callback | ||
| ) |
Creates a simple task that calls a function at a specified interval.
| interval_seconds | Time between calls in seconds |
| callback | Function to call on each tick This is conceptually similar to Metronomes in PureData and MaxMSP |
Definition at line 30 of file Chronie.cpp.
References get_scheduler(), and MayaFlux::Kriya::metro().
Referenced by schedule_metro().
Here is the call graph for this function:
Here is the caller graph for this function: