(Login Mikrondel) Moderator Posted Dec 20, 2010 4:21 AM
Nothing particularly mysterious going on. The program just updates a WAV file and then gets QB64 to play it. It would be easy to get rid of the mouse interface and generate the waves some other way.
Unfortunately there is a slight delay when you change the WAV file, so playing continuously changing sounds is a bit problematic. You could of course create a longer WAV file, this would reduce that problem, but then you can't change the sound in "real time".
I'm tempted to implement a change to QB64 that fixes this.