Hi LilyPond experts,

this is a basic question that I have when I read this thread:
How are chords stored and translated internally?

>From using LP, I know I can write in chordmode and in musicmode and I
can get notes and chordnames:
\chordmode  -> \new Staff
\chordmode  -> \new ChordNames
{ }         -> \new Staff
{ }         -> \new ChordNames

But I wonder: Does it always go through the music espression?
(1) \chordmode { c }  -> (2)  { <c e g> }  -> (3) ChordNames C
It seems to be different as I can write:

\version "2.19.21"
music = { <b d' g'> \chordmode { g:/b } }
\new ChordNames \music  % different names
\new Staff \music       % same notes

The core of my question is: Can the translation chordmode -> ChordName
be defined independently of other translations. Must translations be
bijective?

Cheers,
Joram

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

Reply via email to