A JavaScript library for rendering music notation. Copyright (c) 2010 Mohit Muthanna Cheppudira
VexFlow is an open-source web-based music notation rendering API. It is written completely in JavaScript, and runs right in the browser. VexFlow supports HTML5 Canvas and SVG.
Go try out The VexFlow Tutorial to learn how to use VexFlow.
If you're not a developer and just want to write and share your music, go to My VexFlow.
VexTab has been overhauled and has moved to a new repository. Go to github/0xfe/vextab.
VexTab 2.0 now supports all VexTab 1.0 features, and includes a few new ones.
- Send in your changes via a GitHub pull request.
- Rebase early, rebase often.
- Please include tests -- I will not commit changes that don't have accompanying tests.
- Run
rake lint
before sending, and make sure your code is lint-clean. You need to have JSHint installed for this. - Please use 2 spaces instead of tabs.
- Try to stick to the style conventions in the existing code. (It's not great, but it's what we have.)
- Join the VexFlow Google Group at: https://groups.google.com/forum/?fromgroups#!forum/vexflow
For performing full builds, you need the following:
- Rake
- Uglifier
- Git
If you have Ruby installed, then you can use Bundler to get all the dependencies.
$ gem install bundler
$ bundle install
Build with:
$ rake
Clean with:
$ rake clean
If you have JSHint installed, you can check your code for common errors with the following command. Note that this step is mandatory if you want to commit your changes into the official VexFlow repository.
$ rake lint
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.