Re: force flat beam in piano staff that uses \autochange

2013-02-08 Thread Nick Payne

On 08/02/13 18:17, Michael Winter wrote:
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.


If you want to specify explicit positions for the beam ends, the 
positions are relative to the stave that the first note in the beam 
occurs. So a beam with the first note in the treble clef is going to 
need -ve values and a beam with the first note in the bass clef +ve 
values if you want all beams to be between the two clefs...


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


Re: force flat beam in piano staff that uses \autochange

2013-02-07 Thread Michael Winter
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


force flat beam in piano staff that uses \autochange

2013-02-06 Thread Michael Winter
Dear All,

I have a piano staff that is using \autochange. The notes are just running 
16ths throughout. In a beamed group, sometimes the notes are all in the upper 
staff, sometimes they are all in the lower staff, and sometimes they are in 
both. What I really want to do is force the beam to be flat and centered 
between the two staves. Is this possible?

Many thanks in advance,

Mike

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


Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Nick Payne

On 07/02/13 07:57, Michael Winter wrote:

Dear All,

I have a piano staff that is using \autochange. The notes are just running 
16ths throughout. In a beamed group, sometimes the notes are all in the upper 
staff, sometimes they are all in the lower staff, and sometimes they are in 
both. What I really want to do is force the beam to be flat and centered 
between the two staves. Is this possible?


This will force all beams to be between
\version 2.16.2

\new PianoStaff {
  \autochange {
\relative c'' {
  \override Beam #'positions = #'(4.5 . 4.5)
  b16 b b,, b
}
  }
}

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


Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Nick Payne

On 07/02/13 07:57, Michael Winter wrote:

Dear All,

I have a piano staff that is using \autochange. The notes are just running 
16ths throughout. In a beamed group, sometimes the notes are all in the upper 
staff, sometimes they are all in the lower staff, and sometimes they are in 
both. What I really want to do is force the beam to be flat and centered 
between the two staves. Is this possible?


Sorry. Accidentally pressed send too soon on previous msg. Override the 
beam damping.


\version 2.16.2

\new PianoStaff {
  \autochange {
\relative c'' {
  \override Beam #'damping = #+inf.0
  b16 b b,, b
  b b b'' b
}
  }
}

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


Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Noeck

Am 06.02.2013 22:47, schrieb Nick Payne:
 \new PianoStaff {
   \autochange {
 \relative c'' {
   \override Beam #'positions = #'(4.5 . 4.5)
   b16 b b,, b
 }
   }
 }

Do you mean, #'(-4.5 . -4.5) ?

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


Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Michael Winter
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.

thanks,

Mike

On Feb 6, 2013, at 4:10 PM, lilypond-user-requ...@gnu.org wrote:

 
 Message: 2
 Date: Thu, 07 Feb 2013 08:58:22 +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: 5112d1fe.4090...@internode.on.net
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 On 07/02/13 07:57, Michael Winter wrote:
 Dear All,
 
 I have a piano staff that is using \autochange. The notes are just running 
 16ths throughout. In a beamed group, sometimes the notes are all in the 
 upper staff, sometimes they are all in the lower staff, and sometimes they 
 are in both. What I really want to do is force the beam to be flat and 
 centered between the two staves. Is this possible?
 
 Sorry. Accidentally pressed send too soon on previous msg. Override the 
 beam damping.
 
 \version 2.16.2
 
 \new PianoStaff {
   \autochange {
 \relative c'' {
   \override Beam #'damping = #+inf.0
   b16 b b,, b
   b b b'' b
 }
   }
 }
 
 
 
 --
 
 Message: 3
 Date: Wed, 06 Feb 2013 22:58:28 +0100
 From: Noeck noeck.marb...@gmx.de
 To: lilypond-user@gnu.org
 Subject: Re: force flat beam in piano staff that uses \autochange
 Message-ID: 5112d204.3080...@gmx.de
 Content-Type: text/plain; charset=UTF-8
 
 
 Am 06.02.2013 22:47, schrieb Nick Payne:
 \new PianoStaff {
  \autochange {
\relative c'' {
  \override Beam #'positions = #'(4.5 . 4.5)
  b16 b b,, b
}
  }
 }
 
 Do you mean, #'(-4.5 . -4.5) ?

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


Re: force flat beam in piano staff that uses \autochange

2013-02-06 Thread Nick Payne

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


force flat beam in piano staff that uses \autochange

2013-01-31 Thread Michael Winter
Dear All,

I have a piano staff that is using \autochange. The notes are just running 
16ths throughout. In a beamed group, sometimes the notes are all in the upper 
staff, sometimes they are all in the lower staff, and sometimes they are in 
both. What I really want to do is force the beam to be flat and centered 
between the two staves. Is this possible?

Many thanks in advance,

Mike




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