@lanodan @p I never heard of either technique. I only know of BASIC music because that was common before things like MIDI became mainstream. Famous video game composers like Konji Kondo and Tim Follin got their start by programming music in BASIC. The latter was famous for coming up with a technique to create the illusion of multi-channel audio on a computer that supported only one sound channel.
He wrote http://debu.gs/entries/making-music-with-computers-two-unconventional-approaches and did https://finitecell.bandcamp.com/album/villain
And IIRC before ibniz became a thing the equivalents where done in C and JS.