MrBrixican / Foster.Audio

A small C# game audio library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foster.Audio

A small C# game audio library.

★ very work in progress! likely to have frequent, breaking changes! please use at your own risk! ★

Dependencies

Platform Library

Audio

  • Implemented via miniaudio for Linux/Mac/Windows.
  • Supported features
    • Loading WAV, MP3, FLAC, QOA, OGG, and raw PCM data
    • Essential operations/settings: Play, Pause, Stop, Seek, Volume, Pitch, Pan, Looping, Spatialization
    • Sound groups to manage multiple sound instances (useful for sound category volume management)
    • Garbage free managed sound instances

Notes

  • Contributions are welcome! However, anything that adds external dependencies or complicates the build process will not be accepted.
  • This library is made to work alongside the Foster game framework, but is perfectly capable of working standalone as long as lifecycle methods (Audio.Startup, Audio.Shutdown, Audio.Update) are called.
  • This is intended to be a relatively simple library to load and play sounds. If you need more functionality, it may be best to look into more complete solutions like FMOD or Wwise.

About

A small C# game audio library

License:MIT License


Languages

Language:C# 54.6%Language:C 41.4%Language:CMake 4.1%