Re: Stem lengths in 2.8.1

2006-04-21 Thread Mats Bengtsson

Quoting Stan Mulder [EMAIL PROTECTED]:


Hi group.

What is the method of changing the stem length for /beamed/ notes?





If you search the mailing list archive for stem lenght beamed, for 
example, you will find a number of relevant emails, including

http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00665.html

  /Mats



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


Re: Stem lengths in 2.8.1

2006-04-21 Thread Stan Mulder

Mats Bengtsson wrote:

Quoting Stan Mulder [EMAIL PROTECTED]:


Hi group.

What is the method of changing the stem length for /beamed/ notes?





If you search the mailing list archive for stem lenght beamed, for 
example, you will find a number of relevant emails, including

http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00665.html

  /Mats


Mats,

I see like this referred to several times in 2004:

/
\override Stem #'beamed-lengths = #'(1.0 1.0 1.0)/


However, there is no 'beamed-lengths' attribute listed in the 2.8 
documentation. And when I compile using that command I get this:


Parsing...
Interpreting music...
warning: can't find property type-check for `beamed-lengths' 
(backend-type?).  perhaps a typing error?

warning: doing assignment anyway


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


Re: Stem lengths in 2.8.1

2006-04-21 Thread Mats Bengtsson

Stan Mulder wrote:


Mats,

I see like this referred to several times in 2004:

/
\override Stem #'beamed-lengths = #'(1.0 1.0 1.0)/


However, there is no 'beamed-lengths' attribute listed in the 2.8 
documentation. And when I compile using that command I get this:


Right! I recommend both you and me to read the NEWS
for version 2.8, which explains the change and provides
and example. All the information from the NEWS file hasn't
made it into the main manual yet, but several people are
working on it.

  /Mats


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


Re: Stem lengths in 2.8.1

2006-04-21 Thread Stan Mulder

Mats Bengtsson wrote:

Stan Mulder wrote:


Mats,

I see like this referred to several times in 2004:

/
\override Stem #'beamed-lengths = #'(1.0 1.0 1.0)/


However, there is no 'beamed-lengths' attribute listed in the 2.8 
documentation. And when I compile using that command I get this:


Right! I recommend both you and me to read the NEWS
for version 2.8, which explains the change and provides
and example. All the information from the NEWS file hasn't
made it into the main manual yet, but several people are
working on it.
I'll check it out Mats. Lilypond sure is a fast moving target, and that 
means progress.



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


Re: Stem lengths in 2.8.1

2006-04-21 Thread Stan Mulder
Thanks Mats. Below is what I ended up with. It's a simple ly file that 
generates headless stems for rhythmic studies. Students take a known 
song and fill in the noteheads to help learn rhythm, especially 
syncopation. I've made a few more like this dealing with sixteenth notes 
and triplets. This one is for eighth notes and works for swing rhythms 
as well. I like the beam a bit higher as it helps to differentiate the 
beam from the staff.


\version 2.8.1

#(set-global-staff-size 24)
up = \drummode {
   \time 2/2
   \override Beam #'thickness = #0.55
   \override SpacingSpanner #'spacing-increment = #1.20
   \override NoteHead #'transparent = ##t
   \override Stem #'details #'beamed-lengths = #'(5 6 7)
   \repeat unfold 352 sn8
}
down = \drummode {
   \repeat unfold 176 bd4
}

\new DrumStaff 
   \new DrumVoice { \voiceOne \up }
   \new DrumVoice { \voiceTwo \down }





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


Stem lengths in 2.8.1

2006-04-20 Thread A P
I've just returned to lilypond after a long time
(version 2.0.1!) and have noticed in version 2.8.1
that the stem lengths seem to be a bit shorter, at
least in the following example (from Telemann) :

\version 2.8.1

upper = \relative c'' {
  \clef treble
  \key bes \major
  \time 4/4
  bes16 a bes c  bes c a bes  c bes c d  c d bes c |
  d c d ees  d ees c d  ees d ees f  ees f d ees | 
 }
 
lower = \relative c {
  \clef bass
  \key bes \major
  \time 4/4
  bes8 d g f ees c f f, |
  bes bes' bes, bes' ees, es' ees, ees' |
}

\score {
  \new PianoStaff 
\set PianoStaff.instrument = Cembalo
\new Staff = upper \upper
\new Staff = lower \lower
  
  \layout { }
}

In the output of 2.8.1, the stems of the semiquavers
in the upper clef appear to be shorter than those in
the output from 2.0.1 by about the height of a ledger
line.  Unfortunately, I don't have the original
(2.0.1) code, but there was nothing unusual about it.

Was this a conscious decision on the part of the
developers or a by-product of some other changes?

Thanks,

Aloke

Send instant messages to your online friends http://au.messenger.yahoo.com 


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


Re: Stem lengths in 2.8.1

2006-04-20 Thread Stephen

I noticed that the stem lengths are calculated differently.

lengths, a list:
\override Stem #'lengths = #'(3.5 3.5 7.0 4.5 5.0)

seems to be replaced with length, a dimension or stem-end-position, a 
number:

\override Stem #'length = #13.5

The number 7.0 in the first example results in the same stem length as the 
13.5 number in the new way of doing things.


In the old way, you could specify 'a length for each flag-count' with the 
list. Whereas, length is a 'User override for the stem length of unbeamed 
stems.', apparently stems of any flag-count. So the stem length is 
calculated differently.


I think the difference in stem-length between stems with different 
flag-counts has been revised.


Browsing the documentation, lengths still exists, but has been taken out the 
the 'User settable properties' list. It is in the 'details' list, whatever 
that means.


Stephen

- Original Message - 
From: A P [EMAIL PROTECTED]

To: lilypond-user@gnu.org
Sent: Thursday, April 20, 2006 10:07 AM
Subject: Stem lengths in 2.8.1



I've just returned to lilypond after a long time
(version 2.0.1!) and have noticed in version 2.8.1
that the stem lengths seem to be a bit shorter, at
least in the following example (from Telemann) :

\version 2.8.1

upper = \relative c'' {
 \clef treble
 \key bes \major
 \time 4/4
 bes16 a bes c  bes c a bes  c bes c d  c d bes c |
 d c d ees  d ees c d  ees d ees f  ees f d ees |
}

lower = \relative c {
 \clef bass
 \key bes \major
 \time 4/4
 bes8 d g f ees c f f, |
 bes bes' bes, bes' ees, es' ees, ees' |
}

\score {
 \new PianoStaff 
   \set PianoStaff.instrument = Cembalo
   \new Staff = upper \upper
   \new Staff = lower \lower
 
 \layout { }
}

In the output of 2.8.1, the stems of the semiquavers
in the upper clef appear to be shorter than those in
the output from 2.0.1 by about the height of a ledger
line.  Unfortunately, I don't have the original
(2.0.1) code, but there was nothing unusual about it.

Was this a conscious decision on the part of the
developers or a by-product of some other changes?

Thanks,

Aloke

Send instant messages to your online friends http://au.messenger.yahoo.com


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




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


Re: Stem lengths in 2.8.1

2006-04-20 Thread Stan Mulder




Hi group.

What is the method of changing the stem length for beamed notes?




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