I did this on an Apple IIe years before I had a sound card on my PC (or a sampler for my Amiga). It seemed so cool to me, even if I didn't exactly understand how it worked.