> > How can I get a chord from a variable?
> 
> v = \chordmode { c }
The task is not to put a chord INTO a variable, but
to get it FROM a variable. \chordmode's argument
should be a variable (as in my example), and
\chordmode should generate its output, a chord,
from this variable.

> Probably because
> 
> v = { c }
> 
> is the same as
> 
> v = \notemode { c }
Ok, that sounds reasonable. I tested that with:
\chordmode { \notemode { c } }
which gives the same result as 
v = { c }
\chordmode { \v }

> > Why is this result one octave deeper?
> 
> That's the correct pitch for such a note unless it's in a \relative
> block with a different octave for the start pitch.
Then I must ask the other way:
Why is the c in the chord one octave higher?
I.e., why is the c in \chordmode { c } interpreted as c'?

> unless you force a mode change when defining the variable.
Is there such a thing as forcing a mode change when READING the variable?
Or is there another function that builds a chord on a 
note stored in a variable?

Cheers,

Volker

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to