Gondwana.Audio.Midi
2.6.1
dotnet add package Gondwana.Audio.Midi --version 2.6.1
NuGet\Install-Package Gondwana.Audio.Midi -Version 2.6.1
<PackageReference Include="Gondwana.Audio.Midi" Version="2.6.1" />
<PackageVersion Include="Gondwana.Audio.Midi" Version="2.6.1" />
<PackageReference Include="Gondwana.Audio.Midi" />
paket add Gondwana.Audio.Midi --version 2.6.1
#r "nuget: Gondwana.Audio.Midi, 2.6.1"
#:package Gondwana.Audio.Midi@2.6.1
#addin nuget:?package=Gondwana.Audio.Midi&version=2.6.1
#tool nuget:?package=Gondwana.Audio.Midi&version=2.6.1
Gondwana.Audio.Midi
Gondwana.Audio.Midi adds MIDI playback to the Gondwana Game Engine using MeltySynth and the Gondwana.Audio.NAudio backend.
It synthesizes .mid / .midi files with an embedded SoundFont and registers those formats with the NAudio reader registry so MIDI resources can be loaded through the normal AudioResourceManager API.
Features
- MIDI playback (
.mid,.midi) - embedded General MIDI SoundFont
- software synthesis through MeltySynth
- integration with
Gondwana.Audio.NAudio - normal Gondwana
AudioResourceplayback controls after loading
Installation
dotnet add package Gondwana.Audio.Midi
Gondwana.Audio.Midi depends on Gondwana.Audio.NAudio, which provides the Windows audio output pipeline.
Usage
Configure the NAudio backend and register MIDI readers before loading MIDI resources:
Engine.Instance.UseNAudio();
Engine.Instance.InitializeMidiAudioFormats();
Then use the common audio manager:
var music = Engine.Managers.AudioResources.LoadFromFile(
"theme",
"assets/theme.mid");
music.IsLooping = true;
music.Play();
Related packages
Gondwana— core engine and backend-neutral audio contractsGondwana.Audio.NAudio— Windows desktop audio backend used by MIDI playbackGondwana.Audio.Browser— browser/WASM audio backend; MIDI synthesis is not currently provided there
Documentation
- Wiki: https://github.com/Isthimius/Gondwana/wiki/Audio
- API reference: https://isthimius.github.io/Gondwana/api/
- Release history: https://github.com/Isthimius/Gondwana/blob/master/Gondwana.Audio.Midi/CHANGELOG.md
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Gondwana.Audio.NAudio (>= 2.6.1)
- MeltySynth (>= 2.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.6.1 | 94 | 10/8/2026 |
| 2.6.0 | 147 | 9/17/2026 |
| 2.5.2 | 149 | 7/26/2026 |
| 2.5.1 | 136 | 7/19/2026 |
| 2.5.0 | 146 | 7/9/2026 |
| 2.4.3 | 177 | 6/16/2026 |
| 2.4.2 | 140 | 6/11/2026 |
| 2.4.1 | 155 | 6/9/2026 |
| 2.3.0 | 146 | 5/19/2026 |
| 2.2.4 | 155 | 5/9/2026 |
| 2.2.3 | 143 | 5/5/2026 |
| 2.2.2 | 136 | 5/3/2026 |
| 2.2.1 | 142 | 4/30/2026 |
| 2.2.0 | 151 | 4/29/2026 |
| 2.1.2 | 172 | 4/25/2026 |
| 2.1.1 | 162 | 4/20/2026 |
| 2.1.0 | 142 | 4/20/2026 |
Full changelog: https://github.com/Isthimius/Gondwana/blob/master/CHANGELOG.md