A long time ago in a galaxy far away, there were microcomputers which ran BASIC and had simple Sound commands which made the machine beep and hiss in all sorts of weird and wonderful ways.
As well as making some great sounds, it was also very useful as a learning tool because you could hear the results of your code.
I'd love to be able to have the sound functionality of machines like the BBC Micro with its "envelope" command, but without having to use an emulator and learn or relearn all the quirks of the various dialects of BASIC.
I'd also like to avoid having to produce a midi or wav file, but would like to make the sounds directly with the code. I've tried winsound.Beep, but after about 4 notes, the time between the notes seems to go random, and also the functionality is nothing compared to even something like a ZX spectrum.
Does anyone know how to do this with Python?