[Top][All Lists]

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

Semantics change, Was: syntax change?

From: Mats Bengtsson
Subject: Semantics change, Was: syntax change?
Date: Tue, 17 Feb 2004 11:01:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

It clearly looks like a bug, so why didn't you send it to bug-lilypond
(as you notice, I include a copy to that list).
It's a long time since we discussed the use of the mailing lists, but
if I recall correctly, the idea of the lilypond-development list was to
use it to discuss the development versions and use lilypond-user mainly
for issues on the stable versions and general questions.
Finally, it's rather a change in the semantics (what happens) than
in the syntax (how it's described).

A few minor comments on you example:
- Why not exploit the fact that in the << voice1 \\ voice2 >> construct,
  voice1 will automatically get \stemUp and voice2 will get stemDown?
- If you use \once \override ..., you won't need the \unv macro,
  at least not in this particular example.
- In the upper voice, you can replace the invisible notes with spacer
  notes 's', to save some typing.
However, none of these details affect the bug you found.


David Bobroff wrote:
In a slightly earlier version the following snippet produced what I
wanted.  That is, six eighth-note triplets; three pointing up and three
pointing down and intermeshed like this:

  |  |  |
  *  *  *
*  *  *
|  |  |
With slurs/ties conneting adjacent note heads.

Now, in version 2.1.23 the noteheads on the up stems are invisible.  Is
this due to a change in the way contexts are handled, or is this a bug? This version was compiled from CVS ChangLog 1.718.



\version "2.1.23"

inv = { \override NoteHead   #'transparent  = ##t       
        \override Rest   #'transparent = ##t
        \override Stem   #'transparent = ##t
\override Dots #'transparent = ##t }

unv = { \revert NoteHead #'transparent
        \revert Rest #'transparent
        \revert Stem #'transparent
        \revert Dots #'transparent

    \notes \relative c'{
\override Staff.TupletBracket #'transparent = ##t \set tupletSpannerDuration = #(ly:make-moment 1 4)
        r2 \times 2/3 {
                << {\stemDown e8-[-( \inv e-) \unv e-( \inv e-) \unv e-(-] \inv
e-)} \\ {\stemUp s8 e-[ \inv e \unv e \inv e \unv e-]}>>


Lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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