![ATOO - “GBK-Test” (C64) [Oscilloscope View]](/images/yt/8u/atoo-gbk-test-c64-oscilloscope-view-g-gwj.jpg)
ATOO - “GBK-Test” (C64) [Oscilloscope View]
The "samples" in this tune are actually being synthesized in real time!
How it was done (according to the creator's production note on CSDb):
"GBK-test uses a real time Karplus-Strong algorithm that I learned about in high school to make the distorted guitar sounds:
- A starting waveform is constructed by copying a portion of ROM.
- An NMI is used to play samples at ca 8 Khz (as far as I can remember)
- A sample is picked, gets added to the previously used sample and LSR'ed. Then this new sample replaces itself. This morphs the waveform to sound like a string getting plucked.
- The sample then gets LSR'ed 2 times (as far as I remember) and then the low nybble is sent to the main volume register. Since I only LSR 2 times (as opposed to 4) there will now be digital distortion of the sound played.
- The pitch of the sound is adjusted through the length of the waveform. This method limits the frequency precision when you play higher notes. That's the reason that some notes are slightly out of tune. Sorry about that...
/ATOO"
Oscilloscope visuals created with nyanpasu64's corrscope program.