r/monogame • u/dsaiu • 1h ago
Duack 0.1.0-preview.6: game audio library update (MonoGame, KNI, FlatRedBall 1 & 2)
I shared Duack here before, and this new preview has a lot of changes. Duack is an audio library for games, covering music, sound effects and mixing. It works with MonoGame, KNI, FlatRedBall 1 and FlatRedBall 2.
What's new:
- User-defined buses, with per-bus mute and pause and ref-counted duck holds
- SFX voice limits with configurable stealing policies
- 2D positional sound effects for desktop and web
- Named mix states for switching between scenarios, like calm and combat
- Seek, position and duration readbacks, and pause/resume that freezes crossfades
- A default 3.5 s crossfade, which you can change
- Player settings that no longer overwrite your config
- net8.0 support across the adapters
Breaking changes: bus setup has changed, and the legacy float playback readback has been removed. This is a preview, so feedback is very welcome, and I'm working on better game samples next.
Repository, release and packages: https://github.com/ultimateownsz/Duack/releases/tag/v0.1.0-preview.6
Live demo how to use a crossfade on web: https://ultimateownsz.github.io/Duack/
