Skip to content

Display music scores. DEPRECATED in favout of purescript-abc-scores.

Notifications You must be signed in to change notification settings

newlandsvalley/purescript-scores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-scores

DEPRECATED in favour of purescript-abc-scores.

This module provides support for VexTab which is a language for creating and editing musical scores. Vextab itself is an open-source javascript project and is still in a pre-alpha stage. The VexTab language itself compiles to VexFlow which provides the underlying API.

VexTab renders a score by side-effect. You must create a canvas tag in your web page, assign it an id and initialise the module with this id in the configuration. You can then ask it to render some VexTab text - if it is valid then the score will appear in the canvas, otherwise an error will be returned.

The module also allows you to generate a VexTab score from parsed ABC text.

Examples

  • basic demonstrates production of a score from a basic VexTab script.
  • abc demonstrates production of a score from an ABC tune.
  • halogen the score placed in the canvas tag which has been dynamically generated by Halogen.
  • pux ditto for Pux (PureScript 0.11 - deprecated)

Note

VexTab has various issues which are not evident in VexFlow itself (the most egregious for our purposes being that notes are not beamed together properly in compound time). Also, it does not appear to be actively maintained at the moment - the last commit to the code base was in July 2016. On the other hand, VexFlow is actively maintained and relatively complete.

About

Display music scores. DEPRECATED in favout of purescript-abc-scores.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published