lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: special variable for compound meters


From: David Kastrup
Subject: Re: special variable for compound meters
Date: Sun, 02 Sep 2012 13:07:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Stefan Thomas <address@hidden> writes:

> Dear community,
> in 2.14. I've been quite frequently using a special variable for
> compound meters. I would like to use it in the same way as before, but
> unfortunately it doesn't work in 2.16.
> How can I update it?
>
> %%%%%%%%% SNIP %%%%%%%%%%%%
> \version "2.16.0"
> aksak = #(define-music-function
> (parser layout zaehler nenner compound) (number? number? list?)
> #{
> $(set-time-signature zaehler nenner compound)
> #})
>
> \relative c' {
> \aksak #7 #8 #'(4 3)
> c8 d e f e d c
> }
> %%%%%%%%%% END %%%%%%%%

Anything wrong with

\time #'(4 3) 7/8

? Of course you can still use and define

aksak = #(define-music-function
(parser layout zaehler nenner compound) (number? number? list?)
#{
  \time #compound #(cons zaehler nenner)
#})

but it seems sort of pointless.  convert-ly, by the way, is able to
convert the direct call of set-time-signature but balks on your use of
variables.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]