Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/watilde/beeplay
Write a song in JavaScript
https://github.com/watilde/beeplay
Last synced: 10 days ago
JSON representation
Write a song in JavaScript
- Host: GitHub
- URL: https://github.com/watilde/beeplay
- Owner: watilde
- License: mit
- Created: 2014-04-15T08:20:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-09T06:10:41.000Z (over 6 years ago)
- Last Synced: 2024-05-02T00:10:28.140Z (6 months ago)
- Language: JavaScript
- Homepage: http://watilde.github.io/beeplay
- Size: 617 KB
- Stars: 1,040
- Watchers: 23
- Forks: 55
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
beeplay
=======Write A Song In JavaScript
## Install
npm```sh
npm install beeplay
```bower
```sh
bower install beeplay
```## Usage
```js
var beeplay = require('beeplay')beeplay()
.play(null, 2)
.play('D#5', 1/4).play('E5', 1/4).play('F#5', 1/2)
.play('B5', 1/2).play('D#5', 1/4).play('E5', 1/4)
.play('F#5', 1/4).play('B5', 1/4).play('C#6', 1/4).play('D#6', 1/4)
.play('C#6', 1/4).play('A#5', 1/4).play('B5', 1/2)
.play('F#5', 1/2).play('D#5', 1/4).play('E5', 1/4)
.play('F#5', 1/2).play('B5', 1/2)
.play('C#6', 1/4).play('A#5', 1/4).play('B5', 1/4).play('C#6', 1/4)
.play('E6', 1/4).play('D#6', 1/4).play('E6', 1/4).play('C#6', 1/4);
```