Talk:Sing free

Latest comment: 1 year ago by Mjchael in topic Try out my Lilypond

Try out my Lilypond

edit
<score sound="1" raw="1">
\version "2.20.0"
\header {
  title = "Drei Chinesen mit dem Kontrabass"
  composer = "T+M: Volkslied"
  % poet = "anonym"
  arranger = "arr: ccbysa Mjchael"
}

myChords = \chordmode {
  \set Staff.midiInstrument = #"acoustic guitar (nylon)"
  \set chordChanges = ##t
  \set chordChanges = ##t
  %% Simple chord accompaniment simulates a guitar but is easier to notate. 
  g,4 g g, g 
  a,:m a:m a,:m a:m
  d,:7 d:7 d,:7 d:7
  g, g g, g 
  g,:7 g:7 g,:7 g,:7
  c, c c, c
  d,:7 d:7 d,:7 d:7
  g, g g, g
}

myMelody = \relative c' {
  \clef "treble"
  \time 4/4
  \tempo 4 = 120
  \key g\major
  \set Staff.midiInstrument = #"trombone"
   g'4. g8 g g fis g a4 a a2
   a8 a a a a a g a b4 b8 b b4 r8
   g d' d d d d4 b8 g e'4 e e2
   d4. e8 d c b a g4 g g2
   \bar "|."
}

myLyrics = \lyricmode {
  \set stanza = "1."
	Drei Chi -- ne -- sen mit dem Kon -- tra -- bass sa -- ßen auf der Stra -- ße und 
	er -- zähl -- ten sich was. Da kam die Po -- li -- zei: Ja, was ist denn das?
	Drei Chi -- ne -- sen mit dem Kon -- tra -- bass. 
}

\score {
  <<
    \new ChordNames { \myChords }
    \new Voice = "Song" { \myMelody }
    \new Lyrics \lyricsto "Song" { \myLyrics }
  >>
  \midi { }
  \layout { }
}

%% suppresses the DinA4 format in raw="1" mode.
\paper {
  indent=0\mm
  %% DinA4 = 210mm - 10mm  border  - 20mm hole border = 180mm
  line-width=180\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  % bookTitleMarkup=##f
  scoreTitleMarkup=##f
}

%% = comment
% = Switch to turn on and off
%% = everything that begins with "my" are freely selectable variables. I use them for templates.

</score>
produce
 

See de:b:Kategorie:Seiten, die Score verwenden Letter "L" = Liederbuch = Songbook. Not every songs are made in an optimised Lilypond-code, but maby you'll find some usfull stuff. Greetings from the German Wikibooks -- Mjchael (discusscontribs) 01:03, 8 March 2023 (UTC)Reply

Return to "Sing free" page.