That forces the beams to be flat but if I try to put them in the middle for all 
of it, crazy stuff starts to happen. See example below.

Thanks,

Mike


\version "2.16.2"

\new PianoStaff {
  \autochange {
      \override Beam #'damping = #+inf.0
          \override Beam #'positions = #'(-4.5 . -4.5)
g''16 ais'16 e''16 ais''16 ais'16 fis''16 c'''16 a''16 ais''16 e''16 a''16 a'16 
e'16 g''16 fis''16 a'16 c'''16 e16 fis''16 a'16 c'16 fis'16 c'''16 d''16 ais16 
c''16 c'16 g16 a'16 g''16 c'16 d'16 c'''16 e16 d''16 c''16 g'16 e''16 c''16 
d''16 ais16 fis'16 ais'16 e''16 g16 ais''16 a''16 ais16 e16 d''16 a''16 c16 
ais'16 e''16 a''16 ais'16 e''16 g'16 c''16 d''16 a''16 a'16
  }
}

On Feb 7, 2013, at 4:23 AM, lilypond-user-requ...@gnu.org wrote:

> Message: 4
> Date: Thu, 07 Feb 2013 13:36:18 +1100
> From: Nick Payne <nick.pa...@internode.on.net>
> To: lilypond-user@gnu.org
> Subject: Re: force flat beam in piano staff that uses \autochange
> Message-ID: <51131322.7060...@internode.on.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 07/02/13 12:39, Michael Winter wrote:
>> This does not work when there are groups of notes beamed together that 
>> are either all in the upper staff or in the lower staff. I assume it 
>> would only work if you could guarantee that all notes grouped under a 
>> beam have notes in both the upper and lower staves.
> 
> Works here. The beams are flat regardless of which stave(s) the notes 
> occupy. If you mean that you only want the beams forced flat where the 
> notes occupy both staves, then decide which is more frequent (notes 
> grouped on one stave or both), and use \once\override for the others. 
> e.g. if kneed beams are more frequent:
> 
> \version "2.16.2"
> 
> nf = \once\override Beam #'damping = #1 % back to default
> 
> \new PianoStaff {
>   \autochange {
>     \relative c'' {
>       \override Beam #'damping = #+inf.0
>       b16 b b,, b
>       b b b'' b
>       \nf b cis d e
>       b b b,, b
>     }
>   }
> }
> 
> p.s. I tried using \once\revert Beam #'damping: no error was indicated 
> but the \once is ignored...

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to