Nested Parenthetical Madness
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

j5-songs

0.0.9 • Public • Published

j5-songs Build Status

Songs for Johnny-Five Piezo class

Getting Started

Install the module with: npm install j5-songs --save

var five = require('johnny-five');
var songs = require('j5-songs');
 
five.Board().on('ready', function () {
  var piezo = new five.Piezo(3);
 
  // Load a song object
  var song = songs.load('never-gonna-give-you-up');
 
  // Play it !
  piezo.play(song);
 
  // List all songs
  songs.list(function (err, tunes) {
    // Object literal with all the songs
  });
});

Songs

Song ID Artist Name
beethovens-fifth Beethoven Beethoven's Fifth
claxon Brian Genisio A Claxon 2x
do-re-mi Richard Rogers Do-Re-Mi
doorbell Unknown Classic Doorbell
funeral-march-short Chopin Funeral March
jingle-bells-short James Pierpont Jingle Bells
mario-fanfare Nintendo Super Mario Theme
mario-intro Nintendo Super Mario Intro
never-gonna-give-you-up Rick Astley Never Gonna Give You Up
pew-pew-pew Brian Genisio A shooter noise
tetris-theme Korobeiniki The tetris theme
starwars-theme John Williams THE Star Wars Theme

For more songs check lib/songs folder

License

Copyright (c) 2014 Julian Duque, Brian Genisio. Licensed under the MIT license.

install

npm i j5-songs

Downloadsweekly downloads

35

version

0.0.9

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability