I got tired of XNA audio's quirks: no crossfades, no ducking, silent failures at runtime. So over the past few weeks I built Duack, and I've been hardening it by dogfooding it in my own prototype: a browser-playable monster prototype on FlatRedBall2, where the mixer, context-based music and encounter ducking all run through it, on the web.
What it does:
- Config-driven (code-only) ducking and crossfades
- Playlists and per-context volumes
- No dependencies (aside from JSON for one part)
- MonoGame and KNI adapters; I patched some KNI internals so desktop functionality also works on web
- Works on FlatRedBall2 now that it moved to KNI for desktop
- Ships with skills docs, runnable samples, and a CLI that tells you which files it can't load instead of failing silently
Source: https://github.com/ultimateownsz/Duack
Install: dotnet add package Duack --version 0.1.0-preview.4