forked from grame-cncm/guidoeditorweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
56 lines (35 loc) · 1.54 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html><html><xmp>
# Guido Online Editor
The [Guido Online Editor](https://guidoeditor.grame.fr) is based on the [Guido library](https://guidolib.grame.fr/), is a portable library and API for the graphical rendering of musical scores.
## Features
The Guido online editor generates various music representations from a textual music description in Guido Music Notation [GMN] format. It supports:
- Symbolic music score generation from Guido Music Notation language
- Piano roll representations
- Simplified proportional representations
## Output
Each of the graphic representation can be saved as:
- a standalone SVG file (embedding the required Guido font)
- a standalone HTML file
## Building
Firstly ensure that you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed.
Clone a copy of the repo then change to the directory:
~~~~~~
git clone https://github.com/grame-cncm/guidoeditorweb.git
cd guidoeditorweb
~~~~~~
Install dev dependencies:
~~~~~~
npm install
~~~~~~
To build everything (actually `dist/example.json`):
~~~~~~
npm run build
~~~~~~
To test, put the directory in a local server, then open page: `index-dev.html`
Note that you can disable CORS security on Firefox and test without server: go to the `about:config` page and set `security.fileuri.strict_origin_policy` to false.
When ready to distribute run
~~~~~~
npm run dist
~~~~~~
On output, the `dist` folder contains everything you need to run the Guido editor.
</xmp> <script src=http://strapdownjs.com/v/0.2/strapdown.js></script> </html>