Giter Site home page Giter Site logo

sunbox / ble-midi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skratchdot/ble-midi

0.0 0.0 0.0 1.67 MB

A Bluetooth Low Energy MIDI library written in javascript

Home Page: https://projects.skratchdot.com/ble-midi/

License: MIT License

JavaScript 99.06% CSS 0.94%

ble-midi's Introduction

ble-midi

NPM version Build Status Code Climate Coverage Status dependencies Status devDependencies Status

NPM

Description

A Bluetooth Low Energy MIDI library written in javascript.

The following service and characteristic are defined:

  • MIDI Service (UUID: 03B80E5A-EDE8-4B33-A751-6CE34EC4C700)
  • MIDI Data I/O Characteristic (UUID: 7772E5DB-3868-4112-A1A9-F2669D106BF3)
  • Supports:
    • write (encryption recommended, write without response is required)
    • read (encryption recommended, respond with no payload)
    • notify (encryption recommended)

Getting Started

# install cli
npm install -g ble-midi

# install helper tool
brew install fluidsynth

# download soundfont
wget https://dl.dropboxusercontent.com/u/8126161/GeneralUser_GS_1.471.zip
unzip -p GeneralUser_GS_1.471.zip "GeneralUser GS 1.471/GeneralUser GS v1.471.sf2" > gs.sf2

# start fluidsynth
fluidsynth -d ./gs.sf2

# find fluidsynth port
ble-midi list-devices

# start advertising (if fluidsynth was device #2- if not, just use correct device number)
ble-midi advertise --midi-out 2

# now connect to "skratchdot-ble-midi" from another device and start playing

Links

Specifications

Helpful MIDI Tools

Android

Products

Random

Credits

  • MIDI Icon by Kurt Lorenz from the Noun Project
  • Bluetooth Icon by Barracuda from the Noun Project

License

Copyright (c) 2017 skratchdot
Licensed under the MIT license.

ble-midi's People

Contributors

skratchdot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.