lilypond-user
[Top][All Lists]
Advanced

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

Re: How can I make a 7.9+.9- chord?


From: Jacques Menu Muzhic
Subject: Re: How can I make a 7.9+.9- chord?
Date: Thu, 28 Sep 2017 21:52:15 +0200

Hello gumblex,

As a dirty hack, you can fool LilyPond by using a minor tenth and forcing it to 
be displayed as an augmented ninth.

HTH!

JM


%%%%%%%%%%%%%%%%%%%

\version "2.19"

\header {
  title              = "Test Jazz"
}

% correct markup for "b" and "#" (use symbols from current font...)
chordFlat = \markup { \hspace #0.2 \fontsize #-1 \raise #0.3 \flat }
chordSharp = \markup { \hspace #0.1 \fontsize #-1 \raise #0.3 \sharp }


%\include "JazzChordsExceptions.ily"
myJazzChords =
{
  <c e g bes des' ees'>-\markup { \super { "7/" \chordFlat "9/" \chordSharp "9" 
} }
}

jazzChordsExceptions =
#(append (sequential-music-to-chord-exceptions myJazzChords #t))

P_POne_HARMONY_Staff_HARMONY_Voice = \chordmode {

  \set chordNameSeparator = \markup { "/" }
  \set chordNameExceptions = #jazzChordsExceptions

  \time 4/4

  dis1:7.9-.10- | %1

  \bar "|."
}

P_POne_Staff_One_Voice_One = \relative {
  \time 4/4
  % \clef "treble"
  \key f \major

  dis'1

  \bar "|."
}


\score {
  <<

    \context ChordNames = "P_POne_HARMONY_Staff_HARMONY_Voice"
    \P_POne_HARMONY_Staff_HARMONY_Voice

    \new Staff = "P_POne_Staff_One"
    \with { instrumentName = "Theme in dis"}
    <<
      \context Voice = "P_POne_Staff_One_Voice_One" <<
        \clef "treble"
        \P_POne_Staff_One_Voice_One
      >>
    >>
  >>

  \layout {
  }

}

%%%%%%%%%%%%%%%%%%%


> Le 28 sept. 2017 à 21:34, Marc Hohl <address@hidden> a écrit :
> 
> Am 28.09.2017 um 18:31 schrieb gumblex:
>> Dear list,
>> I would like to write a "dis:7.9+.9-" chord in \chordmode. However, both
>> in ChordNames lines and in scores, it appears to be a "dis:7.9-" chord.
>> If I write "dis:7.9-.9+", it appears to be a "dis:7.9+" chord.
> 
> This is a current restriction of LilyPond's chord handling abilities.
> You cannot use two alterations of the same interval.
> 
> Marc
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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