forked from rism-digital/verovio.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverview.xhtml
61 lines (52 loc) · 2.6 KB
/
overview.xhtml
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
57
58
59
60
61
---
layout: verovio
verovio-light: true
title: Verovio Overview
active: how
how-active: how-overview
---
<div class="row">
<div class="col-md-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="panel panel-default">
{% include how-sidebar.html %}
</div>
</div>
<div class="col-md-9">
<div class="panel-body">
<h3>Overview</h3>
<p>Verovio is a C++ codebase that can be compiled and wrapped into different programming languages and integrated into various environments.</p>
<h4>Workflow</h4>
<p>
The <a href="command-line.xhtml">Command-line interface</a> or the <a href="python.xhtml">Python toolkit</a> can be used in scripting environments or server side. Typical use cases would be :
</p>
<ul>
<li>generate SVG and MIDI from MEI documents or other supported formats,</li>
<li>generate MEI documents from other supported formats (e.g., convert files).</li>
</ul>
<p>
Resulting SVG or MEI documents can then be embedded in a HTML page or used as such.
</p>
<img src="{{ site.baseurl }}/images/overview_server.png" class="img-responsive"/>
<br/>
<p>
The <a href="javascript.xhtml">JavaScript toolkit</a> makes it possible to generate SVG and MIDI directly in the browser. It is easy to set up and platform independent. Interaction with the user can then be handled with basic JavaScript or CSS. <a href="tutorial.xhtml?id=topic02">An example of how to handle events</a> is given in the tutorial. It is also possible to process the MEI via XSLT in the browser before loading it into Verovio.
</p>
<img src="{{ site.baseurl }}/images/overview_client.png" class="img-responsive"/>
<br/>
<p>
Both approaches can be combined: one may choose to process the MEI and to generate the SVG server side for better performance, and then handle interactions client side with JavaScript and CSS.</p>
<img src="{{ site.baseurl }}/images/overview_hybrid.png" class="img-responsive"/>
<br/>
<h5>Font limitation</h5>
<p>
Firefox on Linux (Ubuntu), uses "DejaVu Serif" as default font, which can cause some text layout problems when displaying the SVG files generated with Verovio.
</p>
</div>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
$( document ).ready(function() {
});
//]]>
</script>