Brett and Trevor,

 

You could put the pedal in a separate “voice” using:

 

\new Dynamics {

     s4.\sustainOn s\sustainOff |

     s\sustainOn s\sustainOff }

 

for example.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] 
On Behalf Of Trevor Baca
Sent: Monday, August 27, 2018 10:19 AM
To: Brett Duncan <bdd1...@bigpond.net.au>
Cc: lilypond-user <lilypond-user@gnu.org>
Subject: Re: hide entire tuplet entity

 

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 <bdd1...@bigpond.net.au 
<mailto:bdd1...@bigpond.net.au> > 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
lilypond-user@gnu.org <mailto:lilypond-user@gnu.org> 
https://lists.gnu.org/mailman/listinfo/lilypond-user

 

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org <mailto:lilypond-user@gnu.org> 
https://lists.gnu.org/mailman/listinfo/lilypond-user




 

-- 

Trevor Bača

www.trevorbaca.com <http://www.trevorbaca.com> 

soundcloud.com/trevorbaca <http://soundcloud.com/trevorbaca> 

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

Reply via email to