Dear Xavier, Yes, I think the second snippet isn't far awy from what I would like to do. But I would like to get a code, that alows me to use the same syntax like before \aksak #'(timesignature ) #'(beatgroup ) ) and this I can't do with the code in this link.
2011/6/21 Xavier Scheuer <x.sche...@gmail.com> > On 21 June 2011 12:46, Stefan Thomas <kontrapunktste...@googlemail.com> > wrote: > > > > Dear community, > > in version 2.12.3 I used this code (I think written by Graham) for so > called > > aksak-meters like 7/8 (2+2+3) etc.: > > > > %%% example for aksak: > > \version "2.12.0" > > aksak = #(define-music-function > > (parser layout timesig compound) (list? list?) > > #{ > > % measure length + beaming > > \set Timing.timeSignatureFraction = #(cons (car $timesig) (cadr > > $timesig)) > > \set Timing.beatLength = #(ly:make-moment 1 (cadr $timesig) 0 1) > > \set Timing.beatGrouping = $compound > > \set Timing.measureLength = #(ly:make-moment (car $timesig) (cadr > > $timesig) 0 1) > > #}) > > > > \new Staff \relative { \aksak #'(5 16 ) #'(3 2 ) c16 d e f d } > > % end of example > > Unfortunately this code doesn't work in version 2.14.1. > > I tried to update it, with convert.ly and by hand, but without sucess. > > Could someone give me a hint? > > There is a snippet called "Compound time signatures" in > NR 1.2.3 Displaying rhythms > Time signature > > http://lilypond.org/doc/v2.14/Documentation/notation/displaying-rhythms#time-signature > > or "Complex compound time signatures" in the LSR: > http://lsr.dsi.unimi.it/LSR/Item?id=743 > > Does one of them correspond to your "aksak-meter"? > > Cheers, > Xavier > > -- > Xavier Scheuer <x.sche...@gmail.com> >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user