I want to play a sound using C++. I'm not playing an audio file, but a certain voice. (Maybe functions like play_sound(frequency, amplitude, time)
.).
I want it to be cross-platform.
I want to play a sound using C++. I'm not playing an audio file, but a certain voice. (Maybe functions like play_sound(frequency, amplitude, time)
.).
I want it to be cross-platform.
Ycao,
As far as I know, you will need some third party library. Personally, I would use FMOD. It's quite simple to use, well documented, you will find a lot code snippet to bootstart your project and it has a lot of interesting features.