lilypond-user
[Top][All Lists]
Advanced

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

Re: Lower-case base note chord notation


From: Jakob Pedersen
Subject: Re: Lower-case base note chord notation
Date: Mon, 8 May 2023 10:22:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Betterbird/102.10.1

Thank you very much!

This works for the lower-case letters! I'm seeing D/f♯ etc.

I should probably have mentioned that I'm using German note names for input, making it impossible to use the bes notation. My apologies.

Here is a minimal example including your fix.
\version "2.24.1"
\language "deutsch"

\layout {
  \set ChordNames.chordNoteNamer = #(lambda (p _) (note-name->markup p #t))
}

<<
\chords { b2 es/b }
\relative c' { f4 f f es8 es }
>>
This produces H♭ and E♭/h♭ as chords, rather than B♭ and E♭/b♭.

Adding \semiGermanChords as a fix for the upper-case letters overrides the layout code, as I'm sure you are aware.

Can the code be adapted to use accidentals in both upper-case chord names, like E♭, and also use accidentals in lower-case bass notes, like E♭/f♯ etc.?

Best wishes,
Jakob

On 07.05.2023 00.28, Jean Abou Samra wrote:

Le samedi 06 mai 2023 à 23:46 +0200, Jakob Pedersen a écrit :

Greetings!

Is it possible to define a chord-naming scheme with upper-case chord names in semi-german, but bass notes similar to the default style but lower-case.

This would result in something like:

B♭ E♭/b♭ F/b♭ C/e D/f♯

This is the standard scheme used in Danish notation, btw.

I looked at the chord names alternatives snippet, but it's much too complicated for me to figure out, I'm afraid.

Try this:

\version "2.24.1"

\layout {
  \set ChordNames.chordNoteNamer = #(lambda (p _) (note-name->markup p #t))
}

\chords { bes ees/bes f/bes c/e d/fis }

HTH

Jean



reply via email to

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