Sound_lib is a library which simplifies working with audio.

It is primarily a wrapper over the excellent Bass sound library, and includes a majority of Bass’s add-ons.


  • Cross-platform, tested on Microsoft Windows, MacOS, and Linux
  • Support for playback of an incredible variety of audio formats
  • Support for recording from a microphone or other input device
  • Support for reencoding audio to a variety of formats
  • Support for several audio effects
  • Support for streaming files from disk, memory, or the internet
  • Small yet efficient
  • Well-documented

Getting Help

If you’re hung up on a certain function, class, or method it might be helpful to take a look at the comprehensive bass documentation directly (distributed with sound_lib but also obtainable online).

Bass also has a highly active forum. When interacting there, it’s important to remember that most of the good folks you’ll encounter have never used and have no idea what sound_lib is or does. Thus, it’s in your best interest to either describe the problem in layman’s terms or point to actual bass functions.

If you’re willing and able, do have a look at the portion of sound_lib that happens to be giving you trouble. It’s quite possible that you might be facing a simple misunderstanding with the way things work. The force is with those who read the code after all.

If all else fails, you may have found a bug in sound_lib. Please do let us know at our github issue tracker. Thanks in advance for contributions!