lilypond-user
[Top][All Lists]
Advanced

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

RE: Grace Note Stem Length


From: Fairchild
Subject: RE: Grace Note Stem Length
Date: Mon, 30 Jan 2006 19:08:40 -0600

Trent -

     HTH

            - Bruce

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.4.6"
\relative c'' {
\key d \major
\override TupletBracket #'bracket-visibility = ##f
\tupletUp \times 2/3 { cis32[( d e } e16)]
\times 2/3 { d32[( e fis } f16)] cis8[
\grace {
%% beamed stem lengths  default #'(3.0 3.5 4.0 5.0)
%%                                (1/8 1/16 1/32 1/64)
%% http://www.lilypond.org/doc/v2.4/Documentation/user/out-www/
%% lilypond-internals/Stem.html
#( define Mag #'2.5)
#( define Lengths (list  (* Mag 3.0) (* Mag 3.5)
                         (* Mag 4.0) (* Mag 5.0)))
\override Stem #'beamed-lengths = #Lengths
a16[ b]
}
b8] cis16[ fis8 e16~] e16 d8 cis32 b 
\bar "|." }
\paper { raggedright = ##t }
%%%%%%%%%%%%%%%%%%%%%%%%%%%

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Trent Johnston
Sent: Saturday, January 28, 2006 11:01 PM
To: address@hidden
Subject: Grace Note Stem Length


Hello All,

I'm not sure if this is a bug or but I'll try here first. The length of the
beamed grace notes in this bar appear to be very elongated is this how they
are supposed to appear? Is there a way to shorten the stem length of the
beamed grace notes?

I've tried \override Beam #'beamed-stem-shorten = '(1.0 0.5 0.25)

as in the manual but the details for this function are unclear. I can't work
out what the list of numbers relate to. The description in the manual (see
below) doesn't 
give enough information. Do you only put a number for each flag. ie. 2
numbers for two flags in this case.

======================
beamed-stem-shorten (list):
'(1.0 0.5 0.25) 

How much to shorten beamed stems, when their direction is forced. It is a
list, since the value is different depending on the number flags/beams. 
======================


BTW I've noticed that 

Under the "TupletBracket" description  #'bracket-visibility  (to turn on and
off the appearance of the bracket) and #'staff-padding = ##f to allow the
tuplet numbers to enter the staff seem to be missing.

Any help with my other questions appreciated.

Regards,

Trent




Grace note example
=================================================================
% Created on Sun Jan 29 15:05:34 EST 2006
\version "2.7.29"

#(set-global-staff-size 14)

\header {
}

\include "english.ly"

staffViolin = \new Staff  {
 \time 4/4
 \set Staff.instrument="Violin"
 \set Staff.midiInstrument="violin"
 \key d \major
 \clef treble
 \relative c'' {
 \override TupletBracket #'bracket-visibility = ##f
 \override TupletBracket #'staff-padding = ##f
 \tupletUp \times 2/3 { cs32[( d e } e16)] \times 2/3 { d32[( e fs } fs16)]
cs8[ \grace { a16[ b]} b8] cs16[ fs8 e16~] e16 d8 cs32 b 
 \bar "|."
 }

}

\score {
 <<
  \staffViolin
 >>
 
\midi {
 }

 \layout  {
 }
}

\paper {
 raggedright = ##t
}






reply via email to

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