NAudio.Midi
3.1.1-preview.1
Prefix Reserved
See the version list below for details.
dotnet add package NAudio.Midi --version 3.1.1-preview.1
NuGet\Install-Package NAudio.Midi -Version 3.1.1-preview.1
<PackageReference Include="NAudio.Midi" Version="3.1.1-preview.1" />
<PackageVersion Include="NAudio.Midi" Version="3.1.1-preview.1" />
<PackageReference Include="NAudio.Midi" />
paket add NAudio.Midi --version 3.1.1-preview.1
#r "nuget: NAudio.Midi, 3.1.1-preview.1"
#:package NAudio.Midi@3.1.1-preview.1
#addin nuget:?package=NAudio.Midi&version=3.1.1-preview.1&prerelease
#tool nuget:?package=NAudio.Midi&version=3.1.1-preview.1&prerelease
NAudio.Midi
MIDI support for NAudio. Dual-targets net9.0 (cross-platform: the MIDI event model and file reader/writer) and net9.0-windows10.0.19041.0 (adds WinRT live MIDI I/O on Windows).
What's included
MidiFilefor reading Standard MIDI Files (SMF)MidiEventCollectionandMidiEventhierarchy (NoteEvent,NoteOnEvent,ControlChangeEvent,PatchChangeEvent,TempoEvent,TimeSignatureEvent,MetaEvent,SysexEvent, …)MidiFileWriterhelpers to produce MIDI files from aMidiEventCollection- Enumerations for General MIDI patches, drum notes, controller numbers, etc.
- Windows only:
WinRTMidiIn/WinRTMidiOut— live MIDI input and output backed by the WinRTWindows.Devices.MidiAPI (present only in thenet9.0-windowsbuild; the cross-platformnet9.0build omits them)
What's not here
Sending or receiving live MIDI through the legacy winmm-backed MidiIn / MidiOut uses the Windows Multimedia API and lives in the NAudio.WinMM package. (The WinRT-backed WinRTMidiIn / WinRTMidiOut above are the modern alternative and ship here.)
See the NAudio documentation site for tutorials and the full API reference, or the GitHub repository for full documentation and tutorials on working with MIDI files and events.
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- NAudio.Core (>= 3.1.1-preview.1)
-
net9.0-windows10.0.19041
- NAudio.Core (>= 3.1.1-preview.1)
NuGet packages (16)
Showing the top 5 NuGet packages that depend on NAudio.Midi:
| Package | Downloads |
|---|---|
|
NAudio
NAudio is an open source .NET audio library — playback and recording, file readers and writers, MIDI, DSP and effects, plus the core Windows audio backends (WASAPI, Media Foundation and WinMM). ASIO, DMO/DirectSound and WinForms support are separate packages. |
|
|
NAudio.WinMM
winmm.dll-based Windows audio APIs (WaveOut, WaveIn, MidiIn, MidiOut, ACM) for the NAudio audio library. |
|
|
MicroServices
Micro Services Essential Pack |
|
|
MappingTools.Core
osu! mapping utility library built for Mapping Tools. |
|
|
MultiAPI_Lib
MultiAPI - Это библиотека и сборка разного ПО (Далее "Библиотека") для разработчиков. Работает на .NET 8. Она содержит множество функций чтобы ускорить разработку ПО. MultiAPI подойдёт как начинающим разработчикам, так и профессиональным разработчикам ПО. |
GitHub repositories (26)
Showing the top 20 popular GitHub repositories that depend on NAudio.Midi:
| Repository | Stars |
|---|---|
|
tixl3d/tixl
TiXL is an open source software to create realtime motion graphics.
|
|
|
Azure-Samples/cognitive-services-speech-sdk
Sample code for the Microsoft Cognitive Services Speech SDK
|
|
|
moom825/xeno-rat
Xeno-RAT is an open-source remote access tool (RAT) developed in C#, providing a comprehensive set of features for remote system management. Has features such as HVNC, live microphone, reverse proxy, and much much more!
|
|
|
CXWorld/CapFrameX
Frametime capture and analysis tool
|
|
|
lastbattle/Harepacker-resurrected
All in one .wz file/map editor for MapleStory game files
|
|
|
akon47/ScreenRecorder
⏺️ A simple recording program with the ability to record screens and audio on your computer.
|
|
|
malaybaku/VMagicMirror
VRM Software for Windows to move avatar with minimal devices.
|
|
|
octgn/OCTGN
Online Card and Tabletop Gaming Network
|
|
|
mhwlng/streamdeck-elite
Elgato Stream Deck plugin for Elite Dangerous
|
|
|
RoosterDragon/Desktop-Ponies
Desktop Ponies in .NET [The Original!]
|
|
|
stuff-by-3-random-dudes/UWUVCI-AIO-WPF
|
|
|
mir-ethernity/mir-eternal
|
|
|
mhwlng/streamdeck-starcitizen
Elgato Stream Deck button plugin for Star Citizen
|
|
|
iss4cf0ng/DuplexSpyCS
An open-source, C#-based remote administration tool (RAT), enabling complete control of a remote Windows machine, designed for legitimate remote administration and security testing of Windows systems.
|
|
|
FredTungsten/ScriptPlayer
ScriptPlayer is a video player that controls the Handy and lots of other toys in sync with videos.
|
|
|
kuma4649/MDPlayer
|
|
|
tgraupmann/WinForm_Ollama_Copilot
Ollama AI front-end using Windows Forms as a Copilot Application
|
|
|
Doublevil/Houhou-SRS
Japanese dictionary and SRS self-learning application for Windows.
|
|
|
nanami5270/GARbro-Mod
Fork of morkt/GARbro
|
|
|
elgarf/vMixUTC
Customizable controller for vMix
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.0-preview.1 | 0 | 10/17/2026 |
| 3.2.0 | 2,074 | 10/15/2026 |
| 3.2.0-preview.1 | 97 | 10/13/2026 |
| 3.1.1-preview.2 | 343 | 9/21/2026 |
| 3.1.1-preview.1 | 534 | 9/8/2026 |
| 3.1.0 | 89,157 | 9/7/2026 |
| 3.1.0-preview.2 | 132 | 9/5/2026 |
| 3.1.0-preview.1 | 126 | 9/4/2026 |
| 3.0.2-preview.2 | 210 | 8/27/2026 |
| 3.0.2-preview.1 | 285 | 8/20/2026 |
| 3.0.1 | 93,288 | 8/18/2026 |
| 3.0.1-preview.1 | 144 | 8/17/2026 |
| 3.0.0 | 9,511 | 8/15/2026 |
| 3.0.0-preview.20 | 670 | 8/8/2026 |
| 3.0.0-preview.19 | 684 | 7/25/2026 |
| 3.0.0-preview.18 | 1,596 | 7/16/2026 |
| 3.0.0-preview.17 | 206 | 7/11/2026 |
| 3.0.0-preview.16 | 628 | 7/1/2026 |
| 3.0.0-preview.15 | 262 | 6/28/2026 |
| 2.4.0 | 36,077 | 8/26/2026 |
* **macOS support (preview)** - A new wrappers library is added wrapping macOS native API's for playback/recording, reading/writing files and resampling audio. The `NAudio.MacOS` package ships pre-release only (`X.Y.Z-preview.N`) while its API settles, so it stays pre-release alongside stable releases of the other packages. Special thanks to @mdcdi1315 (#1325) for the work and the tests. For more information, see the [design](Docs/Architecture/MacOSWrappersDesign.md) doc that describes the decisions that helped shape the wrappers. (#1398)