Skip to main content
.NETStandard2.1

Fable bindings for webmidi, generated by Glutinum

Published
Sep 20, 2026
1mo ago
Total Downloads
77
77

Install

dotnet add package Glutinum.Webmidi --version 0.1.0
ProductVersions
.NET Standard
netstandard2.1

README

Glutinum.Webmidi

Fable bindings for webmidi, generated by Glutinum

Generated by Glutinum from webmidi.

The bindings live in the Glutinum.Webmidi module, the exports of the package are static members of Glutinum.Webmidi.Exports. The WebMidi object of the library is Exports.WebMidi, the static helpers are on the Utilities type.

open Glutinum.Webmidi

let midi = Exports.WebMidi

midi.enable ()
|> Promise.iter (fun midi ->
    for input in midi.inputs do
        printfn "%s" input.name
)

let note = Exports.Note("C#4", Exports.Note.options (duration = 500.0))
let number = Utilities.toNoteNumber "A4"

The Chromium of Playwright has no Web MIDI API, so the tests cover the notes, the utilities and the messages, and check that enable reports the browser as unsupported. A browser with the API asks the user for permission when enable is called.

Install the npm package next to the NuGet package, or run femto to do it.

The file Glutinum.Webmidi.fs is generated by ./build.sh generate Webmidi in the hub, do not edit it.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.