[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chordnames tweaking again
From: |
Henning Hraban Ramm |
Subject: |
Re: chordnames tweaking again |
Date: |
Thu, 22 Oct 2009 15:30:59 +0200 |
2009/10/21 Carl Sorensen <address@hidden>:
>> I don't understand enough Scheme to avoid "ees" - do you?
> I assume you want to get Es for E flat major and es for e flat minor.
> (I'm not sure about this -- I'm totally american in my chord experience).
Yes, exactly.
>> (cond
> ((and (= alteration FLAT) (= (car n-a) 2)) (make-simple-markup
> "s"))
>> ((= alteration FLAT) (make-simple-markup "es"))
> Note: code above is untested, but it illustrates the principle.
Thank you! I'll check it as soon as I get to my own computer...
>> (2) Different, probably easier problem:
>> I must display some alterations as follows:
>> f:dim => f-
>> f:aug => f5+
>> f:maj7 => f7+
>>
> Probably the easiest way to do these is to use a custom chord name
> exceptions list. See the snippet Chord name exceptions in Customizing chord
> names of section 2.7.2 of the docs.
>
> <http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-chords
> #Customizing-chord-names>
Of course I found this in the docs, but it looks like the exceptions
mechanism is only meant for your own additions, not for overriding
defaults?
I'll try.
Greetlings, Hraban