| |
Krill
Registered: Apr 2002 Posts: 2969 |
Was the SID designed with replay of digitised samples via $d418 in mind?
Reading the comments to Flash for Fantasy with remarks such as
Quoting RudiI remember the first time i heard this. I was totally impressed by the fact that the C64 could play digitized samples. and
Quoting DivertigOI used to have dreams in the 80s that my computer could display or play things that were a technical impossibility. Hearing this for the first time felt surreal. i again wondered whether this was an actual "invention" or "discovery" at some time or known right from the start (at least by its creator).
Referring to the authorities:
Quoting Bob Yannes himselfThe final amp was a 4-bit multiplying D/A converter which allowed the volume of the output signal to be controlled. By stopping an Oscillator, it was possible to apply a DC voltage to this D/A. Audio could then be created by having the microprocessor write the Final Volume register in real-time. Game programs often used this method to synthesize speech or play "sampled" sounds. Quoting SID 6581 datasheetBits 0-3 (VOL0-VOL3) select 1 of 16 overall Volume levels for the final composite audio output. The output volume levels range from no output (0) to maximum volume (15 or #F) in 16 linear steps. This control can be used as a static volume control for balancing levels in multi-chip systems or for creating dynamic volume effects, such as Tremolo. Some Volume level other than zero must be selected in order for SID to produce any sound. Now, Mr Yannes makes it sound as if sample replay via $d418 was indeed a feature designed by him, but he remains inexplicit. The 6581 datasheet mentions no such thing, and with 8580, sample replay as used thus far broke due to "bug fixes" (was Bob Yannes still involved or did other engineers strictly adhere to some spec not mentioning sample replay?).
A related question is when the first program to play 4-bit samples surfaced, and who made it. |
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: Reading the comments to Flash for Fantasy with remarks such as
Quoting RudiI remember the first time i heard this. I was totally impressed by the fact that the C64 could play digitized samples. and
Quoting DivertigOI used to have dreams in the 80s that my computer could display or play things that were a technical impossibility. Hearing this for the first time felt surreal. i again wondered whether this was an actual "invention" or "discovery" at some time or known right from the start (at least by its creator).
Referring to the authorities:
Quoting Bob Yannes himselfThe final amp was a 4-bit multiplying D/A converter which allowed the volume of the output signal to be controlled. By stopping an Oscillator, it was possible to apply a DC voltage to this D/A. Audio could then be created by having the microprocessor write the Final Volume register in real-time. Game programs often used this method to synthesize speech or play "sampled" sounds. Quoting SID 6581 datasheetBits 0-3 (VOL0-VOL3) select 1 of 16 overall Volume levels for the final composite audio output. The output volume levels range from no output (0) to maximum volume (15 or #F) in 16 linear steps. This control can be used as a static volume control for balancing levels in multi-chip systems or for creating dynamic volume effects, such as Tremolo. Some Volume level other than zero must be selected in order for SID to produce any sound. Now, Mr Yannes makes it sound as if sample replay via $d418 was indeed a feature designed by him, but he remains inexplicit. The 6581 datasheet mentions no such thing, and with 8580, sample replay as used thus far broke due to "bug fixes" (was Bob Yannes still involved or did other engineers strictly adhere to some spec not mentioning sample replay?).
A related question is when the first program to play 4-bit samples surfaced, and who made it.
No, I would say no. Changing master volume shouldn't affect the DC level (that was a bug), but it did on the old SID. This was fixed in the new SID, hence $d418 samples are in-audible there. Master volume should really only scale the AC levels right? |
| |
Oswald
Registered: Apr 2002 Posts: 5086 |
no. |
| |
Oswald
Registered: Apr 2002 Posts: 5086 |
"This was fixed in the new SID, hence $d418 samples are in-audible there."
not completely tho. it still there quietly. |
| |
Krill
Registered: Apr 2002 Posts: 2969 |
Quoting JackAsserNo, I would say no. Changing master volume shouldn't affect the DC level (that was a bug), but it did on the old SID. This was fixed in the new SID, hence $d418 samples are in-audible there. Master volume should really only scale the AC levels right? "Should." :) Still, master volume is usually set exactly once, before any sound is played. "Repurposing" it for sample replay via continuous updates is an ingenius idea, if it actually was one.
Now, 8580 broke that, as it is known, and i really wonder how that happened. Well-known commercial programs (popular games) had been using it for a while already. Were the engineers living under a rock? |
| |
algorithm
Registered: May 2002 Posts: 705 |
d418 samples on the 8580 can be audible dependent on the waveforms/frequency currently active. For example Exploding Fist and Mega Apocalypse are some examples where d418 samples can be loud on some occasions. |
| |
Zer0-X Account closed
Registered: Aug 2008 Posts: 78 |
I recall seeing a video from Bil Herd where he mentions that 8580 was redesigned by some other engineer (not sure if he told the name) after Yannes had been long gone from C= already. |
| |
Mixer
Registered: Apr 2008 Posts: 447 |
http://www.classiccmp.org/cini/pdf/Commodore/ds_6581.pdf
The datasheet mentions about testbit that: "it can be used to create highly complex waveforms under software control."
Which is true.
The "earliest 4-bit samples" has been addressed in some old forum thread, imho. |
| |
Jammer
Registered: Nov 2002 Posts: 1335 |
Quoting KrillWere the engineers living under a rock?
Well, we can only thank engineers that they removed that nasty popping ;) Samples in games were marginal case and regular sidmakers only gained from that fact ;) All in all, we have far greater sample replayer nowadays so I don't cry that much over crappy d418 ;) |
| |
Oswald
Registered: Apr 2002 Posts: 5086 |
"Were the engineers living under a rock?"
if you have read "on the edge" you'll know most of them did :) |
| |
Krill
Registered: Apr 2002 Posts: 2969 |
Oswald: Care to quote or recap? :) |
... 8 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |