|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Event provider for clip launcher-based MIDI and audio events. More...
#include <src/structure/tracks/clip_playback_data_provider.h>
Public Member Functions | |
| ClipPlaybackDataProvider (const dsp::TempoMap &tempo_map) | |
| void | generate_midi_events (const arrangement::MidiRegion &midi_region, structure::tracks::ClipQuantizeOption quantize_option) |
| Generate the MIDI event sequence to be used during realtime processing. | |
| void | generate_audio_events (const arrangement::AudioRegion &audio_region, structure::tracks::ClipQuantizeOption quantize_option) |
| Generate the audio buffer to be used during realtime processing. | |
| void | queue_stop_playback (structure::tracks::ClipQuantizeOption quantize_option) |
| Requests that playback is stopped at the next quantization point. | |
| void | process_midi_events (const EngineProcessTimeInfo &time_nfo, dsp::MidiEventVector &output_buffer) noexcept |
| void | process_audio_events (const EngineProcessTimeInfo &time_nfo, std::span< float > left_buffer, std::span< float > right_buffer) noexcept |
| Process audio events for clip launcher playback. | |
| auto | playing () const |
| Whether currently playing any part of the clip. | |
| auto | current_playback_position_in_clip () const |
Event provider for clip launcher-based MIDI and audio events.
Definition at line 20 of file clip_playback_data_provider.h.
|
inline |
Definition at line 109 of file clip_playback_data_provider.h.
| void zrythm::structure::tracks::ClipPlaybackDataProvider::generate_audio_events | ( | const arrangement::AudioRegion & | audio_region, |
| structure::tracks::ClipQuantizeOption | quantize_option ) |
Generate the audio buffer to be used during realtime processing.
To be called as needed from the UI thread when a new cache is requested.
| void zrythm::structure::tracks::ClipPlaybackDataProvider::generate_midi_events | ( | const arrangement::MidiRegion & | midi_region, |
| structure::tracks::ClipQuantizeOption | quantize_option ) |
Generate the MIDI event sequence to be used during realtime processing.
To be called as needed from the UI thread when a new cache is requested.
|
inline |
Whether currently playing any part of the clip.
Definition at line 107 of file clip_playback_data_provider.h.
| void zrythm::structure::tracks::ClipPlaybackDataProvider::queue_stop_playback | ( | structure::tracks::ClipQuantizeOption | quantize_option | ) |
Requests that playback is stopped at the next quantization point.
| quantize_option |