bug-lilypond
[Top][All Lists]
Advanced

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

Re: Problem with unfoldRepeats and tremolos


From: Mats Bengtsson
Subject: Re: Problem with unfoldRepeats and tremolos
Date: Wed, 04 Apr 2007 10:18:36 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

Now I see! There is a difference between
\unfoldRepeats {\repeat tremolo 4 c8 } % Works correctly
and
\unfoldRepeats {\repeat tremolo 4 { c8 } } % Gives 16th notes!!!

As long as we don't use \unfoldRepeats, both syntax forms provide the same
output.

In version 2.8 and earlier, we used to have warning message
"warning: expect 2 elements for chord tremolo, found 1"
but it seems that this warning was removed in the revision
http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=blobdiff;f=lily/chord-tremolo-engraver.cc;h=60800064c91ae4dd91b60b35827377fbbafc4694;hp=dd1c040946f78a315f2ddc8bd357770ee567221c;hb=7c578820eb536c7ff135c351932e418f5bda1c80;hpb=db735aad5ee3f02cb82f32d8b314f1bcb7ec91ff

Still, the function unfold-repeats in scm/music-functions.scm only checks if the
argument is a SequentialMusic or an EventChord, which is too simplistic if
the ordinary engraver doesn't distinguish between the two cases.

  /Mats


Han-Wen Nienhuys wrote:
2007/4/3, Mats Bengtsson <address@hidden>:
If you want a single note with tremolo lines, then you should
use the
c1:32 syntax
whereas \repeat tremolo should be used for tremolo chords,
i.e. for constructs of the form
\repeat "tremolo" 4 { c'8 d' }


no, not completely accurate. IIRC,

\repeat "tremolo" 4 <NOTE>

is also supposed to work.


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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