[music-dsp] Tone Generation in C
bar at crow-ten.ch
Wed Nov 6 08:09:40 EST 2002
The most difficult part for a beginner is the system part. You must decide
to put the tone in real-time on what kind of driver or to put it into a
Maybe try to use for these the portaudio-library.
To actually generate a tone is much more easy. For example a sin-tone of feq
at a sample rate sr you have the inner loop.
out[j]=amplitude * sin(ph);
dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
More information about the music-dsp