lilypond-user
[Top][All Lists]
Advanced

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

Re: Multi-line chord modifiers


From: Flaming Hakama by Elaine
Subject: Re: Multi-line chord modifiers
Date: Fri, 27 Oct 2017 12:12:52 -0700


From: Jean Menezes da Rocha <address@hidden>
To: lilypond-user <address@hidden>
Subject: Multi-line chord modifiers
Hello,
I am looking for a way to print chord modifiers in separate lines. For example, I have the chord AMaj7(6)(9). What I want is to print the symbol "A", followed by vertically aligned:

Maj7
6
9

I can't find a property by which I can customize the chord alteration separator to be at least a line break. Can this be done?

Thanks in advance!
--
Jean Menezes da Rocha
Compositor
Professor
Doutorando em Música pela Universidade Federal da Bahia


Here is one way to do it.  You will likely want to tweak the layout of the symbols, but this is the basic idea.

You will need to add such a chord exception definition for each such "stacked" chord.  There is not currently a way to to this en masse.

\version "2.19.15"

myChordExceptions = {
    <c e g a b d'>1-\markup { \small "Maj" \raise #0.7 { \normalsize 7 } \raise #3 { \teeny \center-column { \lower #1.25 { " 6" } " 9" } } }
}
chExceptions = #(append (sequential-music-to-chord-exceptions myChordExceptions #t) ignatzekExceptions)

myChordSequence = \chordmode {
  \set chordChanges = ##t
  \set chordNameExceptions = #chExceptions
  c1:maj7.6.9
}

myMelody = \relative c' {
  e8 g a b d2
}

\score {
  \new StaffGroup <<
    \new ChordNames \myChordSequence
    \new Staff {
      \myMelody
    }
  >>
}



HTH,

David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 

reply via email to

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