Appearance
VoiceInfo
cpp
#include <Components/SID/SIDTypes.h>cpp
struct VoiceInfoDefined in Components/SID/SIDTypes.h:161
State of a SID voice.
Public Attributes
| Return | Name | Description |
|---|---|---|
u8 | reg | Raw voice registers. |
u16 | frequency | Frequency value. |
u16 | pulseWidth | Pulse width value. |
u8 | waveform | Waveform selection bits. |
bool | ringMod | Ring modulation is on. |
bool | hardSync | Hard sync is on. |
bool | gateBit | Gate bit. |
bool | testBit | Test bit. |
u8 | attackRate | Envelope attack rate. |
u8 | decayRate | Envelope decay rate. |
u8 | sustainRate | Envelope sustain level. |
u8 | releaseRate | Envelope release rate. |
bool | filterEnableBit | The voice passes through the filter. |
reg
cpp
u8 reg[7]Defined in Components/SID/SIDTypes.h:163
Raw voice registers.
frequency
cpp
u16 frequencyDefined in Components/SID/SIDTypes.h:164
Frequency value.
pulseWidth
cpp
u16 pulseWidthDefined in Components/SID/SIDTypes.h:165
Pulse width value.
waveform
cpp
u8 waveformDefined in Components/SID/SIDTypes.h:166
Waveform selection bits.
ringMod
cpp
bool ringModDefined in Components/SID/SIDTypes.h:167
Ring modulation is on.
hardSync
cpp
bool hardSyncDefined in Components/SID/SIDTypes.h:168
Hard sync is on.
gateBit
cpp
bool gateBitDefined in Components/SID/SIDTypes.h:169
Gate bit.
testBit
cpp
bool testBitDefined in Components/SID/SIDTypes.h:170
Test bit.
attackRate
cpp
u8 attackRateDefined in Components/SID/SIDTypes.h:171
Envelope attack rate.
decayRate
cpp
u8 decayRateDefined in Components/SID/SIDTypes.h:172
Envelope decay rate.
sustainRate
cpp
u8 sustainRateDefined in Components/SID/SIDTypes.h:173
Envelope sustain level.
releaseRate
cpp
u8 releaseRateDefined in Components/SID/SIDTypes.h:174
Envelope release rate.
filterEnableBit
cpp
bool filterEnableBitDefined in Components/SID/SIDTypes.h:175
The voice passes through the filter.