lilypond-user
[Top][All Lists]
Advanced

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

Re: Help for \beamExceptions


From: Simon Albrecht
Subject: Re: Help for \beamExceptions
Date: Tue, 1 Sep 2015 22:06:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Hello Richard,

if you want to use \beamExceptions, it seems like the only way to do this is
%%%%%%%%%%
\version "2.19.25"

{
  \time 4/4
\set Timing.beamExceptions = \beamExceptions { 8[] 8[ 8] 8[] 8[] 8[ 8 8] }
  e'8 f' g' a' b' a' g' f'
}
%%%%%%%%%%

– that’s a bit cumbersome and IMO it should lead to the same result with { 8 8[ 8] 8 8 8[ 8 8] }. So currently this is a case where the immediate, Scheme way is more straightforward:

%%%%%%%%%%%%
\version "2.19.25"

{
  \time 4/4
  \set Timing.beamExceptions = #'((end . ((1/8 . (1 2 1 1 3))
                                          (1/12 . (1 6 2 1 2)))))
  e'8 f' g' a' b' a' g' f'
  \tuplet 3/2 4 { e' f' g' f' g' a' g' a' b' a' g' f' }
}
%%%%%%%%%%%%

Yours, Simon

Am 01.09.2015 um 20:37 schrieb Richard Shann:
I've been trying to use the music function \beamExceptions which is in
version 2.19.25, I can't find anything much to document it though.
For example, trying this

\version "2.19.25"

MvmntIVoiceI = {
          e'8[ f'8 g'] a'8\noBeam b'8 a'[ g'8 f'] |
          e'8 f' g' a' b' a' g' f'
}

\score {
         \new Staff {\time 4/4 \MvmntIVoiceI }
         \layout {
                \set beamExceptions = \beamExceptions { \time 4/4  e' 8[ f' 8
g' ] a' 8\noBeam b' 8 a' [ g' 8 f' ] }
         }
       }

the second bar is not beamed like the first, despite the music argument
to \beamExceptions being a copy of the first bar.

Is the next stop some source file for finding out what can be done, or
am I missing some documentation?

Another topic that came up while I was doing this:
I have used \set beamExceptions here, but I couldn't figure out what is
allowed for setting the context - Voice and Staff worked but \set
Score.beamExceptions was ignored, and I couldn't find out what \set
Timing.beamExceptions was doing - Timing doesn't appear in the hierarchy
of contexts...

Richard

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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