lilypond-user
[Top][All Lists]
Advanced

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

Re: [David Bobroff <address@hidden>] beam_control_fix_almost


From: Jan Nieuwenhuizen
Subject: Re: [David Bobroff <address@hidden>] beam_control_fix_almost
Date: Fri, 24 May 2002 13:00:19 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

Jan Nieuwenhuizen <address@hidden> writes:

>>\score{
>>    \context Staff \notes \relative c'' {
>>      { [c'8 c c c] }
>>      {
>>          \property Voice.Beam \set #'staff-position = #-5
>>          [c8 \clef bass e,, e e]
>>      }
>>    }
>>    \paper{linewidth = -1.0}
>>}
>
> The above fix didn't work.  It still left me with the preceding
> group changed as well as all the following ones.

Very strange.  It works for me.

> This almost fixes it:

> \score{
>  \notes{
>       \clef "bass"
>       \key d \minor
>
>       % 12
>       d16  d'16  cis'16
> d'16  a16  d'16  c'16  d'16  bes16  d'16 
>        g'16  d'16  a16  d'16  fis'16
> d'16  | \break
>       % 13
>       \context Staff \notes {
>       \property Voice.Beam
> \override #'staff-position = #-10 
>       [d16 \clef treble d''16  cis''16
> d''16]}  
>       \property Voice.Beam \revert #'staff-position
>       a'16  d''16
> c''16  d''16  
>       bes'16  d''16  g''16  d''16  a'16  d''16  fis''16  d''16
> \clef bass |
>       % 14
>       d16  d'16(  cis'16  )d'16  c'16  d'16  bes16  e'16  a16
>  f'16 
>        c'16  f'16  a16  f'16  f16  ees'16  | \break
> }}
>
> I say "almost" because the preceding group of four sixteenths are also
> affected.

Yes.  Strangely, if you add explicit beaming for the preceeding four
sixteenths, it should work.

>  The beam that needs to be adjusted is beat one of measure 13.
> As it stands now, beat 4 of measure 12 is also being adjusted.  This above
> is the offending fragment of the file.  The file was originally generated
> using 'midi2ly' and does not use '\relative'.

Lilypond 1.5's midi2ly uses \relative.

> A zipped PS file of this
> fragment is also attached and illustrates the problem. [RH7.1, Lily
> 1.4.7--yes, I'll upgrade soon ;-) ]

There is almost never need to send processed output.

> I kind of stumbled onto using '\override' and '\revert'.  Is this how they
> should be used?

Yes.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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