Re: How to extract the current time signature

2019-02-08 Thread David Kastrup
Urs Liska writes: > [Reviving a pretty ancient thread] >> That works great! Thanks so much for your help. Perhaps I should have >> mentioned it in the original post, but I'd like to be able to use the values >> in time-sig-frac to automatically make a MultiMeasureRest with the duration >> of the

Re: How to extract the current time signature

2019-02-08 Thread David Kastrup
Urs Liska writes: > [Reviving a pretty ancient thread] > > Hi Abraham and Harm (and others), > > Am 22.01.15 um 14:17 schrieb tisimst: >> Harm, >> >> >> Thomas Morley-2 wrote >>> Maybe: >>> >>> \version "2.19.15" >>> >>> printTimeSignatureFraction = >>> \applyContext #(lambda (ctx) >>>(let* (

Re: How to extract the current time signature

2019-02-08 Thread Urs Liska
[Reviving a pretty ancient thread] Hi Abraham and Harm (and others), Am 22.01.15 um 14:17 schrieb tisimst: Harm, Thomas Morley-2 wrote Maybe: \version "2.19.15" printTimeSignatureFraction = \applyContext #(lambda (ctx) (let* ((context (ly:context-property-where-defined ctx '

Re: How to extract the current time signature

2015-01-22 Thread tisimst
Harm, Thomas Morley-2 wrote > Maybe: > > \version "2.19.15" > > printTimeSignatureFraction = > \applyContext #(lambda (ctx) > (let* ((context >(ly:context-property-where-defined ctx 'timeSignatureFraction)) > (time-sig-frac >(ly:context-property context 'timeS

Re: How to extract the current time signature

2015-01-21 Thread Thomas Morley
2015-01-22 2:09 GMT+01:00 tisimst : > I'd like to extract the current numerator and denominator of the time > signature at any point in time. How can I do this in scheme? A robust > solution (i.e., one that can handle compound time signatures) is always > preferred, but I can settle for "normal" ti