Noteworthy 0.2.0

dotnet add package Noteworthy --version 0.2.0
                    
NuGet\Install-Package Noteworthy -Version 0.2.0
                    
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="Noteworthy" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Noteworthy" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Noteworthy" />
                    
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 Noteworthy --version 0.2.0
                    
#r "nuget: Noteworthy, 0.2.0"
                    
#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 Noteworthy@0.2.0
                    
#: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=Noteworthy&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Noteworthy&version=0.2.0
                    
Install as a Cake Tool

Noteworthy

A fully featured Standard MIDI File (SMF) creation and editing library for .NET.

Features

  • Reads and writes SMF format 0, 1, and 2
  • PPQ and SMPTE timing divisions
  • Full channel voice message support (Note On/Off, Polyphonic Key Pressure, Control Change, Program Change, Channel Pressure, Pitch Bend)
  • Complete meta event set (Tempo, Time Signature, Key Signature, SMPTE Offset, all text variants, Channel Prefix, Port, Sequence Number, Sequencer Specific, End Of Track)
  • System Exclusive messages (F0 single, F0 multi-packet, F7 escape)
  • Running status handled on both read and write
  • Analysis: multi-tempo TempoMap (tick ↔ time), Note pairing
  • Editing: transpose, quantize, merge tracks, split by channel, channel remap, format 0 ↔ 1 conversion
  • Helpers: bank-select, RPN/NRPN, pitch-bend range, channel-mode messages, GM/GS/XG resets, master volume
  • Validation: structured warning/error report (hanging notes, missing tempo, malformed EOT, etc.)
  • Async I/O with cancellation
  • Zero external dependencies, targets .NET 10

Quick start

using Noteworthy;
using Noteworthy.Events.Channel;
using Noteworthy.Events.Meta;

var file = new MidiFile(MidiFormat.SingleMultiChannelTrack, MidiTimeDivision.FromPpq(480));

var track = file.AddTrack();
track.Add(new TrackNameEvent(0, "Lead"));
track.Add(new TempoEvent(0, microsecondsPerQuarter: 500_000)); // 120 BPM
track.Add(new TimeSignatureEvent(0, 4, 4));
track.Add(new ProgramChangeEvent(0, channel: 0, program: 0));

track.Add(new NoteOnEvent(0, channel: 0, note: 60, velocity: 100));
track.Add(new NoteOffEvent(480, channel: 0, note: 60, velocity: 0));

file.Save("hello.mid");

var loaded = MidiFile.Load("hello.mid");

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

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
0.2.0 56 6/1/2026