Once upon a time in the galaxy there were microcomputers that ran BASIC and had simple sound commands that made the machine sound and hiss in all sorts of strange and beautiful ways.
Besides making great sounds, it was also very useful as a learning tool because you could hear the results of your code.
I would like you to have the sound functionality of machines like BBC Micro with its envelope command, but without the need to use an emulator and learn or retrain all the quirks of the various BASIC dialects.
I would also like to avoid creating a midi or wav file, but would like to make sounds directly with the code. I tried winsound.Beep, but after about 4 notes, the time between notes seems random, and the functionality is nothing compared to something like the ZX spectrum.
Does anyone know how to do this with Python?
source share