|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
#include "MayaFlux/IO/Keys.hpp"
Include dependency graph for Chronie.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Core |
| namespace | MayaFlux::Nodes |
| Contains the node-based computational processing system components. | |
| namespace | MayaFlux::Vruta |
| namespace | MayaFlux::Kriya |
Functions | |
| std::shared_ptr< Vruta::TaskScheduler > | MayaFlux::get_scheduler () |
| Gets the task scheduler from the default engine. | |
| std::shared_ptr< Vruta::EventManager > | MayaFlux::get_event_manager () |
| Gets the event manager from the default engine. | |
| 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. | |
| template<typename... Args> | |
| MAYAFLUX_API bool | MayaFlux::update_task_params (const std::string &name, Args... args) |
| Updates parameters of a scheduled task. | |
| std::shared_ptr< Kriya::BufferPipeline > | MayaFlux::create_buffer_pipeline () |
| Creates a new buffer pipeline instance. | |
| void | MayaFlux::on_key_pressed (const std::shared_ptr< Core::Window > &window, IO::Keys key, std::function< void()> callback, std::string name="") |
| Schedule a key press handler. | |
| void | MayaFlux::on_key_released (const std::shared_ptr< Core::Window > &window, IO::Keys key, std::function< void()> callback, std::string name="") |
| Schedule a key release handler. | |
| void | MayaFlux::on_any_key (const std::shared_ptr< Core::Window > &window, std::function< void(IO::Keys)> callback, std::string name="") |
| Schedule a handler for any key press. | |
| void | MayaFlux::on_mouse_pressed (const std::shared_ptr< Core::Window > &window, IO::MouseButtons button, std::function< void(double, double)> callback, std::string name="") |
| Schedule a mouse button press handler. | |
| void | MayaFlux::on_mouse_released (const std::shared_ptr< Core::Window > &window, IO::MouseButtons button, std::function< void(double, double)> callback, std::string name="") |
| Schedule a mouse button release handler. | |
| void | MayaFlux::on_mouse_move (const std::shared_ptr< Core::Window > &window, std::function< void(double, double)> callback, std::string name="") |
| Schedule a mouse movement handler. | |
| void | MayaFlux::on_scroll (const std::shared_ptr< Core::Window > &window, std::function< void(double, double)> callback, std::string name="") |
| Schedule a mouse scroll handler. | |
| bool | MayaFlux::cancel_event_handler (const std::string &name) |
| Cancel an event handler by name. | |
| uint64_t | MayaFlux::seconds_to_samples (double seconds) |
| Converts a time duration in seconds to the equivalent number of audio samples. | |
| uint64_t | MayaFlux::seconds_to_blocks (double seconds) |
| Converts a time duration in seconds to the equivalent number of processing blocks. | |
| uint64_t | MayaFlux::samples_to_blocks (uint64_t samples) |
| Converts samples to blocks based on current block size. | |