Debian Codegraph @

src/engine/platform/sound/c64/NEWS

raw
1 Changes in reSID version 0.16
2 -----------------------------
3
4 An off-by-one error in the emulation of the ADSR delay bug has been
5 fixed in the fast version of the envelope clocking.
6
7 An initialization bug in the Filter class which caused floating point
8 exceptions on some platforms has been fixed.
9
10 Missing fields have been added to SID::State for correct snapshots.
11
12 By building shifted FIR tables with samples according to the sampling
13 frequency, the resampling code dramatically reduces the computational
14 effort in the filter convolutions, without any loss of accuracy. The
15 filter convolutions are now also vectorizable on current hardware. The
16 implementation builds on ideas by Laurent Ganier.
17
18 The resampling code has been split into two functions, one using
19 interpolation and a small set of shifted filter tables, and one using
20 direct lookup and a large set of shifted filter tables. The accuracy
21 is the same, the difference is that the direct lookup runs has the
22 potential of running at almost twice the speed (depending on cache
23 size and memory bandwidth) using approximately 16MB more memory. It is
24 now possible to run high quality resampling in real time on quite
25 modest hardware, provided that a vectorizing compiler is used.
26
27
28 Changes in reSID version 0.15
29 -----------------------------
30
31 An error in the emulation of the ADSR delay bug has been fixed. When
32 emulation of the ADSR delay bug was introduced in reSID 0.2, the delay
33 was one cycle too long. One cycle was subtracted from the delay in
34 reSID 0.4, however unfortunately one rate counter period was added as
35 well, thus increasing the error. At the time there was no method to
36 fully synchronize the CPU with envelope 3, so the measurements relied
37 on averaging. Because of pipelining in the envelope logic the effects
38 of a write are delayed, and this caused the test code to miss the
39 target by exactly one rate counter period on a real SID. The current
40 test code does achieve full synchronization with envelope 3, so this
41 time the delay should be 100% correct. There are still side effects
42 caused by pipelining which are not implemented in reSID, however these
43 effects are not controllable without full synchronization with the
44 envelope, something which is hard to achieve with envelope 3, and
45 impossible with envelope 1 and 2.
46
47 The envelope state (ADSR) has been added to the SID state, and the
48 volume setting is now restored from the SID state.
49
50 Filter scaling and clipping has been added to avoid sample overflows
51 in the resampling filter.
52
53
54 Changes in reSID version 0.14
55 -----------------------------
56
57 The SID external audio input is now emulated. This can be used e.g. to
58 simulate the hack of connecting a resistor from EXT IN to GND to boost
59 the sample volume on the MOS8580. Calling sid.input(-32768) makes the
60 MOS8580 sound more or less like the MOS6581 with respect to samples.
61 The interface could also be used to mix in an external audio signal,
62 but note that to do this correctly you should really resample the
63 audio signal to 1MHz first.
64
65 The filter settings are now updated immediately when the chip model is
66 changed. Earlier the filter cutoff frequency would not change until
67 the FC registers were updated.
68
69 A one cycle error in the fast version of the envelope clocking has
70 been fixed. This bug was introduced in reSID 0.13 and could affect the
71 ADSR delay emulation.
72
73 The exponential counter period is now only loaded at the envelope
74 counter values 255, 93, 54, 26, 14, 6, 0. The period can be different
75 for the same envelope counter value, depending on whether the envelope
76 has been rising (attack -> release) or sinking (decay/release).
77
78 A bug in the fast version of the noise register shift routine has been
79 corrected. This bug caused too low noise frequency in some cases.
80
81 The filter cutoff frequency is limited to 16kHz to keep the filter stable.
82
83
84 Changes in reSID version 0.13
85 -----------------------------
86
87 The internal DC levels of the MOS6581 have been double checked and
88 corrected. The reason for the asymmetric scaling of the voice output
89 has been found; there is a DC offset from the waveform D/A converter
90 in addition to the DC offset from the envelope multiplying D/A
91 converter. No selected waveform (N=P=S=T=0) yields minimum wave output
92 level again.
93
94 A bug in the fast version of the envelope clocking has been corrected.
95 This bug could incorrectly invoke the ADSR delay emulation.
96
97
98 Changes in reSID version 0.12
99 -----------------------------
100
101 A bug causing incorrect sample spacing in the new SAMPLE_FAST sample
102 calculation has been corrected.
103
104 Audio clipping has been added to guard against sample overflows.
105
106 To support multi-channel sampling, sample interleaving has been added
107 to the clock() interface.
108
109 To support synchronization with an external timer, an interface for
110 sample rate adjustment has been added.
111
112 The internal DC levels have been corrected. No selected waveform
113 (N=P=S=T=0) yields maximum wave output level. Furthermore, each voice
114 in the MOS6581 independently contributes to the DC level in the mixer,
115 and the mixer itself has a small DC offset as well. The MOS8580 has no
116 DC offsets.
117
118 The spline interpolation routine has been generalized to accept
119 repeated points to introduce points of non-differentiability and
120 discontinuity.
121
122 A separate mapping from the FC registers to filter cutoff frequency
123 has been included for the MOS8580, and the mapping for the MOS6581 has
124 been refined.
125
126
127 Changes in reSID version 0.11
128 -----------------------------
129
130 A new clock() interface has been added. This function generates audio
131 samples into a buffer, greatly simplifying the task of writing driver
132 code for reSID. It also facilitates more advanced audio sample
133 generation, as described below.
134
135 Three clocking methods are available: clocking at output sample
136 frequency, clocking at cycle frequency with linear sample
137 interpolation, and clocking at cycle frequency with audio resampling.
138
139 Clocking at output sample frequency is fast, and yields acceptable
140 sound quality, except for the SID combined waveforms, which have a
141 very high frequency content.
142
143 Clocking at cycle frequency with linear sample interpolation is
144 approximately five to ten times slower at 44.1kHz sampling frequency,
145 but the sound quality is improved because of the linear sample
146 interpolation, and because some sampling noise is removed by the SID
147 external filter, which attenuates signals above 16kHz.
148
149 Finally, clocking at cycle frequency with audio resampling has a work
150 rate which is independent of the sampling frequency; it is rather
151 inversely proportional to the percentage of the bandwidth allocated
152 to the filter transition band. This implies that e.g. with the
153 transition band starting at ~ 20kHz, it is faster to generate 48kHz
154 than 44.1kHz samples.
155
156 Audio resampling is the theoretically correct method for sample
157 generation, and delivers SID sound quality previously unheard of. This
158 should make connoisseurs nod in appreciation, and for some time to
159 come it could possibly also make people tear their hair over having to
160 buy state of the art hardware to handle the obscene workload in real
161 time. By trading off passband bandwidth for speed, real time
162 processing is possible on current hardware. A 60% passband bandwidth
163 is within the reach of reasonably fast machines, while maximum sound
164 quality at 90% passband bandwidth, requiring four times the processing
165 power, is not. Yet.
166
167
168 Changes in reSID version 0.10
169 -----------------------------
170
171 Libtool is now used to build the library.
172
173 To keep the filters stable it is necessary to clock them at above
174 sample rate. The chip clocking code has been modified to only
175 "overclock" the filters, not the whole chip. This yields a
176 considerable speedup without noticeably lowering sound quality. Note
177 that this is aimed at slow hardware, if possible the 1 cycle clock
178 interface should be used to eliminate sampling noise.
179
180
181 Changes in reSID version 0.9
182 ----------------------------
183
184 The sum of the filter outputs is no longer weighted.
185
186
187 Changes in reSID version 0.8
188 ----------------------------
189
190 voice3off has no effect if voice 3 is routed through the filter.
191
192
193 Changes in reSID version 0.7
194 ----------------------------
195
196 The audio output filter in the C64, external to the SID chip, has been
197 modeled.
198
199 The mapping function between the FC register and filter cutoff frequency can
200 now be specified with spline interpolation points. This facilitates
201 interactive modification of the mapping function by graphical presentation of
202 the interpolation curve. The implementation of this novel spline design is
203 fast and general purpose, and should be well suited for use in other projects
204 as well.
205
206 Filtered output has been inverted compared to unfiltered output.
207
208 Aging of the bus value obtained when reading write only registers has been
209 partly implemented.
210
211 To facilitate offline storage the complete state of SID can be read and
212 written.
213
214
215 Changes in reSID version 0.6
216 ----------------------------
217
218 A special case in synchronization has been implemented.
219
220 The Autoconf script is cleaned up to allow compilation in a separate directory.
221
222
223 Changes in reSID version 0.5
224 ----------------------------
225
226 Emulation of MOS8580 combined waveforms.
227
228 Version string resid_version_string provided for e.g. Autoconf tests.
229 The string has C linkage.
230
231
232 Changes in reSID version 0.4
233 ----------------------------
234
235 The implementation of the ADSR delay bug has been refined and should now be
236 cycle exact.
237
238 The patch for VICE has been removed since VICE 0.15 will include reSID support.
239
240
241 Changes in reSID version 0.3
242 ----------------------------
243
244 The reSID library has changed name from libmos6581.a to libresid.a
245
246 The pulse+sawtooth combined waveform has been corrected.
247
248 Pulse+test bit samples are implemented.
249
250 The envelope rate periods have finally been exactly determined.
251
252 A new SID bug, the ADSR boundary bug, has been discovered and implemented.
253 This bug makes it possible to step from envelope level 0x00 to 0xff or from
254 0xff to 0x00 in one step.
255
256 One-cycle optimized overloads of the clock() functions have been implemented
257 to facilitate sampling at 1MHz.
258
259 The code has been further optimized for speed.
260
261
262 Changes in reSID version 0.2
263 ----------------------------
264
265 The implementation of the Envelope Generator has been rewritten to handle
266 the infamous ADSR delay bug. All known envelope related bugs have been
267 corrected.
268
269 The maximum filter resonance is lowered to keep the filter stable.
270
271 The reSID API has been simplified. Reading write only registers is allowed.