lilypond-user
[Top][All Lists]
Advanced

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

unexpected behaviour with subdivideBeams


From: Kieren MacMillan
Subject: unexpected behaviour with subdivideBeams
Date: Wed, 4 Jun 2008 07:53:08 -0400

Hey 'Ponders!

1. Can anyone explain the odd behaviour of the attached snippet? In the output I get, the absence of the "\set subdivideBeams..." line in the second example results in the music being in two different Staff (as opposed to Voice) contexts!!

2. I discovered this issue while trying to solve another problem: the "6/8" beaming of the 16th triplets despite the 3/4 time (as seen in the first example). If anyone can help me with that as well, I'd appreciate it.

Thanks!
Kieren.

%%%%%%%%%%%%%%%%%%%%%%
\version "2.11.47"
\include "english.ly"
musicA = \relative
{
        \time 3/4
        #(override-auto-beam-setting '(end * * 3 4) 1 4 'Score)
        #(override-auto-beam-setting '(end * * 3 4) 2 4 'Score)
        \set subdivideBeams = ##t \set beatLength = #(ly:make-moment 1 8)
        <<
                { \voiceOne
\times 2/3 { fs'16 d' cs } \times 2/3 { b a gs } \times 2/3 { fs gs a } \times 2/3 { gs fs e }
                                \times 2/3 { d e fs } \times 2/3 { e d cs } |
                }
                \new Voice { \voiceTwo
                        fs8 e d cs b as |
                }
        >> \oneVoice |
}
\score { \musicA }

musicB = \relative
{
        \time 3/4
        #(override-auto-beam-setting '(end * * 3 4) 1 4 'Score)
        #(override-auto-beam-setting '(end * * 3 4) 2 4 'Score)
        <<
                { \voiceOne
\times 2/3 { fs'16 d' cs } \times 2/3 { b a gs } \times 2/3 { fs gs a } \times 2/3 { gs fs e }
                                \times 2/3 { d e fs } \times 2/3 { e d cs } |
                }
                \new Voice { \voiceTwo
                        fs8 e d cs b as |
                }
        >> \oneVoice |
}
\score { \musicB }
%%%%%%%%%%%%%%%%%%%




reply via email to

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