Approved content

The content below is provided by partner.

bluetooth-midi 2.0.7 (microsoft/pxt-bluetooth-midi) Fork me

A Bluetooth MIDI service

bluetooth-midi Build Status

A Bluetooth low enery MIDI support for the micro:bit. iOS only currently.

For another device like a smartphone to use any of the Bluetooth “services” which the micro:bit has, it must first be paired with the micro:bit. Once paired, the other device may connect to the micro:bit and exchange data relating to many of the micro:bit’s features.


This package allows the micro:bit to act as a MIDI peripherical, like a piano. It requires to connect to a BLE MIDI device to receive the commands and play them.

Place a ||bluetooth start midi service|| block in your program to enable MDI over Bluetooth low energy.


This library uses the MIDI package. Please refer to that project documentation for further details.

Supported Platforms

This package is currently only supported on iOS (iPad/iPhone). Any app that supports a MIDI keyboard or instrument should work.

Supported targets

(The metadata above is needed for package search.)



Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.