Skip to content

Instantly share code, notes, and snippets.

View trevd's full-sized avatar

trevd trevd

  • My Own
  • Inside Android
View GitHub Profile
@trevd
trevd / akai_apc_mini_leds_webmidi.js
Created January 2, 2021 23:38 — forked from xangadix/akai_apc_mini_leds_webmidi.js
Controlling Leds on an AKAI APC mini through WebMidi
// Check this image, with all the buttons etc.
// https://d2r1vs3d9006ap.cloudfront.net/s3_images/1143703/apc_mini_midi.jpg
// these are the available colors
var OFF = 0;
var GREEN = 1;
var GREEN_BLINK = 2;
var RED = 3;
var RED_BLINK = 4;
var YELLOW = 5;