Hi all, Following is some information on our marking and testing for assignment 2. For each part (part 1: sound functions, part 2: song parser), we ran various tests. In your TA comments, you may see text like "T4" followed by marks lost or other information about why that test was failed. For part 1, we tested with two files: warn.wav and pianohit.wav. test cases part 1: 1) Reverse on warn.wav 2) Mix on warn.wav and pianohit.wav 3) Change volume on warn.wav with factor 0.5 4) Change volume on warn.wav with factor 2 5) Echo on warn.wav with delay 10000 For part 1, the function mark weights were as follows: reverse: 5 mix: 9 change_volume: 4 echo: 9 clip.txt: 3 test cases part 2: (Taken from the A2 writeup) 1) "CDEFGAB" 2) "CC" 3) "2CD2E" 4) "4E3GG6C2D2E2F2G2A6D" (O Canada) 5) "4E>4E>4E>4E<<<<4E>4E" (testing octaves) 6) "4C>4C<2BGA2B>2C" (Somewhere Over the Rainbow, I think?) 7) "2C+2C+2C+2C+2C----2C" (testing volumes) 8) "8C|8F|8A|>4C" (multiple channels) 9) Twinkle Twinkle 10) Twinkle Twinkle with echo (appending [43000] to the front of 9) ) (Additional tests) 11) 'A+A+A+A+A' (testing volumes) 12) '++A--A++A--A++A' (starting with a command instead of a note) 13) 'A>A>A>A>A' (testing octaves) 14) '1C2C3C4C5C6C12C' (testing multi-length integers) 15) 'CdEfgaB' (testing lowercase) 16) 'C|E|G|>C|>E|>G' (multiple channels) 17) '>>>>>>+++|5C' (testing channel independence - the second channel should not be affected) Marks were deducted for each part of the song parser (notes, octaves, volumes, multi-length notes, channels, echo) that had problems uncovered by inspection and the above test cases. The design of the function was taken into account as well. For part 2, the feature mark weights were as follows: Basic parsing of notes in a notestring, good loop structure: 15 Octaves: 5 Volume: 10 Lengths of notes: 10 Multiple channels: 10 Echo: 10 Design: 10 Many submissions incorrectly dealt with volume levels that became negative. If you lost five marks on volume, it is probably because one or both of these examples caused problems: "C-C-C+C-C+C+C+C" "+C-C-C-C"