Jump to content

User:Rik G./sandbox

From Wikipedia, the free encyclopedia

Score test

[edit]

Liszt1

\relative c' { \set Staff.midiInstrument = #"string ensemble 2" \set Score.tempoHideNote = ##t \tempo "Allegro agitato assai." 2 = 100 \time 2/2 \key b \major r4 r8 dis8\ff^\markup { Tutti } ais'4^>_\markup { \italic disperato }( gis8-.) r8 | r4 r8 gis8 e'4->( dis8-.) r8 | r4 dis4^>~(\< \times 2/3 { dis8[ cis b] } \times 2/3 { a[ b cis)]\! } | f,2.^^_\markup { \italic rinf. }( e4) }


Liszt2

\relative c' { \set Staff.midiInstrument = #"trombone" \clef tenor \key g \major \time 3/4 d4\mp d4.(_\markup { \italic espressivo } e8 | d2 b4) | g4( a4 b4) | c2.( | b4) r4 r4 | }


Liszt3

[edit]

\new GrandStaff << 
  \new Staff
  << 
  \clef tenor \key g \major \time 3/4 \tempo "Andante religioso." \set Staff.midiInstrument = #"trombone"
  \relative c' 
  \new Voice  { \voiceOne
    d4^\markup { 1. Posaune cantabile. }\mp d4.(_\markup { \italic espressivo } e8 | d2 b4) | g4( a4 b4) | c2.( | b4) a\rest a\rest |
    d4 d4.( e8 | d2 cis4) | fis,4( ais4 b4 | c!2\>  b8.\> ais8) | cis2->(^\markup { \italic dim. } b8\!) a8\rest |
  }
  \new Voice { \voiceTwo 
    b4 b2 | d'2 r4 | g2\< g4 | g4\> e4 fis4 | g4\! s4 s4 |
    a4\< b2 | g2.\!\> | fis4\< fis4 fis4\! | g2. | s16 fis2~ fis8 s8 |
  }
  >>

  \new Staff
  << 
  \clef bass \key g \major \time 3/4 \set Staff.midiInstrument = #"trombone"
  \relative c' 
  \new Voice  { \voiceOne
    g4\mp( fis4 g4 | a2 d,4) | e2( d4 | d2. | d4) d4\rest d4\rest |
    fis4( fis4 g4 | e2.) | d4( e4 fis4 | e2.) | d2(^\markup { \italic dim. } d8) f\rest |
  }
  \new Voice { \voiceTwo 
    g,4( b,4) e,4( | fis,2 g,4) | c2\< b,4 | a,2.\> | g,4\! s4 s4 |
    fis,4 b,4 e,8(\< g,8 | ais,2.\!) | b,4( cis,4 d,4 | e,4 fis,2~ | fis,4\! b,,4) c,4\rest |
  }
  >>
>>


Strauss

 \new PianoStaff <<
  \new Staff \relative c {
    \clef bass \key bes \minor \time 4/4 \tempo "Lento" \set Staff.midiInstrument = #"trombone"
    <des bes>1-\pp^\markup { \italic "marcato" }
    \once \override Staff.TimeSignature #'stencil = ##f \time 33/32 % just to make the 16th note sound more consistent
    bes2~bes4.. <f' c>16*3/2
    \once \override Staff.TimeSignature #'stencil = ##f \time 4/4
    <bes ges des>1~q
    <d a f d>1-\p <bes, g d>2 <c a f ees> <des bes f des>1~q
  }
  \new Staff \relative c, {
    \clef bass \key bes \minor \time 4/4 \set Staff.midiInstrument = #"trombone"
    <f bes,>1-\pp
    \once \override Staff.TimeSignature #'stencil = ##f \time 33/32 % just to make the 16th note sound more consistent
    <ges ees>2~q4.. <f aes,>16*3/2
    \once \override Staff.TimeSignature #'stencil = ##f \time 4/4
    <ges ges,>1~q
    \ottava #-1 <d d,>1-\p g,2 f <bes bes,>1~q
  }
>>


Test1

\relative c' { f d f a d f e d cis a cis e a g f e }

Test2

\relative c' { f d f a d f e d cis a cis e a g f e }

Test3

\relative c' { g4~ g c2~ | c4~ c8 a~ a2 | }

Test4


global= {
  \time 4/4
  \key c \major
}

violinOne = \new Voice \relative c'' {
  \set Staff.instrumentName = #"Violin 1 "
  \set Staff.midiInstrument = #"violin"

  c2 d
  e1

  \bar "|."
}

violinTwo = \new Voice \relative c'' {
  \set Staff.instrumentName = #"Violin 2 "
  \set Staff.midiInstrument = #"violin"

  g2 f
  e1

  \bar "|."
}

viola = \new Voice \relative c' {
  \set Staff.instrumentName = #"Viola "
  \set Staff.midiInstrument = #"viola"
  \clef alto

  e2 d
  c1

  \bar "|."
}

cello = \new Voice \relative c' {
  \set Staff.instrumentName = #"Cello "
  \set Staff.midiInstrument = #"violoncello"
  \clef bass

  c2 b
  a1

  \bar "|."
}

\score {
  \new StaffGroup <<
    \new Staff << \global \violinOne >>
    \new Staff << \global \violinTwo >>
    \new Staff << \global \viola >>
    \new Staff << \global \cello >>
  >>
  \layout { }
  \midi { }
}