All Projects → InvisibleWrench → Fluttermidicommand

InvisibleWrench / Fluttermidicommand

Licence: bsd-3-clause
A Flutter plugin to send and receive MIDI

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Fluttermidicommand

Flutter Cinema
Learn to create flutter app with BLoC Architecture
Stars: ✭ 26 (-36.59%)
Mutual labels:  flutter-plugin
Arduino midi library
MIDI for Arduino
Stars: ✭ 969 (+2263.41%)
Mutual labels:  midi
Flutter orientation
A Flutter plugin for device's orientation
Stars: ✭ 39 (-4.88%)
Mutual labels:  flutter-plugin
Awesome Flutter
An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.
Stars: ✭ 38,582 (+94002.44%)
Mutual labels:  flutter-plugin
Flutter Unity View Widget
Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
Stars: ✭ 961 (+2243.9%)
Mutual labels:  flutter-plugin
Midi shield
Midi shield product 9595, available from SparkFun Electronics
Stars: ✭ 34 (-17.07%)
Mutual labels:  midi
Media picker
A Flutter Plugin for Selecting and Taking New Photos and Videos.
Stars: ✭ 24 (-41.46%)
Mutual labels:  flutter-plugin
Mega Drive Midi Interface
Control the Sega Mega Drive's Yamaha YM2612 and PSG with MIDI
Stars: ✭ 39 (-4.88%)
Mutual labels:  midi
Midiflip
🎹 MIDI music mayhem - flip, transpose, and arbitrarily remap pitches in MIDI files
Stars: ✭ 33 (-19.51%)
Mutual labels:  midi
Flutter Contacts Plugin
Contact plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to read, create and update contacts from the address book.
Stars: ✭ 38 (-7.32%)
Mutual labels:  flutter-plugin
Intellij Music
Play fancy music based on your keyboard activity in IDE
Stars: ✭ 28 (-31.71%)
Mutual labels:  midi
Flutter Woocommerce Api
WooCommerce API in Flutter, connect and start developing with the available endpoints like get products, create orders and more.
Stars: ✭ 31 (-24.39%)
Mutual labels:  flutter-plugin
Esp8266audio
Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
Stars: ✭ 972 (+2270.73%)
Mutual labels:  midi
Jsscc
A JavaScript reimplementation of Gashisoft GXSCC
Stars: ✭ 26 (-36.59%)
Mutual labels:  midi
Beep
Beep sound library and utility for alerting end of a command execution. Beep can also play MIDI or text music score.
Stars: ✭ 39 (-4.88%)
Mutual labels:  midi
Awesome Music
Awesome Music Projects
Stars: ✭ 925 (+2156.1%)
Mutual labels:  midi
Leancloud flutter plugin
LeanCloud flutter plugin by Luna Gao
Stars: ✭ 34 (-17.07%)
Mutual labels:  flutter-plugin
Flutter wechat ble
ble 4.0 with wechat style api for flutter. flutter版微信api风格的低功耗蓝牙
Stars: ✭ 41 (+0%)
Mutual labels:  flutter-plugin
Localize and translate
Flutter localization in easy steps, really simple
Stars: ✭ 40 (-2.44%)
Mutual labels:  flutter-plugin
Sfz2bitwig
Convert .SFZ files into Bitwig Studio multisample instruments.
Stars: ✭ 37 (-9.76%)
Mutual labels:  midi

flutter_midi_command

A Flutter plugin for sending and receiving MIDI messages between Flutter and physical and virtual MIDI devices.

Wraps CoreMIDI and android.media.midi in a thin dart/flutter layer. Works with USB and BLE MIDI connections on Android, and USB, network(session) and BLE MIDI connections on iOS and macOS.

To install

  • Make sure your project is created with Kotlin and Swift support.
  • Add flutter_midi_command: ^0.2.6 to your pubspec.yaml file.
  • In ios/Podfile uncomment and change the platform to 10.0 platform :ios, '10.0'
  • After building, Add a NSBluetoothAlwaysUsageDescription to info.plist in the generated Xcode project.

Getting Started

This plugin is build using Swift and Kotlin on the native side, so make sure your project supports this.

Import flutter_midi_command

import 'package:flutter_midi_command/flutter_midi_command.dart';

  • Get a list of available MIDI devices by calling MidiCommand().devices which returns a list of MidiDevice
  • Start scanning for BLE MIDI devices by calling MidiCommand().startScanningForBluetoothDevices()
  • Connect to a specific MidiDevice by calling MidiCommand.connectToDevice(selectedDevice)
  • Stop scanning for BLE MIDI devices by calling MidiCommand().stopScanningForBluetoothDevices()
  • Disconnect from the current device by calling MidiCommand.disconnectDevice()
  • Listen for updates in the MIDI setup by subscribing to MidiCommand().onMidiSetupChanged
  • Listen for incoming MIDI messages on from the current device by subscribing to MidiCommand().onMidiDataReceived, after which the listener will recieve inbound MIDI messages as an UInt8List of variable length.
  • Send a MIDI message by calling MidiCommand.sendData(data), where data is an UInt8List of bytes following the MIDI spec.
  • Or use the various MidiCommand subtypes to send PC, CC, NoteOn and NoteOff messsages.

See example folder for how to use.

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].