October 13th, 2013, 11:45 AM
Audio production in C
I'm just getting used to computer based C programming after being used to programming microcontrollers. On a microcontroller, the easiest way to produce audio is to produce a sample and write it to an output in an interrupt.
As far as I've researched, you can't really easily do interrupts generically in C, and they mainly seem processor dependent and OS dependent.
How does a programmer produce audio in plain C?
October 13th, 2013, 11:56 AM
Well "plain" C doesn't know anything about audio so you'll probably need some sort of system specific library.
What operating system are you using?
What type of audio are you trying to produce?
October 13th, 2013, 12:00 PM
I'm using Windows 7 64bit. At the moment, i'm literally looking to merely produce a sine wave for x seconds, just to get to grips with writing audio to an output, are there any recommendations of libraries/software you can inform me about?
October 13th, 2013, 03:31 PM
I don't do Windows but this link might be of some help.