Справка:Score/примеры
Перейти к навигации
Перейти к поиску
Примеры нот[править код]
Описание | Викитекст | Вывод |
---|---|---|
Простые ноты |
<score>\relative c' { f d f a d f e d cis a cis e a g f e }</score> |
|
Ноты со словами |
<score>\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }</score> |
|
Ноты с проигрывателем Ogg Vorbis |
<score vorbis="1">\relative c' { f d f a d f e d cis a cis e a g f e }</score> |
|
Ноты-викиссылка на midi-файл |
<score midi="1">\relative c' { f d f a d f e d cis a cis e a g f e }</score> |
|
Сложный пример: Gott erhalte Franz den Kayser (клавир) |
<score raw="1" vorbis="1"> \header { title = "Austria" meter = " 8 7. 8 7. D" composer = "F. Haydn (1732--1809)" mutopiacomposer = "HaydnFJ" date = "1797" style = "Hymn" source = "Book of Common Praise, 1908, number 280" copyright = "Public Domain" maintainer = "Peter Chubb" maintainerEmail = "[email protected]" lastupdated = "2005/Jan/09" } %{ Words to this tune include: -- Hark, Creation's Alleluia -- Glorious things of thee are spoken -- Zion's King shall reign Victorious etc. %} %\version "2.4.0" global = { \time 4/2 \key es \major \repeat volta 2 { s1 s1 | s1 s1 \bar "||" s1 s1 s1 s1 | } s1 s1 | s1 s1 \bar "||" s1 s1 | s1 s1 \bar "||" s1 s1 | s1 s1 \bar "||" s1 s1 | s1 s1 \bar "||" } soprano = \relative c' { es2. f4 g2 f | as g f4(d) es2 | c'2 bes as g | f g4(es) bes'1 | f2 g f4(d) bes2 | as' g f4(d) bes2 | bes'2 as g2. g4 | a2. a4 bes1 | es2. d4 c2 bes | c2. bes4 bes(as) g2 | f2 g4( as) bes( c) as( f) | es2 g4( f) es1 } alto = \relative c' { es2. es4 es2 d | f es bes bes | c4( d) es2 f es | f es d1 | bes2 bes bes bes | bes bes bes bes | bes c4 ( d) es2. es4 | es2. es4 d1 | es2. es4 es2 es | es2. es4 d2 es | d2 d es c | bes d bes1 } tenor = \relative c' { g2. as4 bes2 bes | d, es as g | as bes bes bes | c c f,1 | d2 es d d | f es d d | g f es2. es4 | f2. c'4 bes1 | bes2. bes4 as2 g | as2. bes4 bes 2 bes | bes bes bes4( es,) c'( as) | g2 bes4 ( as) g1 } bass=\relative c { es2. es4 es2 bes | bes bes bes es | as g d es | as, a bes1 | bes2 bes bes bes | d es bes bes | g as4( bes) c2. c4 | f2. f4 bes,1 | g'2. g4 as2 es | as2. g4 f2 es | bes as g as | bes bes es1 } guitar = \chordmode { es2 es es bes | bes:7 es/+bes bes:7 es | as es bes:7 es | f:m a:dim bes bes | bes es/+bes bes bes | bes:7/+d es bes bes | g:m f:m c:m c:m | f:7 f:7 bes bes | es es as es | as es bes4 bes:7 es2 | bes bes:7/+as es/+g f:m/+as | es bes es es } \score { \transpose c' b \context ChoirStaff << \context ChordNames << \global \guitar >> \context Staff = "top" << \global \context Voice = "one" { \voiceOne \soprano } \context Voice = "two" { \voiceTwo \alto } >> \context Staff = "bottom" << \clef "F" \global \context Voice = "three" { \voiceOne \tenor } \context Voice = "four" { \voiceTwo \bass } >> >> \layout { indent = 0.0\mm \context { \ChordNames % ChordName \override #'word-space = #1 \override ChordName #'style = #'american chordChanges = ##t } } \midi { \tempo 2=80 } } </score> |
|
Нотация ABC — Гимн Великобритании (клавир) |
<score lang="ABC" vorbis="1"> X:58 T:God Save the Queen. WHG.057 R:air S:W.H.Giles MS,Bampton,Oxfordshire,1839p60 O:England H:donated by Mrs W.R.Kettlewell to VWML,Apr 1927. A:Bampton, Oxfordshire N:This "tune" is really just a bit of idle doodling. N:Bar 6 is G4 in the MS. After the bars given, are N:two bars |d2d2 d2|efgd. Z:PJHeadford - VMP 2009 M:2/4 L:1/8 Q:1/4=120 K:G G2G2 A>G|F3G A2|B2B2 c2|B3A G2|A2 {BcA}G2F2|G6{DEFG}|| e2e2 e2|{fgaf}e2d2 c2|d2d2 d2|d3c B2|c2 dcBA|]</score> |
Ошибка при получении данных по URL http://lilypond/cgi-bin/cgi.sh?size=a4: $2. Во время обработки HTTP-запроса обнаружена проблема: 502 Bad Gateway Ошибка при получении данных по URL http://lilypond/cgi-bin/cgi.sh?size=a4: -:1:2: error: syntax error, unexpected ':', expecting '.' or '=' X :58 -:3:1: error: syntax error, unexpected MULTI_MEASURE_REST, expecting '=' R:air -:4:13: error: syntax error, unexpected SYMBOL, expecting '=' S:W.H.Giles MS,Bampton,Oxfordshire,1839p60 -:9:2: error: syntax error, unexpected ':', expecting '=' N :Bar 6 is G4 in the MS. After the bars given, are -:9:32: error: syntax error, unexpected SYMBOL, expecting '=' N:Bar 6 is G4 in the MS. After the bars given, are -:11:2: error: syntax error, unexpected ':', expecting '=' Z :PJHeadford - VMP 2009 -:16:36: error: not a note name: BcA G2G2 A>G|F3G A2|B2B2 c2|B3A G2|A2 { BcA}G2F2|G6{DEFG}|| -:16:41: error: syntax error, unexpected UNSIGNED, expecting '.' or '=' G2G2 A>G|F3G A2|B2B2 c2|B3A G2|A2 {BcA}G 2F2|G6{DEFG}|| -:16:48: error: not a note name: DEFG G2G2 A>G|F3G A2|B2B2 c2|B3A G2|A2 {BcA}G2F2|G6{ DEFG}|| -:17:1: error: syntax error, unexpected NOTENAME_PITCH e2e2 e2|{fgaf}e2d2 c2|d2d2 d2|d3c B2|c2 dcBA|] -:17:10: error: not a note name: fgaf e2e2 e2|{ fgaf}e2d2 c2|d2d2 d2|d3c B2|c2 dcBA|] -:17:15: error: syntax error, unexpected NOTENAME_PITCH e2e2 e2|{fgaf} e2d2 c2|d2d2 d2|d3c B2|c2 dcBA|] fatal error: failed files: "-". Не удалось получить URL http://lilypond/cgi-bin/cgi.sh?size=a4 после 1 попытки. |