[Top][All Lists]

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

Re: 2.4.2: Conversion issue, and Midi output truncated

From: Mats Bengtsson
Subject: Re: 2.4.2: Conversion issue, and Midi output truncated
Date: Mon, 15 Nov 2004 18:56:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Why not take the slur-attachment-override.ly from the Tips and Tricks
document of version 2.2 (attached)?
This property doesn't exist in version 2.4 and there is no replacement
either as far as I know. However, the question is if convert-ly should
warn about every single property that has been removed or changed in a
way so that automatic conversion is impossible. I'm afraid that this
example is just one of many such properties.


Erik Sandberg wrote:

Can you please send in a complete (but preferably small) score that generates the bug #1?


On Sunday 14 November 2004 00.40, Andrew Johnson wrote:

I just built Lilypond 2.4.2 on my SuSE 9.0 system, and converted some
of my old music from version 2.2.1.

Bug #1: The conversion script didn't handle this override properly:

\override Slur #'attachment = #'(stem . stem)

The result was this error message from lilypond:

Interpreting music... warning: Can't find property type-check for
`attachment' (backend-type?).  Perhaps you made a typing error?
warning: Doing assignment anyway.

Bug #2: Then after commenting those override statements out, I was
still getting this warning from the midi generation:

Interpreting music... warning: FIXME: key change merge
warning: FIXME: key change merge

MIDI output to `YouHaveHeard.midi'...

If I play the resulting midi file the sound stops early, before
playing a note with an accidental that might have caused that message.
I can provide the source .ly file if anyone needs it.

I love Lilypond; thank-you to everyone who has contributed to it!

- Andrew

bug-lilypond 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
        WWW: http://www.s3.kth.se/~mabe
\version "2.5.0"

texidoc="@cindex Slur Attachment Override
In some cases, you may want to control the attachment points of a slur 
by hand. "

%% except that both slurs are stem <<-> stem.

fragment =  {
  \set autoBeaming = ##f
  \override Stem  #'direction = #1
  \override Slur  #'direction = #1
  d'32( f'4  d8..)
  \override Slur  #'attachment = #'(stem . stem)
  d,32( f'4  d8.)

\score {
        \relative c \fragment
        \layout { raggedright = ##t} 

reply via email to

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