lilypond-user
[Top][All Lists]
Advanced

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

Re: hide entire tuplet entity


From: Trevor Bača
Subject: Re: hide entire tuplet entity
Date: Mon, 27 Aug 2018 12:18:55 -0500

Scaling durations is a better way to go: invisible tuplets always somehow manage to impact the spacing of other objects in unpredictable ways. And don't be fooled by trying to X-extent, Y-extent and friends to false or zero; there's always some small thing somewhere that will throw off spacing, and it can potentially take hours to notice the fact and then correct it.

Go with duration multipliers (like in Brett's response) or the \scaleDurations function.

Trevor.


On Sun, Aug 26, 2018 at 9:03 PM Brett Duncan <address@hidden> wrote:

One option would be to scale the durations instead of using tuplets,

e.g. you could change

    \hideNotes b2. b4\sustainOn b2 \tuplet 3/2{ b8 b4\sustainOff} b4\sustainOn \tuplet 3/2{ b8 b8\sustainOff b8 }

to   

   \hideNotes b2. b4\sustainOn b2  b8*2/3 b4*2/3\sustainOff b4\sustainOn b4*2/3\sustainOff b8*2/3


Brett


On 27/8/18 9:04 am, Ryan Michael wrote:
Hello. I am currently working on a piano piece and I want to have sustain spans below the bass clef while the left hand is resting for whole measures. I want to the sustain to line up with tuplets on the right hand in the treble clef. My current strategy is to fake the same phrase in the bass clef but it leaves me with tuplet artifacts when I am hiding the notes in the bass clef à la : 


%%%%%%%%%%%%%
%% bass section mirroring right hand for sustain engraving purposes only
\version "2.18.2"
{
<<
\new Voice { \hideNotes b4 b8 b8\sustainOn b4 b8. b16\sustainOff}
\new Voice { r1}
>>  
 
<<
\new Voice { \hideNotes b2. b4\sustainOn b2  \tuplet 3/2{ b8 b4\sustainOff} b4\sustainOn \tuplet 3/2{ b8 b8\sustainOff b8 } b2. }
\new Voice { r1 r1 r1}
>> 
}
%%%%%%%%%%%%%

--
ॐ नमः शिवाय


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

_______________________________________________
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]