Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julianduque/j5-songs
Songs for Johnny-Five Piezo class
https://github.com/julianduque/j5-songs
Last synced: 15 days ago
JSON representation
Songs for Johnny-Five Piezo class
- Host: GitHub
- URL: https://github.com/julianduque/j5-songs
- Owner: julianduque
- Created: 2014-07-07T22:55:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-04T16:06:40.000Z (about 9 years ago)
- Last Synced: 2025-01-07T15:21:10.631Z (21 days ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 56
- Watchers: 6
- Forks: 23
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nodebots - J5-Songs - Five. (Libraries and Plugins / Robot Programming Plugins)
README
# j5-songs [![Build Status](https://secure.travis-ci.org/julianduque/j5-songs.png?branch=master)](http://travis-ci.org/julianduque/j5-songs)
Songs for Johnny-Five Piezo class
## Getting Started
Install the module with: `npm install j5-songs --save````javascript
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.