Hello,
I try to find a way to get a notename as string, so that it can be
processed further. To be concrete, I want to build a scale task generator
that randomly selects a pitch and scale, then prints the scale as notes as
well as the tonic/root/finalis and the mode as lyrics (or other text). The
result should look like the file I attached, but it is important to insert
the pitch in the lyrics automatically.
I tried to get the text from a NoteNames context, but didn't come close to
what I need. Maybe someone out there has a better idea...
All the best!
\score {
{
\key #(ly:make-pitch 1 3 0) \dorian
<<
\transpose d f
{ d' e' f' g' a' b' c'' d'' }
\new NoteNames { } >>
} \addlyrics { "f dorian" _ }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user