RE: Problems with automatic beaming when autoBeamOff in 3/8 time

2007-12-28 Thread Trevor Daniels

Reinhold Kainhofer wrote on 28 December 2007 08:45
> 
> Am Donnerstag, 27. Dezember 2007 schrieb Trevor Daniels:
> > Hi Reinhold
> >
> > As the two types of bar have different 
> sub-beats there is
> > no way to do this automatically with just a 
> single setting,
> > AFAIK - every time the sub-beating changes the new
> > beatLength will have to be indicated - just as 
> if you were
> > changing the time signature.  You already know the 
> > overrides to do this:
> >
> > \set Score.beatLength = #(ly:make-moment 2 16)
> > \set Score.beatLength = #(ly:make-moment 3 16)
> >
> > The commands can be set as short-name 
> variables, and they
> > apply score-wide, so only need to be placed in 
> one staff,
> > like this:
> 
> Ouch, then I have a serious problem. I was not 
> completely honest about those 
> measures (or rather I was too lazy to use 
> multiple staves in the example), 
> but the first two measures of my example actually 
> appear in parallel in 
> Schubert's Stabat Mater D383, e.g. in "Nr.8 
> Arie", measures 11 or 55. I'm 
> attaching a scan of an 1897 Edition of that 
> piece, a 1996 edition uses the 
> exact same beaming.
>
Not a problem.  Just change the beatLength in the
Staff context instead, using

\set Staff.beatLength = #(ly:make-moment 2 16)
\set Staff.beatLength = #(ly:make-moment 3 16)

although the changes have then to be inserted 
in the music for each staff, which adds to the
work.
 
> Cheers,
> Reinhold
> -- 

Trevor D




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


Re: Problems with automatic beaming when autoBeamOff in 3/8 time

2007-12-28 Thread Reinhold Kainhofer
Am Donnerstag, 27. Dezember 2007 schrieb Trevor Daniels:
> Hi Reinhold
>
> As the two types of bar have different sub-beats there is
> no way to do this automatically with just a single setting,
> AFAIK - every time the sub-beating changes the new
> beatLength will have to be indicated - just as if you were
> changing the time signature.  You already know the 
> overrides to do this:
>
> \set Score.beatLength = #(ly:make-moment 2 16)
> \set Score.beatLength = #(ly:make-moment 3 16)
>
> The commands can be set as short-name variables, and they
> apply score-wide, so only need to be placed in one staff,
> like this:

Ouch, then I have a serious problem. I was not completely honest about those 
measures (or rather I was too lazy to use multiple staves in the example), 
but the first two measures of my example actually appear in parallel in 
Schubert's Stabat Mater D383, e.g. in "Nr.8 Arie", measures 11 or 55. I'm 
attaching a scan of an 1897 Edition of that piece, a 1996 edition uses the 
exact same beaming.

Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Problems with automatic beaming when autoBeamOff in 3/8 time

2007-12-27 Thread Trevor Daniels

Hi Reinhold

As the two types of bar have different sub-beats there is
no way to do this automatically with just a single setting,
AFAIK - every time the sub-beating changes the new
beatLength will have to be indicated - just as if you were
changing the time signature.  You already know the
overrides to do this:

\set Score.beatLength = #(ly:make-moment 2 16)
\set Score.beatLength = #(ly:make-moment 3 16)

The commands can be set as short-name variables, and they
apply score-wide, so only need to be placed in one staff,
like this:

Two =   \set Score.beatLength = #(ly:make-moment 2 16)
Three = \set Score.beatLength = #(ly:make-moment 3 16)

\relative c'' {
  \autoBeamOff
  \time 3/8
  \key g \major
  d8[ c16( b a g)] |
  \Three g8.[ fis16( e d)] |
  \Two d8[ c16( b a g)] |
  % Two measures later:
  b'16.([ c32) d16] g[( d b])
}

although personally I would have a separate timing variable
in parallel with the music to hold these changes and
anything
else to do with timing.

Trevor D

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> [EMAIL PROTECTED] Behalf Of
> Reinhold Kainhofer
> Sent: 27 December 2007 19:46
> To: LILYPOND Mailinglist
> Subject: Problems with automatic beaming when
> autoBeamOff in 3/8 time
>
>
> Hi,
> I have a score in 3/8 time with \autoBeamOff.
> Now, some measures have one
> eight and then four 16th (all connected by one
> beam), while others have a
> dotted eight and then three 16th (again, all
> connected by one beam).
>
> However, while in the first case all the 16th are
> connected by a second beam,
> in the other measure (with the dotted eight) the
> first 16th uses a second
> flag to the left, while the last two 16th are
> connected by a beam. What I
> want is that the three 16th are also connected by
> a second beam.
>
> Attached is an example of this behaviour. The
> second measure shows the
> problem, where the first 16th should be connected
> with the other two.
>
> I tried playing around with beatLength and
> subdivideBeams, but no setting
> seems to produce what I need... (Unfortunately,
> such measures appear so often
> that manually changing settings for each staff
> separatly is not an option).
> Basically, I want lilypond not to make any
> subdivisions on the beams and
> connect as many notes as possible.
>
> So, how can I force the sub-beaming when I set
> \autoBeamOff?
>
>
> Thanks,
> Reinhold
> --
> --
> 
> Reinhold Kainhofer, Vienna University of
> Technology, Austria
> email: [EMAIL PROTECTED],
http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien,
http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer
maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




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