flutter_midi_command_web 1.0.3 copy "flutter_midi_command_web: ^1.0.3" to clipboard
flutter_midi_command_web: ^1.0.3 copied to clipboard

Platformweb

The web implementation of flutter_midi_command, using the browser Web MIDI API to send and receive MIDI messages.

flutter_midi_command_web #

pub package

Web implementation of flutter_midi_command backed by the browser Web MIDI API.

What it supports #

  • Enumerating MIDI input/output ports as MidiDevice
  • Connecting/disconnecting to discovered devices
  • Receiving MIDI packets from input ports
  • Sending MIDI packets to output ports
  • Emitting setup-change events when browser MIDI ports appear/disappear

What it does not support #

  • Virtual MIDI devices (addVirtualDevice / removeVirtualDevice)
  • iOS/macOS network session APIs (isNetworkSessionEnabled / setNetworkSessionEnabled)
  • BLE via flutter_midi_command_ble on web

Browser requirements #

  • HTTPS origin (or localhost during development)
  • Browser with Web MIDI API support (typically Chrome/Edge)
  • User permission granted for MIDI access

If the browser does not expose navigator.requestMIDIAccess, API calls will throw UnsupportedError.

Notes on permissions and SysEx #

The implementation requests MIDI access with SysEx enabled (sysex: true). If SysEx permission is denied by the browser/user policy, initialization may fail and surface as an error from devices/connectToDevice.

Testing #

This package includes backend-injected unit tests in test/flutter_midi_command_web_test.dart. Run in a browser with:

flutter test --platform chrome
0
likes
150
points
788
downloads

Documentation

Documentation

Publisher

verified publisherinvisiblewrench.com

Weekly Downloads

The web implementation of flutter_midi_command, using the browser Web MIDI API to send and receive MIDI messages.

Homepage
Repository (GitHub)
View/report issues

Topics

#midi #flutter-plugin #webmidi #browser #web

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_midi_command_platform_interface, flutter_web_plugins, web

More

Packages that depend on flutter_midi_command_web

Packages that implement flutter_midi_command_web