Offline
Devon UK

Anyone have any idea how to achieve this?

I'd like to use Python in the same way that I used to use Sound and Envelope commands in BBC Basic. Ideally I'd like to run the program and hear the results immediately, without having to produce a .wav or .mid file first. I could relearn BASIC and use an emulator, but I'd rather stick with Python since I know it reasonably well already. I'd really like some high-level commands rather than having to go into the physics of sound waves.

BTW winsound.Beep only works for a few consecutive notes before going wrong.

Offline
Solar System

Check this out bro:
https://mdoege.github.io/PySynth/
https://wiki.python.org/moin/PythonInMusic
https://code.google.com/p/pyfluidsynth/

Offline
SLC

http://python-ps3.sourceforge.net/

You've got two empty halves of coconut and youre banging 'em together. The PS3 is like an accordion, it can use multiple voices simultaneously and seamlessly without crashing. Have fun!