Skip to content

ee0703/SimpleSheetMusic.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleSheetMusic.js

Simple player that use pure javascript to play sheet music
Demo Page: http://blog.maxee.info/simplesheetmusic/example_en.html
Demo in Chnese: 中文版演示

Usage

1. include SimpleSheetMusic.js

    <script src="simpleSheetMusic.js"></script>

2. play sheet music

    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 for more documents

中文版请看: 详细教程

License

The MIT License (MIT)

About

Simple player that use pure javascript to play sheet music

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published