|
RADLib
RADical C++ application framework
|
Lightweight MIDI clip for preview rendering and RADBard score/piano-roll playback. More...
#include <RADMedia.h>
Public Member Functions | |
| double | resolvedDurationSeconds () const |
| Returns explicit duration if set, otherwise derives from notes and tailSeconds. More... | |
Public Attributes | |
| uint32_t | sampleRate = 48000 |
| Output sample rate. More... | |
| uint16_t | channels = 2 |
| Output channel count. RADMedia currently renders mono or stereo. More... | |
| double | durationSeconds = 0.0 |
| Explicit render duration. Zero derives duration from scheduled events. More... | |
| double | tailSeconds = 0.25 |
| Extra decay/release time appended when durationSeconds is derived. More... | |
| std::vector< MidiNoteEvent > | notes |
| Scheduled notes. More... | |
| std::vector< MidiProgramChange > | programs |
| Scheduled program changes. More... | |
| std::vector< MidiPitchBend > | pitchBends |
| Scheduled pitch-bend changes. More... | |
Lightweight MIDI clip for preview rendering and RADBard score/piano-roll playback.
| double RADMedia::MidiClip::resolvedDurationSeconds | ( | ) | const |
Returns explicit duration if set, otherwise derives from notes and tailSeconds.
| uint16_t RADMedia::MidiClip::channels = 2 |
Output channel count. RADMedia currently renders mono or stereo.
| double RADMedia::MidiClip::durationSeconds = 0.0 |
Explicit render duration. Zero derives duration from scheduled events.
| std::vector<MidiNoteEvent> RADMedia::MidiClip::notes |
Scheduled notes.
| std::vector<MidiPitchBend> RADMedia::MidiClip::pitchBends |
Scheduled pitch-bend changes.
| std::vector<MidiProgramChange> RADMedia::MidiClip::programs |
Scheduled program changes.
| uint32_t RADMedia::MidiClip::sampleRate = 48000 |
Output sample rate.
| double RADMedia::MidiClip::tailSeconds = 0.25 |
Extra decay/release time appended when durationSeconds is derived.