Play generated PCM data in real time
I'm developing a digital audio synthesizer on a dsPIC.
To begin with Im writing and testing the algorithms in matlab.
For the second phase Im translating the algorithms int开发者_开发技巧o ANSI C (MinGW Compiler) to test on a Windows PC before porting to the dsPIC.
The audio data will be uncompressed PCM samples. What options are there for playing the generated PCM data in C ? (preferably in real time)
On Windows, you can use the waveOut
API.
Here is a tutorial.
精彩评论