purcell implements a relational model of music engraving, using SQL queries to insert, update, delete and select elements of a musical score.
- python 2.7.0 or higher
- sqlalchemy 1.0 (development version - http://www.sqlalchemy.org)
- sqlite 3.8.4 or higher (http://www.sqlite.org)
From the python directory, run output_to_sql.py. The SQL of the program will be in build/raw_sql.sql
First, if you're going to make a websocket test, do everything above to make the pure SQL. Then
- cmake 2.8 or higher
- A garden-variety C compiler
- libwebsockets 1.3 or higher (http://libwebsockets.org/)
- jansson 4.6.0 or higher (newer the better: http://www.digip.org/jansson/)
Then, from the build directory, do:
cmake ../websocket/
make
And an application called simple_server will be built in the cmake
directory.
Run this application and a server will serve until you kill it. While it's running, open the page at html/index.html in a modern browser. Click on note names to make them appear. Open it several times to edit the score from several windows.