Skip to content

Instantly share code, notes, and snippets.

Avatar

Oren Shoham oshoham

View GitHub Profile
@oshoham
oshoham / laser_harp.ino
Last active Oct 25, 2017 — forked from boysonhudson/laser_harp.ino
Laser Harp Arduino Code
View laser_harp.ino
/*
* Laser Harp MIDI Controller
*
* Authors: Wei-Luen (Alan) Peng and Oren Shoham
*/
// hex to MIDI note reference: https://www.wavosaur.com/download/midi-note-hex.php
// scale: B5, A5, G5, F5, E5, D5, C5
const int notes[7] = {0x5F, 0x5D, 0x5B, 0x59, 0x58, 0x56, 0x54};
const int startingInputPin = 3;
You can’t perform that action at this time.