Pulse-width Modulation: It's been around for a long time and I've been toying with the idea of writing some software to use it for generating music and sound effects.
Many Spectrum users will no doubt be aware of it through the work of Tim Follin but there are plenty of earlier examples of it, for example the music in Zombie Zombie, Gyroscope and quite possibly Manic Miner (Matthew Smith's work of genius!) At least, I'm pretty sure they use PWM, I've tried to steer clear of taking that sort of code apart as I want to work it out from scratch myself to see what kind of results I can get.
Since there could be a lot of content here I've decided to start reworking the pages and rather than posting each revision of the code, I'll highlight the parts that have changed so that it becomes more of a worklog than an archive. I'm hoping that this will help me keep the flow of what I'm doing rather than just have the pages acting as a data dump.