lilypond-user
[Top][All Lists]
Advanced

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

Re: Getting rid of omitted tuplet bracket warnings


From: Lukas-Fabian Moser
Subject: Re: Getting rid of omitted tuplet bracket warnings
Date: Sun, 27 Jun 2021 17:55:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Hi Knute,

Am 27.06.21 um 17:17 schrieb Knute Snortum:
Hello all,

I have a situation where my music engraves fine, but produces a lot of
warnings.  Here is a snittet (output attached):

%%%
\version "2.22.1"
\language "english"

\relative c {
   \key af \major
   \time 4/4
   \clef bass

   \omit TupletNumber
   \tuplet 3/2 4 {
     ef,8 ef'' g,
       <<
         { df4 s8 ff4 s8 ef4 s8 }
         \\
         { df8 ff' af, ff df' af ef df' g, }
       >> |
   }
}
%%%

This will produce three "omitting tuplet bracket with neither left nor
right bound" warnings. So, first question: should it?  Is that code
improperly formed?  I can get rid of the warnings with some nifty
Scheme code someone gave me that will ignore multiple warnings, but it
"bothers" me.

\tuplet doesn't seem to like << \\ >> constructs inside? I'm not sure.

But if you don't want tuplet numbers anyway, you might use \scaleDurations 2/3 instead of \tuplet 2/3 4.

And: You might replace

df4 s8 ff4 s8 ef4 s8

by

df4*3/2 ff ef

Leading to:

\version "2.22.1"
\language "english"

\relative c {
  \key af \major
  \time 4/4
  \clef bass

  \scaleDurations 2/3 {
    ef,8 ef'' g,
      <<
        { df4*3/2 ff ef }
        \\
        { df8 ff' af, ff df' af ef df' g, }
      >> |
  }
}

Lukas




reply via email to

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