Am 11.01.2017 um 14:00 schrieb Thomas Weber: > Dear all, > > I wonder how I can create a duration that is so to say exactly one time > signature denominator long (e.g. an eigth in 6/8, a quarter in 4/4 > etc.). I thought something like this would work:
You can get the duration from the context property timeSignatureFraction or baseMoment: %%%%% \version "2.19.53" { \time 12/8 \applyContext #(lambda (context) (display (ly:context-property context 'baseMoment))) %'timeSignatureFraction))) } %%%%% I don’t know how you can make a music function that uses this and returns music. \applyContext #(lambda (context) (make-music …)) has no visible output. But maybe it’s a start. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user