Re: arranger, context voice
Thanks, I'll check it out. Am Mi., 10. Nov. 2021 um 22:42 Uhr schrieb Gilles Thibault : > > > I would like to understand what is the difference > > beetween > > > >> \new Staff \new Voice \A > >> > > and > > > >> \new Staff \A > >> > > This is not related to arranger.ly : > > This snippet works : > > %%% > > \version "2.22.0" > > music = { c'1 c' c' c' } > > skips = { s1*2 s1*2^"Hello" } > > \new Staff << \skips \music >> > > %%% > > But if you replace the definition of \skips by > > skips = { s1*2( s1*2) } > > the snippet fails (no slurs). > > It fails also with > >skips = { s1*2 s1*2-> } > > At last, with > > skips = { s1*2 s1*2->^"Hello" } > > you'll get an error : >"script direction not yet known" > > -- > Gilles >
Re: arranger, context voice
I would like to understand what is the difference beetween \new Staff \new Voice \A and \new Staff \A This is not related to arranger.ly : This snippet works : %%% \version "2.22.0" music = { c'1 c' c' c' } skips = { s1*2 s1*2^"Hello" } \new Staff << \skips \music >> %%% But if you replace the definition of \skips by skips = { s1*2( s1*2) } the snippet fails (no slurs). It fails also with skips = { s1*2 s1*2-> } At last, with skips = { s1*2 s1*2->^"Hello" } you'll get an error : "script direction not yet known" -- Gilles
Re: arranger, context voice
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 : > 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 >
Re: arranger, context voice
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