Dear Gilles,
thanks, it works! I would like to understand what is the difference
beetween

> \new Staff \new Voice \A
>
 and

> \new Staff \A
>
Could You be so kind and give me a hint?
Thanks, Stefan


Am Sa., 6. Nov. 2021 um 23:48 Uhr schrieb Gilles Thibault <gille...@free.fr
>:

> Le 2021-11-01 18:26, Stefan Thomas a écrit :
> > Dear community,
> > I would like to do with arranger.ly something similar to
> > Key = { \key f \major   }
> > music =
> >  { \Key c'4 d' e' f'2.}
> > artiA = { s2.( s) }
> > music =  { \context Voice << {\music}  {\artiA } >> }
> > I tried in in the following way, without success, unfortunately:
> > \version "2.22.1"
> > \include"arranger.ly"
> > global = {
> >   \time 3/4 \tempo "Andante"
> >  s2.*4
> >   }
> >
> > Key = { \key f \major   }
> > music =
> >  { \Key c'4 d' e' f'2.}
> > artiA = { s2.( s) }
> > instruments = #'(A B)
> > #(init instruments)
> > #(begin
> >     (rm 'A 1 (sim music artiA) )
> >
> >   )
> >
> > \score {
> >   << \new Devnull \global
> >   \new GrandStaff <<
> >       \new Staff \A
> >       \new Staff \B
> >                   >>
> >   >>
> > }
> > Does someone have an idea how to do it?
> > Thanks,
> > Stefan
>
>
> Sorry to answer so late.
>
> Probably
>    \new Staff \new Voice \A
> instead of \new Staff \A
>
>
> --
> Gilles
>

Reply via email to