💾 Archived View for thrig.me › blog › 2023 › 05 › 16 › little-ditty.ly captured on 2024-07-09 at 01:00:37.

View Raw

More Information

⬅️ Previous capture (2023-07-22)

-=-=-=-=-=-=-

% LilyPond engraving system - https://www.lilypond.org/

\version "2.18.2"

\header {
  title       = "Little Ditty"
  composer    = "Jeremy Mates"
  subsubtitle = "2023-05-15"
  copyright   = \markup { \with-color #grey \teeny {
    \char ##x00A9
    "2023 Jeremy Mates - Creative Commons Attribution 3.0 United States License"
  } }
  tagline = #f
}

tempoandetc = {
  \tempo 4=116
  \key g \minor
  \time 2/4
}

sopa = \relative f' {
  \partial 4                                 g8 a

  bes8 f   d'4              a8 d c bes16 a   g8 a
  bes8 f-. d'4-.            a8 d c bes16 a   g8 a
  bes8 f-. d'~ d16 c32 bes  a8 d c bes16 a

  bes16 g f8~ f f'16( ees d c bes8) c( d ees d)
  g,8   a bes f8 d'4-. a8 d c bes8--
}

bassa = \relative f {
  \partial 4                                 r4

  g8    a  bes f d'4 a8 d c bes16 a
  g16 g a8 bes f d'4 a8 d c bes16 a
  g16 g a8 bes f d'4 a8 d

  g,8   a bes f d'4 a8 d c bes16 a
  bes16 g f8~ f f'16( ees d c bes8) c d a g8--
}

msop = {
  \tempoandetc 
  \set Staff.midiInstrument = #"acoustic grand"
  \sopa
}

mbass = {
  \tempoandetc 
  \set Staff.midiInstrument = #"electric grand"
  \bassa
}

themidi = {
  <<
    \set Score.midiChannelMapping = #'staff
    \new Staff = "soprano" \msop
    \new Staff = "bass" \mbass
  >>
}

\score {
  \themidi
  \midi { }
}

ssop = {
  \tempoandetc 
  \sopa
  \bar "|."
}

sbass = {
  \tempoandetc 
  \bassa
  \bar "|."
}

thescore = {
  \new StaffGroup <<
    \new Staff << \clef sop \ssop >>
    \new Staff << \clef bass \sbass >>
  >>
}

\score {
  \thescore
  \layout { }
}