(08-05-2022, 04:33 PM)bplus Wrote: Sound is very old and primitive like Screen 0. Time well spent learning more modern methods.
Dont hold your breath for any changes to Sound, its probably just there for old programs.
Ha! I get all that, but allow me to argue a point...
We do have a more modern method, _SndPlay works fine for playing sounds and stopping them whenever we want. BUT you can't control pitch or choose a different waveform on the fly.
If for that, by more modern methods, we mean _SNDRAW, I don't know if I'd call it modern so much as manual! LoL
It shouldn't be so hard to say play me a MyPitch% Hz sine wave until I send the "Stop" command, should it? Especially in BASIC! My TI99/4A could do it in 1983, and a kid could understand it, without having to know the details the WAV file specification or do crazy stuff with timers or other difficult methods.
Just saying!