lilypond-user
[Top][All Lists]
Advanced

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

subdivideBeams problem


From: Geisel Hanna
Subject: subdivideBeams problem
Date: Tue, 20 Jul 2010 14:25:14 +0200

Hello,

this might be a stupid question, but I only just started using lilypond and I can't figure it out:

For a piece in 2/4 I want to subdivide the normal beams to 8th notes.

Here's what I've written:

\version "2.12.3-1"

\include "deutsch.ly"

\header {
title = "Le Ior" }

\relative f'  

{

\new PianoStaff
<<

\new Staff { \clef "treble" \time 2/4
\set subdivideBeams = ##t
\set beatLength = #(ly:make-moment 1 8)
a4 a16 h a g | 
\times 2/3 { h16 a g } a16 h  c d c h |
 d c h a a g a f | f8 g16 e e4 |
r8 r16 d'16 d8 h | r8 r16 c16 c8 a |
 \times 2/3 { h16 c a h a h   c d e d e c | } d4 d8 a |
h16 a g a   a g a f | f8 e d4 |
d r8 a'8 | h16 c d c \times 2/3 { h c a h a h |
d c h c d h } c8 g | d'16 c h c \times 2/3 { c h c h c a } |
 g4 f | h16 a g a \times 2/3 { a g a g a f |
e f g f e d  c d e f g e | g f e f g e } f8 c |
g'4 \times 2/3 { a16 g f } g a | h4 r8 c |
 c16 h a g \times 2/3 { f g e f e f | g a h a h g  g h f g f g   | 
h a g  a h g } a8 r16 a32 h | c4 r8 d16 c32 d |
h16 a h c \times 2/3 {h c d a a h }| c4 r8 e32 d c d |
h c d c  c h a s d8 a | r16 a g a h a g f | 
f8 g e4 | d' d8 c |
\times 2/3 { c16 d h h c a a h gis gis a f } | g f g a  h c d c |
c32 h c a  h c a h   c d c h  \times 2/3 {d c h } a g |
a4 g8 f | r8 e16 f \times 2/3 { g a g f e d  |
f e d  e f d } e8 r16 \times 2/3 { c32 h c } | d16 c d e f32 g e f  g a f g |
a8 r16 \times2/3 {h32 a g } a h a16 r a32 h |
c16 h h a \times 2/3 { a g s g s f  |
e f g a g f g a g f e d } |
e32 f e d  e f d e  f g a g  \times 2/3 { g f e } d c |
e16 d e c d8 d | d' d16 \times 2/3 { d32 c d } e8 e | 
e16 d d c  \times 2/3 { c16 h c  h c a | a h c  d c h  a g a  g a f  |
g f g  f g e  g f e  f g e }|
f8. g16 a h c d | c8 g d'32 c h c  c h c a |
h c a h c d h d d8 a | f16 f f e \times 2/3 { f e d } e c |
d8 \times 2/3 { e32 d c } d e d8 r16 a'32 h | c4 r8 d16 c32 c |
h16 a32 h c16 h32 c d8 r16 a32 h | c4 r8 e32 d c d |
 h c d c c h a h d 16 c h c | c h c a g8 f |
\times 2/3 { f16 e f e f d  e f g f g e }| f2 \bar ".|"
 }

    \new Staff { \clef "treble" \key d \minor
d2 | d4 c | 
c f | c2 |
d | f | e | d |
d| f8 g a4 | a8 g4 f8 | e4 d | c2| d4 f |
e8 d c b | a2| g | f | c' | d | c4 f |
e2 | d | r8 f f4 | e4 d | r8 f f4 | e d | f2 | c | d | f |
 e4 d | d c | f e8 d | c4 b | a2 |
g4 f | c'2 | d4 c | b a | c2 | g | g | g4 c | c d | e f | 
f2 | c4 f | e d | f g | a2 | r8 f f4 |
e d | r8 f f4 | e d | f c8 d | c2 | f,
}

>>

}

The beams aren't subdivided in my output, but divided by 8th notes.
I think I followed the instructions from the manual correctly, but the subdivision just doesn't work, where's my mistake?

I also didn't manage to find the file scm/music-functions.scm, where can I find that?

Thanks a lot for any help,

Hanna


Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now.

reply via email to

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