|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
One timestamped in-block event, normalised across formats: a parameter point, a bypass point, or a MIDI event. The backends collect them per block, sort them, and either split processing at quantum boundaries (sample-accurate mode) or apply them all up front. More...
#include <DSParkPlugin.h>

Public Types | |
| enum class | Kind : uint8_t { Param , Bypass , Midi } |
Public Attributes | |
| int32_t | offset = 0 |
| Frame position within the block. | |
| Kind | kind = Kind::Param |
| uint32_t | paramId = 0 |
| hash32 id (Kind::Param only). | |
| double | value = 0.0 |
| Normalized value / bypass >= 0.5. | |
| MidiEvent | midi {} |
| Kind::Midi payload. | |
One timestamped in-block event, normalised across formats: a parameter point, a bypass point, or a MIDI event. The backends collect them per block, sort them, and either split processing at quantum boundaries (sample-accurate mode) or apply them all up front.
Definition at line 739 of file DSParkPlugin.h.
|
strong |
| Enumerator | |
|---|---|
| Param | |
| Bypass | |
| Midi | |
Definition at line 741 of file DSParkPlugin.h.
| Kind dspark::plugin::BlockEvent::kind = Kind::Param |
Definition at line 743 of file DSParkPlugin.h.
| MidiEvent dspark::plugin::BlockEvent::midi {} |
Kind::Midi payload.
Definition at line 746 of file DSParkPlugin.h.
| int32_t dspark::plugin::BlockEvent::offset = 0 |
Frame position within the block.
Definition at line 742 of file DSParkPlugin.h.
| uint32_t dspark::plugin::BlockEvent::paramId = 0 |
hash32 id (Kind::Param only).
Definition at line 744 of file DSParkPlugin.h.
| double dspark::plugin::BlockEvent::value = 0.0 |
Normalized value / bypass >= 0.5.
Definition at line 745 of file DSParkPlugin.h.