Page 1 of 1

Erratum: Bach BWV 924 from Intro to Basic Part 2

Posted: Thu Mar 31, 2016 11:14 am
by cryptoboy
The data tape from Colin's Introduction to Basic Part 2 includes a program that plays Bach's Prelude in C (from his "Little Preludes").

(The program on the tape is not reprinted in the book, but the book discusses (starting on p279) the method for creating the BASIC note data.)

I found that it contains three subtle note errors (I'm kinda OCD about Bach). Here's the fixes:

Change an @ to an A
1060 DATA"AH0>@F"
1060 DATA"AH0>AF"

Change a Y to an X
1100 DATA "QYTRQYTQOYRQOXROMYQOMVQMLVOMLTOL"
1100 DATA "QYTRQYTQOYRQOXROMXQOMVQMLVOMLTOL"

Change a 3 to a 5
1160 DATA"LOLHIFHCDGJMCMFL3EHM"
1160 DATA"LOLHIFHCDGJMCMFL5EHM"

I made a youtube video so you can hear the corrected playback.

Re: Erratum: Bach BWV 924 from Intro to Basic Part 2

Posted: Sat Apr 02, 2016 10:18 pm
by malcontent
This is great. For some reason I really like listening to classical music tracks on c64 There's a lot of good SIDs, but I've not heard much from the vic. Is it A415? ;)

Re: Erratum: Bach BWV 924 from Intro to Basic Part 2

Posted: Mon Apr 04, 2016 4:59 am
by eslapion
An eternity ago, I converted that specific BASIC program to play with square waves on the Commodore 64 instead of the VIC.

I'll try to put these corrections in my archives.