(I did search for this, but didn't find exactly what I am looking for).
I am working on a function that will generate a sine wave at a given frequency AND sampling rate. Something that will "fill a 10k sample buffer with a 1 kHz wave at a 44.1 kHz sample rate".
My attempts so far are producing a "tone", but the tone changes in unexpected ways as I vary the inputs, and any reference along the lines of what I am trying to do might help.
I imagine that such a reference or a forum discussion might be "out there" somewhere. Appreciate any pointers....