|
DSPark 1.9.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 , ParamMod } |
Public Attributes | |
| int32_t | offset = 0 |
| Frame position within the block. | |
| Kind | kind = Kind::Param |
| uint32_t | paramId = 0 |
| hash32 id (Param, ParamMod), bypass id (Bypass). | |
| double | value = 0.0 |
| Normalized value / modulation amount / bypass >= 0.5. | |
| MidiEvent | midi {} |
| Kind::Midi payload. | |
| uint32_t | order = 0 |
| int32_t | targetNoteId = -1 |
| int16_t | targetPort = -1 |
| int16_t | targetChannel = -1 |
| int16_t | targetKey = -1 |
| bool | voiceValue = false |
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 930 of file DSParkPlugin.h.
|
strong |
Param: a new normalized value. ParamMod: a host modulation amount, in plain units, added to the value the DSP hears (CLAP).
| Enumerator | |
|---|---|
| Param | |
| Bypass | |
| Midi | |
| ParamMod | |
Definition at line 934 of file DSParkPlugin.h.
| Kind dspark::plugin::BlockEvent::kind = Kind::Param |
Definition at line 936 of file DSParkPlugin.h.
| MidiEvent dspark::plugin::BlockEvent::midi {} |
Kind::Midi payload.
Definition at line 939 of file DSParkPlugin.h.
| int32_t dspark::plugin::BlockEvent::offset = 0 |
Frame position within the block.
Definition at line 935 of file DSParkPlugin.h.
| uint32_t dspark::plugin::BlockEvent::order = 0 |
Arrival order: the tie-break of the sort.
Definition at line 940 of file DSParkPlugin.h.
| uint32_t dspark::plugin::BlockEvent::paramId = 0 |
hash32 id (Param, ParamMod), bypass id (Bypass).
Definition at line 937 of file DSParkPlugin.h.
| int16_t dspark::plugin::BlockEvent::targetChannel = -1 |
Definition at line 945 of file DSParkPlugin.h.
| int16_t dspark::plugin::BlockEvent::targetKey = -1 |
Definition at line 946 of file DSParkPlugin.h.
| int32_t dspark::plugin::BlockEvent::targetNoteId = -1 |
Kind::Midi voice events (NoteExpression, NoteModulation): the host's voice address, each part -1 for "any", resolved when applied.
Definition at line 943 of file DSParkPlugin.h.
| int16_t dspark::plugin::BlockEvent::targetPort = -1 |
Definition at line 944 of file DSParkPlugin.h.
| double dspark::plugin::BlockEvent::value = 0.0 |
Normalized value / modulation amount / bypass >= 0.5.
Definition at line 938 of file DSParkPlugin.h.
| bool dspark::plugin::BlockEvent::voiceValue = false |
Kind::Midi NoteModulation: value is the voice's own plain value (per-note automation) rather than a modulation amount.
Definition at line 949 of file DSParkPlugin.h.