Question

I'm doing an acoustic waves simulation using c++, I get the raw PCM data form wav file and apply some calculation on it then I want to play it in real time also I want to recalculate these data when the user changes some values in the simulation (like his location).

I tried the Portaudio library the played sound was a kind of noise and it seems that I have to use Pa_Sleep which is blocking the user interactive with my program.

Is Portaudio the right library to work with ? or there is another solution to get this done.

Thanks in advance.

Was it helpful?

Solution

Look at the JACK Audio Connection Kit. Be sure to check the link saying 'Docs' at the top of the page, there's a walkthrough for generating a simple client.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top