[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re:How can I make a 7.9+.9- chord
From:       Flaming Hakama by Elaine <elaine () flaminghakama ! com>
Date:       2017-09-28 20:15:04
Message-ID: CACX-=8xpnGobPC0+np7BLoxC=jFxA75==Yd4HQJAZzMGFHyqrA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> 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


Here's one way to do it, if somewhat unsemantically, by treating the b9 as
a #8:


\version "2.19.15"

myChordNames = {
    <c e g bes cis' dis'>1-\markup { \raise #0.7 { \normalsize 7 } \raise
#3.9 { \tiny \center-column { \lower #1.25 { " b9" } " #9" } } }
}
chExceptions = #(append (sequential-music-to-chord-exceptions myChordNames
#t) ignatzekExceptions)


songChords = \chordmode {
    \set chordNameExceptions = #chExceptions
    dis:7.8+.9+
}
songMusic = \relative { R1 }

\score {
    \new StaffGroup <<
        \new ChordNames { \songChords }
        \new Staff { \songMusic }
    >>
}


HTH,

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

[Attachment #5 (text/html)]

<div dir="ltr"><br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Dear list,<br>
<br>
I would like to write a &quot;dis:7.9+.9-&quot; chord in \chordmode. However, \
both<br> in ChordNames lines and in scores, it appears to be a &quot;dis:7.9-&quot; \
chord.<br> If I write &quot;dis:7.9-.9+&quot;, it appears to be a \
&quot;dis:7.9+&quot; chord.<br> </blockquote>
<br>
This is a current restriction of LilyPond&#39;s chord handling abilities.<br>
You cannot use two alterations of the same interval.<br>
<br>
Marc</blockquote></div></div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Here&#39;s one way to do it, if somewhat unsemantically, by \
treating the b9 as a #8:<br></div><div class="gmail_extra"><br></div><div \
class="gmail_extra"><br></div><div class="gmail_extra">\version \
&quot;2.19.15&quot;<br><br>myChordNames = {<br>       &lt;c e g bes cis&#39; \
dis&#39;&gt;1-\markup { \raise #0.7 { \normalsize 7 } \raise #3.9 { \tiny \
\center-column { \lower #1.25 { &quot; b9&quot; } &quot; #9&quot; } } \
}<br>}<br>chExceptions = #(append (sequential-music-to-chord-exceptions myChordNames \
#t) ignatzekExceptions)<br><br><br>songChords = \chordmode {   <br>       \set \
chordNameExceptions = #chExceptions<br>       dis:7.8+.9+<br>}<br>songMusic = \
\relative { R1 }<br><br>\score { <br>       \new StaffGroup &lt;&lt;<br>              \
\new ChordNames { \songChords }<br>               \new Staff { \songMusic }<br>       \
&gt;&gt;<br>}</div><div class="gmail_extra"><br></div><div \
class="gmail_extra"><br></div><div class="gmail_extra">HTH,<br></div><div \
class="gmail_extra"><br><div><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div>David Elaine \
Alt<br></div><div>415 . 341 .4954                                                     \
&quot;<i>Confusion is highly underrated</i>&quot;<br></div><a \
href="mailto:elaine@flaminghakama.com" \
target="_blank">elaine@flaminghakama.com</a><br></div><font size="2" face="arial" \
color="black"><a href="http://self-immolation.info" \
target="_blank">self-immolation.info</a><br>

</font>skype: flaming_hakama<br><font size="2" face="arial" color="black">Producer ~ \
Composer ~ Instrumentalist<br></font>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-</div></div></div>
 </div></div>



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic