David Kastrup wrote > TaoCG < > tao_lilyponduser@
> > writes: > >> David Kastrup wrote >>> TaoCG < >> >>> tao_lilyponduser@ >> >>> > writes: >>> >>>> This snippet would be really helpful for me: >>>> http://lsr.dsi.unimi.it/LSR/Item?id=445 >>>> >>>> But in 2.16.0 it only works on single notes if they are in a chord >>>> construct >>>> like >> >> Thanks! >> I created for myself a function to make simply octaves: >> oct = #(define-music-function (parser location mus) (ly:music?) #{ >> \makeDuped c c' $mus #}) >> >> If I use this in my music I get a warning every time like this: >> >> C:/Users/Tao/Dropbox/Lily Projects/sf_06_canzoni_3_klavier.ly:226:54: >> Warnung: Keine rhythmische Gruppe zu beenden >> s1*0^\markup { "F." \italic "non legato" } \oct { >> \times 2/3 { >> f,,16\ppp >> g es } f16. f32 r as16 g32 f g es16 } | >> >> This seems to be caused by the tuplet. The output looks good though. > > You get the same message for > > { \time 2/4 > \new Voice << \times 2/3 { c c c } \times 2/3 { c' c' c' } >> > } > > so it would seem that this is a problem not specifically caused by > \makeDuped. > > -- > David Kastrup > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user I see, thanks for the clarification. Another thing I noticed is that the function also duplicates textscripts attached to notes or rests. Is this intended behaviour? -- View this message in context: http://lilypond.1069038.n5.nabble.com/please-help-with-updating-lsr-snippet-tp134657p134862.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
