Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ee0703/SimpleSheetMusic.js
Simple player that use pure javascript to play sheet music
https://github.com/ee0703/SimpleSheetMusic.js
Last synced: 3 months ago
JSON representation
Simple player that use pure javascript to play sheet music
- Host: GitHub
- URL: https://github.com/ee0703/SimpleSheetMusic.js
- Owner: ee0703
- License: mit
- Created: 2014-11-02T07:58:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-20T04:52:36.000Z (almost 10 years ago)
- Last Synced: 2024-07-16T14:07:09.955Z (4 months ago)
- Language: JavaScript
- Size: 142 KB
- Stars: 35
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SimpleSheetMusic.js
===================Simple player that use pure javascript to play sheet music
Demo Page: [http://blog.maxee.info/simplesheetmusic/example_en.html](http://blog.maxee.info/simplesheetmusic/example_en.html)
Demo in Chnese: [中文版演示](http://blog.maxee.info/simplesheetmusic/example_cn.html)## Usage
### 1. include SimpleSheetMusic.js
``` javascript
```### 2. play sheet music
``` javascriprt
var notes = [['C4',1],['D4',1],['E4',1],['F4',1],['G4',1],['A4',1],['B4',1],['C5',1]];
//create player
var player = new simple_player();
//play sheet music
player.play(notes);
```See the [demo page](http://blog.maxee.info/simplesheetmusic/example_en.html) for more documents
中文版请看: [详细教程](http://blog.maxee.info/2014/11/01/play-music-with-pure-js/)## License
The MIT License (MIT)