Am 22.04.2015 um 04:29 schrieb SonusProj .:
Simon, I have several questions now that I have had a chance to review you code.

1) I wish to show the key for each staff line in lieu of showing all the accidentals relative to c. Is this possible with your current strategy?
Sorry for overlooking that. Yes, just add \key c \major in the music variables. See attachment.
2) If I wish to change the octave of either bass or treble clef on any particular staff line is this possible?
Only if you write out the score blocks.

HTH, Simon
\version "2.18.2"

\paper {
  ragged-last = ##f
  #(set-paper-size "a5")
}


\header {
  title = "Root Position 7th Chords"
  composer = "Lance James"
}


harmonies = \chordmode {
  c1:maj7 d:m7 e:m7 f:maj7 g:7 a:m7 b:m7.5-
}


I = \markup \pad-around #.2 \concat {
  \italic { I \lower #.5 \super 7}
}

ii = \markup \concat {
  \italic { ii \lower #.5 \pad-around #.2 \super 7 }
}

iii = \markup \concat {
  \italic { iii \lower #.5 \pad-around #.2 \super 7 }
}

IV = \markup \concat {
  \italic { IV \lower #.5 \pad-around #.2 \super 7 }
}

V = \markup \concat {
  \italic { V \lower #.5 \pad-around #.2 \super 7 }
}

vi = \markup \concat {
  \italic { vi \lower #.5 \pad-around #.2 \super 7 }
}

vii = \markup \concat {
  \italic { vii \lower #.5 \pad-around #.2 \combine \super\draw-line #'(.7 . .9)\super o }
}

roman = {
  s1^\I s^\ii s^\iii s^\IV s^\V s^\vi s^\vii
}

treble = \relative {
  \key c \major
  <c' e g b>
  <d f a c>
  <e g b d>
  <f a c e>
  <g b d f>
  <a c e g>
  <b d f a>
}

bass = \relative {
  \key c \major
  \clef bass
  <c, e g b>
  <d f a c>
  <e g b d>
  <f a c e>
  <g b d f>
  <a c e g>
  <b d f a>
}


general = \new PianoStaff <<
  \new ChordNames {
    \set chordChanges = ##t
    \harmonies
  }
  \new Staff = "upper" << \roman \treble >>
  \new Staff = "lower" \bass
>>

\score { \general }
\score { \transpose c f \general }
\score { \transpose c bes \general }
\score { \transpose c es \general }
\score { \transpose c as \general }
\score { \transpose c des \general }
\score { \transpose c ges \general }
\score { \transpose c ces \general }


\layout {
  \context {
    \Voice
    \override TextScript.padding = 3.3
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to