I am looking for a means to play simple sine waves and other basic math functions in pure C, not C++/C#. Are there any libraries or methods to output actively to the sound card? Even more ideally to integrate soundfonts. Is this too cumbersome of an endeavor?
I am a C noob and want to learn more and expand in this area of programming. I have looked all over online and haven't found any clear examples or routes for this. Essentially I plan on making a rudimentary keyboard synth, ie: holding down q plays note A etc.
Any help or redirection would be appreciated.