Thus might do it yes.
Does even chords transform single notes into chords, does nothing to chords
and leaves untouched everything else? (Key changes, time markings changes,
all that stuff)

Thanks David!

L

On Wed, 24 Jul 2024, 21:01 David Kastrup, <d...@gnu.org> wrote:

> Luca Fascione <l.fasci...@gmail.com> writes:
>
> > Hi,
> > as some of you might remember, I mostly use lilypond to engrave music for
> > classical guitar. And I am after a fairly specific way to engrave the
> > fingering indications in particular.
> >
> > Cutting off a long story, one of the consequences of what I want is that
> I
> > have to enclose all notes in a chord <> pair, which is an annoying thing
> to
> > do: everything I need `a-2` I'm having to type `<a-2>`.
> >
> > So I was wondering, is there a way I can intercept the input presumably
> > during the early stages of parsing and process it so that all "single"
> > notes get turned into one-note chords?
>
> Of course that is also possible with a music transformation function.
> You can try something like
>
> toplevel-music-functions =
> #(cons eventChords toplevel-music-functions)
>
> which will then do this transformation on anything placed in a score.
>
> --
> David Kastrup
>

Reply via email to