Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peterekepeter/simple-audio

Simplified audio playback for win32 (non-commertial use only)
https://github.com/peterekepeter/simple-audio

Last synced: 10 days ago
JSON representation

Simplified audio playback for win32 (non-commertial use only)

Awesome Lists containing this project

README

        

# simple-audio

[![CI](https://github.com/peterekepeter/simple-audio/actions/workflows/main.yml/badge.svg)](https://github.com/peterekepeter/simple-audio/actions/workflows/main.yml)

This project massively simplifies adding audio support to a project.
The catch? It uses bass.dll for which you need license for commertial usage.

## Usage

The library operates on a "fire and forget" core principle. This means you
don't have much work to do to get it working.

Music::Init("sine-song.it", false);
Music::Play();

## Missing bass.dll?

The dll is included in the repo for convenience. In case it doesn't copy to
the output folder I recommend setting up a copy command.

xcopy "$(SolutionDir)bass24\bass.dll" "$(OutDir)" /Y

For latest version of bass check out their site. https://www.un4seen.com/