Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raysan5/raudio
A simple and easy-to-use audio library based on miniaudio
https://github.com/raysan5/raudio
Last synced: about 1 hour ago
JSON representation
A simple and easy-to-use audio library based on miniaudio
- Host: GitHub
- URL: https://github.com/raysan5/raudio
- Owner: raysan5
- License: zlib
- Created: 2019-01-19T15:23:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-31T23:14:53.000Z (25 days ago)
- Last Synced: 2025-01-18T21:40:24.681Z (7 days ago)
- Language: C
- Homepage:
- Size: 4.14 MB
- Stars: 191
- Watchers: 10
- Forks: 24
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - raudio - to-use audio library based on miniaudio (Multimedia)
README
**raudio is simple and easy-to-use audio library based on miniaudio.**
`raudio` is intended for audio devices management and audio playing, it also supports multiple audio file-formats loading.
`raudio` API tries to be very simple and intuitive and it represents a thin layer over the powerful [miniaudio library](https://github.com/dr-soft/miniaudio), including support for multiple audio formats: WAV, OGG, MP3, FLAC, MOD, XM.
`raudio` is used by [raylib](https://github.com/raysan5/raylib) library as the internal audio module. `raudio.h` exposes the same audio functionality exposed by `raylib.h`.
## features
- Simplifies `miniaudio` usage exposing only basic functionality
- Audio formats supported: `.wav`, `.qoa`, `.ogg`, `.mp3`, `.flac`, `.xm`, `.mod`
- Select desired input formats at compilation time
- Load and play audio, static or streamed modes
- Support for plugable audio effects with callbacks
## library`raudio` is distributed as two main files:
- `raudio.h`: It contains the API declaration with all the exposed functionality
- `raudio.c`: It contains the implementation of the library, including all the [`external`](src/external) required libraries, all of them single-file header-only libraries.## usage
For usage example, it's recommended to check the provided [`examples`](examples). They also contain detailed documentation at the start of the examples.
## license
`raudio` is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details.