24 #include "EnvelopeGenerator.h"
25 #include "resample/TwoPassSincResampler.h"
37 SamplingMethod method;
38 double samplingFrequency;
39 double filterCurve6581;
40 double filterRange6581;
41 double filterCurve8580;
64 unsigned int nextVoiceSync;
65 unsigned int offset_6581;
67 CombinedWaveforms cws;
75 uint32_t shift_register[3];
76 uint32_t shift_latch[3];
77 uint32_t ring_msb_mask[3];
79 uint32_t noise_output[3];
80 uint32_t no_noise_or_noise_output[3];
82 uint32_t pulse_output[3];
83 uint32_t waveform_output[3];
84 uint32_t accumulator[3];
86 uint32_t tri_saw_pipeline[3];
88 int shift_pipeline[3];
89 unsigned int shift_register_reset[3];
90 unsigned int floating_output_ttl[3];
93 bool test_or_reset[3];
100 unsigned int exponential_counter[3];
101 unsigned int exponential_counter_period[3];
102 unsigned int new_exponential_counter_period[3];
103 unsigned int state_pipeline[3];
104 unsigned int envelope_pipeline[3];
105 unsigned int exponential_pipeline[3];
108 bool counter_enabled[3];
111 uint8_t envelope_counter[3];
136 double filterCurve6581;
137 double filterRange6581;
138 double filterCurve8580;
144 uint32_t nVddt_Vw_2[2];
154 double clockFrequency;
155 double samplingFrequency;
156 SamplingMethod method;
158 int32_t zor_cachedSample;
159 int32_t zor_outputValue;
160 int zor_sampleOffset;
164 int tp_sampleIndex[2];
165 int tp_sampleOffset[2];
166 int32_t tp_outputValue[2];
static int size(SID &s)
Definition: State.cpp:351
State
Definition: EnvelopeGenerator.h:54
static int saveState(SID &s, char *buffer, int size)
Definition: State.cpp:35
int32_t exVlp
External filter.
Definition: State.h:149
static void restoreState(SID &s, char *buffer, int size)
Definition: State.cpp:192