Haukcode.RtpMidi 1.0.98

There is a newer version of this package available.
See the version list below for details.
dotnet add package Haukcode.RtpMidi --version 1.0.98
                    
NuGet\Install-Package Haukcode.RtpMidi -Version 1.0.98
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Haukcode.RtpMidi" Version="1.0.98" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Haukcode.RtpMidi" Version="1.0.98" />
                    
Directory.Packages.props
<PackageReference Include="Haukcode.RtpMidi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Haukcode.RtpMidi --version 1.0.98
                    
#r "nuget: Haukcode.RtpMidi, 1.0.98"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Haukcode.RtpMidi@1.0.98
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Haukcode.RtpMidi&version=1.0.98
                    
Install as a Cake Addin
#tool nuget:?package=Haukcode.RtpMidi&version=1.0.98
                    
Install as a Cake Tool

Haukcode.RtpMidi

RTP-MIDI (RFC 6295) for .NET — bidirectional MIDI over IP with full Apple MIDI session protocol support.

Key Features

  • Apple MIDI session protocol (IN/OK/NO/BY/CK) — both initiator and responder roles
  • Mandatory clock sync (CK0→CK1→CK2) — compatible with hardware bridges
  • Full RFC 6295 recovery journal (all channel chapters P/C/M/W/N/Q/T/A and system chapters X/F) — packet-loss recovery without session drops
  • IObservable<T> streams for received MIDI and state changes (System.Reactive)
  • Cross-platform: Windows, Linux ARM64, macOS — pure managed C#

Installation

dotnet add package Haukcode.RtpMidi

For mDNS peer discovery:

dotnet add package Haukcode.RtpMidi.Mdns

Quick Start

await using var session = new RtpMidiSession("My App");

session.MidiReceived.Subscribe(midiBytes =>
    Console.WriteLine($"MIDI: {BitConverter.ToString(midiBytes.ToArray())}"));

// Control port N; data port N+1 derived automatically
await session.ConnectAsync(new IPEndPoint(IPAddress.Parse("192.168.1.50"), 5004));

// Send LED feedback to hardware controller
await session.SendMidiAsync(new byte[] { 0xF0, 0x47, 0x7F, 0x30, 0x2C, 0x01, 0x00, 0xF7 });

Compatible Bridges

  • macOS — Built-in Network MIDI (Audio MIDI Setup)
  • WindowsrtpMIDI (free)
  • Linux — raveloxmidi
  • Hardware — iConnectivity mioXM and similar
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Haukcode.RtpMidi:

Package Downloads
Haukcode.RtpMidi.Mdns

mDNS/Bonjour peer discovery and advertising for Haukcode.RtpMidi. Browses the local network for _apple-midi._udp services and exposes found/lost peers as IObservable streams. Advertise your own session so other devices can find it.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.99 201 4/22/2026
1.0.98 112 4/22/2026
1.0.97 118 4/22/2026
1.0.96 118 4/22/2026
1.0.94 117 4/21/2026
1.0.93 108 4/21/2026
1.0.92 113 4/21/2026
1.0.91 105 4/21/2026
1.0.90 111 4/21/2026
1.0.89 200 4/21/2026
1.0.88 105 4/21/2026
1.0.87 117 4/21/2026
1.0.85 116 4/20/2026
1.0.84 103 4/20/2026
1.0.83-PR-27-99222510 95 4/20/2026
1.0.82-PR-27-ad5588c0 84 4/20/2026
1.0.81-PR-27-fea04649 90 4/20/2026
1.0.80 102 4/20/2026
1.0.79-PR-27-85e4213f 87 4/20/2026
1.0.73-PR-27-3e9f285c 101 4/20/2026
Loading failed