c++audiosfmlportaudiosound-synthesis

Which real-time C++ audio libraries work with Xcode 4?


I am wanting to begin a project in C++ which would allow me to create sounds with functions such as float y = sin(2 * PI * f * t);, FM synthesis, and other more complex algorithms`. I am using Xcode 4 on Mac OS X Lion but would like to eventually port the software to Windows platforms. I have tried the libraries SFML 1.6 and 2.0, RTAudio, and PortAudio, but I have failed to compile any of the programs with Xcode 4. A window graphics library and MIDI support would be bonuses, but I do not require it.

Are there any libraries and methods you have been successful with? If any of the previously mentioned libraries have worked for you, how have you made it compile with Xcode 4?


Solution

  • libsndfile maybe help you

    http://www.mega-nerd.com/libsndfile/