lilypond-user
[Top][All Lists]
Advanced

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

Re: minor chord names lowercase - es problem


From: Thomas Morley
Subject: Re: minor chord names lowercase - es problem
Date: Sun, 15 Dec 2013 13:26:25 +0100

2013/12/14 Henning Hraban Ramm <address@hidden>:
> Hi,
> someone of you wrote the following function for me some year before, that 
> allows me to set minor chords in lowercase instead of attaching „m“:
>
> #(define (conditional-string-downcase str condition)
>   (if condition
>       (string-downcase str)
>       str))
>
> #(define (pitch-alteration-semitones pitch)
>  (inexact->exact (round (* (ly:pitch-alteration pitch) 2))))

   ....

> My only problem with that is, that es major is now displayed as „Ees“ instead 
> of just „Es“.
> I guess I just need a (case within (= alteration FLAT), but I still don’t 
> speak Lisp (yet)...
>
>
> Greetlings, Hraban

Hi Hraban,

maybe the attached file may give you what you want.
It puts out german chordnames using
e, eis, es, eses
a, ais, ases
h, b, heses
You can choose upcase with "m" for minor-chords or downcase.
Additional bass is downcase.

Cheers,
  Harm

Attachment: germanChordNames.ly
Description: Text Data


reply via email to

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