SAMPLER by Jay Salmon [I've included this although I've no idea what it's supposed to be ] [doing as the printed instructions don't match the printed listing.] [It's written for the 128K only. JimG] An aeon ago in the cob-webbed history of this revered column I printed a Sound Sampling program by Heikki Julken. That ancient routine seemed to push the Speccy's sound digitising abilities as far as they would go, and rested its case at being able to manage a six second long sample. But now! comes Jay Salmon with his routine which (hold your breath) can cope with a 22 second sample and play it back at twenty different speeds! Absolutely incredible. When I first loaded it, and after listening to his stunning demo sample, I spent two hours mesmerised next to the screen, digitising chunks from my entire record collection. It's incredible. Type it in and believe it. [Well, if you'd bothered to print the correct listing, maybe we could. JimG] Sampling The code occupies memory address 65221 to 65391 and so is a mere 170 bytes long. [That's actually 171 bytes, although the hex dump to the last RET is only 161 bytes. There's some more data after that, which would make it up to 200 bytes, but that just appears to be garbage, as the code doesn't address that area. The hex dump was 256 bytes in total, as it was a dump from the 48K printer buffer at 23296 where the code had been (erroneously) located. JimG] Type it in (using the Hex Loader above) and save it to tape with SAVE "name" CODE 65221,170. After that, reset the computer to clear memory. Then type in the Basic program and then CLEAR 65535 [?! JimG] and reload the code you just saved. Next, type GOTO 9997 [Which doesn't exist, as the printed BASIC listing stops at line 100. JimG] and the program will save both the Basic and machine code together. To sample, type RUN and follow on screen instructions [Of which there are none. JimG], making sure you disconnect the MIC lead of your Speccy and the EAR lead of your tape recorder. Keys 1 to P alter the speed. It's incredible. [= "yet another cock-up" in McCandless-speak. JimG]