Skip to content

gburlet/Neon.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neon.js

Neume Editor ONline.

Neon.js is a browser-based music notation editor written in JavaScript. The editor can be used to manipulate digitally encoded early musical scores in square-note notation.

You can see a demo of Neon.js in action here.

Requirements

  • tornado: pip install tornado
  • python bindings of the solesmesbuild branch of libmei available here.
    • Note: this requires the boost-python library. Installation instruction can be found here.

Setup

  1. First, create a copy of the configuration file:
cp conf.py{.dist,}
  1. Edit the configuration file conf.py and set MEI_DIRECTORY and MEI_DIRECTORY_BACKUP somewhere writable.

  2. Now compile the Neon.js code. Yes, compiling JavaScript. Wierd, right?

cd build  
./build.sh {liber, salzinnes}  
ln -s neon.min.js ../src/neon.min.js  

This script automatically downloads the latest google closure compiler, builds the drawing code for the liber or salzinnes manuscript, and places the minified JavaScript file into the proper location.

  1. Now, start up the server:
python server.py [port]

If no port is provided, the default port is 8080.

Visit the Neon.js web application at http://localhost:[port].

Development

Documentation is provided by jsdoc-toolkit

Build docs with (java required):
make doc

Tests

  1. Client testing
    We're using Qunit for unit testing. Load test/neontest.html in a browser to run them.

  2. Server testing
    To run server tests, install python-nose and run nosetests

License

Neon.js is distributed under the MIT license.

About

JavaScript Music Notation Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.3%
  • Python 8.5%
  • Shell 0.2%