DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice Struct Reference

A voice's identity (the part every scan reads; kept small). More...

#include <DSParkClap.h>

Public Attributes

int16_t channel = 0
 
int16_t key = 0
 
int32_t noteId = -1
 
uint32_t serial = 0
 start order, for choosing the oldest
 
bool used = false
 
bool held = false
 false once its NoteOff arrived
 

Detailed Description

template<size_t NumPerVoice>
struct dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice

A voice's identity (the part every scan reads; kept small).

Definition at line 133 of file DSParkClap.h.

Member Data Documentation

◆ channel

template<size_t NumPerVoice>
int16_t dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::channel = 0

Definition at line 135 of file DSParkClap.h.

◆ held

template<size_t NumPerVoice>
bool dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::held = false

false once its NoteOff arrived

Definition at line 140 of file DSParkClap.h.

◆ key

template<size_t NumPerVoice>
int16_t dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::key = 0

Definition at line 136 of file DSParkClap.h.

◆ noteId

template<size_t NumPerVoice>
int32_t dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::noteId = -1

Definition at line 137 of file DSParkClap.h.

◆ serial

template<size_t NumPerVoice>
uint32_t dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::serial = 0

start order, for choosing the oldest

Definition at line 138 of file DSParkClap.h.

◆ used

template<size_t NumPerVoice>
bool dspark::plugin::clap_backend::VoiceTable< NumPerVoice >::Voice::used = false

Definition at line 139 of file DSParkClap.h.


The documentation for this struct was generated from the following file: