1.2.0 • Published 9 years ago

piano-game v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

The Piano Game.

Become a better pianist.

npm install piano-game

var PianoGame = require('piano-game');
var audioContext = require('audio-context');

var game = new PianoGame({
	element: document.querySelector('.piano-game'),
	context: audioContext,
	range: ['c2', 'c#3'], //range of keys to ask
	maxNotes: 4, //maximum number of notes in a question
	requireOctave: false //require exact octave for a note
});

Similar