Giter Site home page Giter Site logo

pchaozhong / midibridge-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abudaan/midibridge-js

0.0 2.0 0.0 1.61 MB

A Javascript API for interacting with MIDI devices

Home Page: http://www.abumarkub.net/abublog/?p=576

HTML 2.33% JavaScript 97.02% PHP 0.65%

midibridge-js's Introduction

NOTE: you might be interested in the newest version as well, see https://github.com/abudaan/midibridge


The midibridge is a Javascript API for interacting with the midi devices on your computer. 

It provides methods for detecting the midi devices and for connecting these devices with each other.

The midibridge itself is considered a midi device as well, so it can be connected to the detected devices.

The midibridge can generate and send midi events to midi output devices, and receive midi events from midi input devices.

The midibridge can also filter and alter midi events. 

Recording and playing back midi events with a sequencer will be added in later versions.

A midi output device is a physical output port on your computer, a virtual output port or a software synthesizer. It can also be a sequencer, a file or a function.

A midi input device is a physical or virtual input port, a sequencer, a file or a function.

A midi device can be both in- and output. The midibridge itself for instance is both in- and output because it can send and receive midi events.

The actual interaction with the midi devices on your computer is done by a Java applet. The midibridge automatically adds the applet to your webpage.

The midibridge has no visual parts, it is 'headless' code. You could say the midibridge enables you to write a 'front-end' on top of the applet. 

Midi Devices -> Java Applet -> Javascript Midibridge API -> a GUI in Javascript, Flash, SVG, C# (Silverlight)

Because the midibridge is written in native Javascript, you can use it conflict-free with any Javascript framework.


The only files you need to get started are:

/lib/midibridge-0.5.4.min.js
/java/midiapplet.jar


/lib/MidiBridge.js is the non-minified version of /lib/midibridge-0.5.4.min.js

The index.html file shows you how you embed the midibridge in your html page; you can use this basic example as a starting point of your own code.

In the /examples folder you will find the code examples that i have used in the quick start guide and the documentation on my blog, see:

http://www.abumarkub.net/abublog/?p=399 

midibridge-js's People

Contributors

abudaan avatar

Watchers

 avatar  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.