Question

I need this: A c++ function that can output sounds onto a speaker, that is not platform dependant(like Beep()). I also need something that can output some real-time generated sounds, not a .wav file or so.

Thanks for the support!

Was it helpful?

Solution

I like: http://libsdl.org/index.php

It attempts to be a cross platform alternative to direct X. The zlib license it uses is very permissive.

OTHER TIPS

Easy to use, cross platform, free — choose 2 of that 3.

  • Drop “cross platform” and use e.g. MIDI output for Windows.
  • Drop “easy to use” and use OpenAL
  • Drop “free” and license Miles Sound System, I‘ve heard Win + MacOS + Linux license costs $5000 per product.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top