libansnd: Another Sound Library for Wii and GameCube homebrew
Posted: Fri Apr 25, 2025 11:37 pm
Hello,
libansnd is a new sound library made as a replacement for libaesnd. It has all the same features and a few more:
- Hardware ADPCM decoding
- Arbitrary resampling via windowed sinc interpolation
- Up to 48 simultaneous voices
- Callbacks for voice state & streaming data input
- Looping with arbitrary start & end positions
- Dynamic volume adjustment
- Pitch adjustment
- Configurable playback delay
- Manual ARAM management on GameCube
It’s not quite a drop-in replacement of libaesnd but it’s just as simple to use. There are a few example programs that show how to use it along with plenty of comments in the header. It was made for the Wii but it works fine on GameCube, if a bit less fully featured due to the GameCube DSP’s lower clock speed.
It’s open source and hosted on GitHub: https://github.com/Oaisus/libansnd
Let me know what you think!
-Oaisus