lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chord Symbols with inversions


From: Thomas Morley
Subject: Re: Chord Symbols with inversions
Date: Wed, 9 Jul 2014 18:06:30 +0200

2014-07-09 13:52 GMT+02:00 Richard Shann <address@hidden>:
> Hi list,
>
> With notation like
> \version "2.18.0"
> \chordmode {
>   c/g
> }
> I can get chord names with /G at the end to indicate a G added below the
> root of the chord.
> With the notation
>  \new ChordNames
>  {
>          <c' e' g'>1
>  }
>
> I can get the chord symbol C typeset, but is there any way to get the
> C/G symbol typeset via this syntax? Obviously, if I just add the low G
> it interprets it as a chord on the root G.
>
> Richard


How about:

\version "2.18.0"

bass =
#(define-music-function (parser location mus)(ly:music?)
  (if (music-is-of-type? mus 'note-event)
      (ly:music-set-property! mus 'bass #t)
      mus)
  mus)

\new ChordNames
 {
         <c' e' g' \bass g,>2
         <c' e' g' \bass e>2
         <c' e' g' \bass fis>2
 }

HTH,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]