MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Chronie.cpp File Reference
+ Include dependency graph for Chronie.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 

Functions

std::shared_ptr< Vruta::TaskSchedulerMayaFlux::get_scheduler ()
 Gets the task scheduler from the default engine.
 
std::shared_ptr< Vruta::EventManagerMayaFlux::get_event_manager ()
 Gets the event manager from the default engine.
 
template<typename... Args>
bool MayaFlux::update_task_params (const std::string &name, Args... args)
 Updates parameters of a scheduled task.
 
Vruta::SoundRoutine MayaFlux::create_metro (double interval_seconds, std::function< void()> callback)
 Creates a simple task that calls a function at a specified interval.
 
void MayaFlux::schedule_metro (double interval_seconds, std::function< void()> callback, std::string name="")
 Creates a metronome task and addes it to the default scheduler list for evaluation.
 
Vruta::SoundRoutine MayaFlux::create_sequence (std::vector< std::pair< double, std::function< void()> > > sequence)
 Creates a sequence task that calls functions at specified times.
 
void MayaFlux::schedule_sequence (std::vector< std::pair< double, std::function< void()> > > sequence, std::string name="")
 Creates a sequence task that calls functions at specified times and addes it to the default scheduler list for evaluation.
 
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.
 
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.
 
void MayaFlux::schedule_pattern (std::function< std::any(uint64_t)> pattern_func, std::function< void(std::any)> callback, double interval_seconds, std::string name="")
 Schedules a pattern generator that produces values based on a pattern function and addes it to the default scheduler list for evaluation.
 
float * MayaFlux::get_line_value (const std::string &name)
 Gets a pointer to a task's current value.
 
void MayaFlux::schedule_task (const std::string &name, Vruta::SoundRoutine &&task, bool initialize=false)
 Schedules a new sound routine task.
 
bool MayaFlux::cancel_task (const std::string &name)
 Cancels a scheduled task.
 
bool MayaFlux::restart_task (const std::string &name)
 Restarts a scheduled task.
 
Kriya::ActionToken MayaFlux::Play (std::shared_ptr< Nodes::Node > node)
 Creates an action to play a node.
 
Kriya::ActionToken MayaFlux::Wait (double seconds)
 Creates a wait action.
 
Kriya::ActionToken MayaFlux::Action (std::function< void()> func)
 Creates a custom action.
 
std::shared_ptr< Kriya::BufferPipelineMayaFlux::create_buffer_pipeline ()
 Creates a new buffer pipeline instance.