🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

midium

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

midium

Web MIDI API wrapper designed for humans and MIDI instruments

latest
Source
npmnpm
Version
0.0.13
Version published
Maintainers
1
Created
Source

Midium - Web MIDI API wrapper

Midium is a very simple, device oriented Web MIDI API wrapper. It makes you able to send and receive notes and other messages from MIDI devices with writing less code.

TODO: write documentation

var moog = Midium('moog');
moog.notePress('c#4', 1000);
var all = Midium.select('');

all.onNoteOn(function(event) {
	playSound(event.note);
});

all.onNoteOff(function(event) {
	stopSound(event.note);
});

Keywords

midi

FAQs

Package last updated on 26 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts