|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::schedule_pattern | ( | Values | values, |
| Callback | callback, | ||
| Durations | durations, | ||
| std::string | name = "", | ||
| Vruta::ProcessingToken | token = Vruta::ProcessingToken::SAMPLE_ACCURATE ) |
Schedules a typed pattern spaced by durations.
| Index | Step index type, default uint64_t |
| values | Callable from the step index to any value, a range played once, or recurring(range) |
| callback | Callable that takes the generated value, or the range element by reference |
| durations | A list of seconds, a TimeMap, or a callable from a pass number to a range of seconds |
| name | Name of the pattern task (optional but recommended) |
| token | Processing token to determine which scheduler rate to use (default: SAMPLE_ACCURATE) |
Forwards to Kriya::pattern, which describes the forms. schedule_pattern(gen, cb, { 0.25, 0.5 }) selects this overload.
Definition at line 162 of file Chronie.hpp.
References MayaFlux::Kriya::pattern(), MayaFlux::Vruta::SAMPLE_ACCURATE, and schedule_task().