The score editor is a simple dialog that allows you to insert score into a page using GNU Lilypond.
In order to be able to use this plugin you must have GNU Lilypond installed and the following command must be available on your system: "lilypond"
. You can control the look of the scores using the special template "_Score.ly"
.
Dependencies: This plugin requires GNU Lilypond to be installed. In specific the "lilypond" command should be available in the system path.
Refer the References section for information on GNU Lilypond syntax.
Following are a few examples generated by the plugin:
\relative c { \clef bass \key d \major \time 4/4 d4 a b fis g4 d g a }
<< \chords { c1:m7 f2:7 c2 } \relative c'' { g2 es8( c4) es8 f8 es d c~ c2 } \addlyrics { You are the sky and my rain, } >>
hornNotes = \relative c { \time 2/4 R2*3 r4 f8 a cis4 f e d } bassoonNotes = \relative c { \clef bass r4 d,8 f gis4 g b bes a8 e f4 g d gis f } << \new Staff \hornNotes \new Staff \bassoonNotes >>
<< \new ChordNames { \chordmode { c1 | f | g | c } } \new FretBoards { \chordmode { c1 | f | g | c } } \new Voice \with { \consists "Pitch_squash_engraver" } { \relative c'' { \improvisationOn c4 c8 c c4 c8 c f4 f8 f f4 f8 f g4 g8 g g4 g8 g c4 c8 c c4 c8 c } } \new Voice = "melody" { \relative c'' { c2 e4 e4 f2. r4 g2. a4 e4 c2. } } \new Lyrics { \lyricsto "melody" { This is my song. I like to sing. } } >>
The Score plugin's template has following three variables to customize your GNU Lilypond document, used for generating the score images:
Feel free to tailor the template file for your needs.
Syntax of GNU Lilypond could change with new releases, and these changes need not be backward compatible. For this reason, the version of GNU Lilypond when the score was created is inserted into the score text by the plugin.
When a different version of GNU Lilypond is installed, the plugin would use convert-ly
(packaged with GNU Lilypond) to convert the score file to be compatible with installed version before rendering the score.
score.ly | 111b | |
score.png | 4.92kb | |
score001.ly | 187b | |
score001.png | 9.07kb | |
score002.ly | 236b | |
score002.png | 9.90kb | |
score003.ly | 553b | |
score003.png | 14.2kb |