Difference between revisions of "Lilypond test"
m |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <div class="score"> | |
+ | |||
+ | |||
+ | <score raw vorbis> | ||
+ | #(set! paper-alist (cons '("my size" . (cons (* 10 in) (* 2 in))) paper-alist)) | ||
+ | |||
+ | \paper { | ||
+ | #(set-paper-size "my size") | ||
+ | |||
+ | } | ||
+ | |||
+ | \score { | ||
+ | \new Staff << | ||
+ | \new Voice \relative c''' { | ||
+ | \set midiInstrument = #"flute" | ||
+ | \voiceOne | ||
+ | \key g \major | ||
+ | \time 2/2 | ||
+ | r2 g-"Flute" ~ | ||
+ | g fis ~ | ||
+ | fis4 g8 fis e2 ~ | ||
+ | e4 d8 cis d2 | ||
+ | } | ||
+ | \new Voice \relative c'' { | ||
+ | \set midiInstrument = #"clarinet" | ||
+ | \voiceTwo | ||
+ | b1-"Clarinet" | ||
+ | a2. b8 a | ||
+ | g2. fis8 e | ||
+ | fis2 r | ||
+ | } | ||
+ | >> | ||
+ | \layout { } | ||
+ | \midi { | ||
+ | \context { | ||
+ | \Staff | ||
+ | \remove "Staff_performer" | ||
+ | } | ||
+ | \context { | ||
+ | \Voice | ||
+ | \consists "Staff_performer" | ||
+ | } | ||
+ | \context { | ||
+ | \Score | ||
+ | tempoWholesPerMinute = #(ly:make-moment 72 2) | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </score> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | |||
Line 8: | Line 62: | ||
\relative c' { e8 c e c f e d4 g,8 g g a16 b c8 c c4 e8 c e c f e d4 g,8 g g a16 b c8 c c4 } | \relative c' { e8 c e c f e d4 g,8 g g a16 b c8 c c4 e8 c e c f e d4 g,8 g g a16 b c8 c c4 } | ||
</score> | </score> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<score raw> | <score raw> | ||
+ | \paper { | ||
+ | paper-height = 90\mm | ||
+ | } | ||
+ | |||
\include "arabic.ly" | \include "arabic.ly" | ||
\relative do' { | \relative do' { | ||
Line 17: | Line 82: | ||
} | } | ||
</score> | </score> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<score raw vorbis> | <score raw vorbis> | ||
+ | #(set! paper-alist (cons '("my size" . (cons (* 15 in) (* 3 in))) paper-alist)) | ||
+ | |||
+ | \paper { | ||
+ | #(set-paper-size "my size") | ||
+ | } | ||
+ | |||
\include "gregorian.ly" | \include "gregorian.ly" | ||
\score { | \score { | ||
Line 45: | Line 124: | ||
</div> | </div> | ||
− | {{#css: | + | {{#css: |
− | audio#mwe_player_0 .kskin { width: 600px; } | + | div.score { align: left; width: 90%; } |
+ | <!-- img { width: 100%; height: 100%; } --> | ||
+ | audio#mwe_player_0 .kskin { width: 600px; } | ||
div.mediaContainer { padding-top: 31px; padding-left: 100px; } | div.mediaContainer { padding-top: 31px; padding-left: 100px; } | ||
}} | }} |
Latest revision as of 01:12, 10 June 2019