A MudBlazor app for playing multiple audio files at the same time.
- This app uses NAudio, and is therefore limited to .ogg, .wav, .flac, and .mp3 files.
- .ogg files are recommended for looping effects/music due to limitations of the .mp3 format.
- Due to limitations in Javascript file selection & C# file dialog incompatibility with console apps, the app must scan directories before playing audio files.
- Download and install dotNET 6.0 runtime
Search for
.NET Runtime 6.0.0forWindows, currently it's on the right of the page
- Download the latest release here.
- Unzip the archive
- Open the
appsettings.jsonfile in the root of the project. - Under
AudioSourcePaths, add the directories to scan for audio files. (Note: The app will scan all subdirectories of the directories specified.)
Make sure to escape back slashes (
\\) in the paths.e.g.
C:\Fake\Path\To\Audio\FilesbecomesC:\\Fake\\Path\\To\\Audio\\Files
- Save the file.
- Open the
mao_mudblazor_server.exefile. - Check the console to ensure the audio sources were correctly scanned.
- Open your browser and navigate to the hosted URL (Note: The app should automatically open the hosted URL in your default browser).