Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

halfbyte/mini_midi_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web MIDI demos

Written for the JSUnconf.eu 2015 presentation "Making Noise with Web Audio and Web MIDI"

© Jan 'half/byte' Krutisch

All examples should work from local disk, so to run them, simply clone the Repo and open examples in your Browser.

Browser Compatibility

The Web MIDI API is still pretty much a moving target so currently this only works in Chrome Canary (at least out of the box). As this was written in a hurry, I didn't try to make this running using Chris' Web MIDI shim.

The Examples in Detail

A minimal example on how to initialize the API and send and receive MIDI events.

Open up the console and monitor incoming midi data. Good for debugging.

A demo to drive the Web Audio API with MIDI

A simple sequencer that drives any connected synthesizer.

An example of driving some simple canvas drawing by MIDI commands. You probably need to adapt the MIDI controller numbers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published