[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \partial only on first measure?
From: |
Alberto Simões |
Subject: |
Re: \partial only on first measure? |
Date: |
Wed, 28 Sep 2011 14:36:42 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
Hello,
On 28/09/2011 08:02, Jan-Peter Voigt wrote:
Hello Alberto,
in lilypond you achieve less typing with defining music-funtions:
--snip--
partialInline = #(define-music-function (parser location nom den
mus)(integer? integer? ly:music?)
#{
\set Timing.measureLength = #(ly:make-moment $nom $den)
$mus
\unset Timing.measureLength
#})
\relative c' {
\time 4/4
\partial 4
\repeat volta 2 { c4 | e g a } \alternative {
{ b | c b a } { \partialInline #1 #4 b | a g f }
}
c8 d | c1 |
}
Hello, Jan-Peter
For this to work I need to write
\partialInline #1 #4 { b } ...
but that's OK.
My main problem is that the unset unsets completely, making my 2/4 music
4/4...
Any help on saving that variable value so I can set it back again?
Cheers
ambs
- Re: \partial only on first measure?, (continued)
- Re: \partial only on first measure?, Jan-Peter Voigt, 2011/09/28
- Re: \partial only on first measure?, David Kastrup, 2011/09/28
- Re: \partial only on first measure?, Neil Puttock, 2011/09/28
- Re: \partial only on first measure?, David Kastrup, 2011/09/28
- Re: \partial only on first measure?, Alberto Simões, 2011/09/28
- Re: \partial only on first measure?, Urs Liska, 2011/09/28
- Including Lilypond files (Was: \partial only on first measure?), Alberto Simões, 2011/09/28
- Re: Including Lilypond files (Was: \partial only on first measure?), Dmytro O. Redchuk, 2011/09/28
- Re: Including Lilypond files (Was: \partial only on first measure?), Alberto Simões, 2011/09/28
- Re: Including Lilypond files (Was: \partial only on first measure?), Dmytro O. Redchuk, 2011/09/28
- Re: \partial only on first measure?,
Alberto Simões <=
- Re: \partial only on first measure?, Henning Hraban Ramm, 2011/09/28