Socket
Socket
Sign inDemoInstall

j5-songs

Package Overview
Dependencies
0
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    j5-songs

Songs for Johnny-Five Piezo class


Version published
Weekly downloads
16
increased by700%
Maintainers
3
Install size
22.0 kB
Created
Weekly downloads
 

Readme

Source

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 IDArtistName
beethovens-fifthBeethovenBeethoven's Fifth
claxonBrian GenisioA Claxon 2x
do-re-miRichard RogersDo-Re-Mi
doorbellUnknownClassic Doorbell
funeral-march-shortChopinFuneral March
jingle-bells-shortJames PierpontJingle Bells
mario-fanfareNintendoSuper Mario Theme
mario-introNintendoSuper Mario Intro
never-gonna-give-you-upRick AstleyNever Gonna Give You Up
pew-pew-pewBrian GenisioA shooter noise
tetris-themeKorobeinikiThe tetris theme
starwars-themeJohn WilliamsTHE Star Wars Theme

For more songs check lib/songs folder

License

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

Keywords

FAQs

Last updated on 04 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc