Skip to content

Instantly share code, notes, and snippets.

View gorhgorh's full-sized avatar

Jérôme Zhang gorhgorh

View GitHub Profile
//-----------------------------------------------//
// SPARK CORE SIMPLE TONE GENERATOR //
//===============================================//
// Copy this into a new application at: //
// https://www.spark.io/build and go nuts! //
//-----------------------------------------------//
// Technobly / BDub - Jan 2014 //
//===============================================//
#define NOTE_B2 4065
/* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true,
* strict:true, undef:true, curly:true, browser:true, indent:2, maxerr:50
*/
/*
* Note: use http://www.jshint.com/ to validate your code and make sure it
* doesn't catch any bad practices or error prone programming, also it may
* be handy to leave the options you validated your code with at the top
* of the file so it can be easiy validated later
*/