Suppose an arbitrary waveform is to be created at runtime (not loaded from a .wav file) and viewed oscilloscope-style so that the user can 1) play it through the speakers and 2) modify it in various ways such as changing the pitch, amplitude, adjusting a sample postion and so forth.
Creating, storing and displaying the waveform I can manage, but what are some reasonable ways to pipe the sound to the speakers?
(As you might suspect, I'm an audio-newbie.)
Thanks for any suggestions,