RE: hide entire tuplet entity

2018-08-27 Thread Mark Stephen Mrotek
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 
Cc: lilypond-user 
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 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


Re: hide entire tuplet entity

2018-08-27 Thread Trevor Bača
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  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 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hide entire tuplet entity

2018-08-26 Thread Brett Duncan

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
https://lists.gnu.org/mailman/listinfo/lilypond-user


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


RE: hide entire tuplet entity

2018-08-26 Thread Mark Stephen Mrotek
Ryan,

 

See my additions below.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Ryan Michael
Sent: Sunday, August 26, 2018 4:05 PM
To: lilypond-user 
Subject: hide entire tuplet entity

 

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}

>>  

 

<< 

\override TupletBracket #'bracket-visibility = ##f

\override TupletNumber #'stencil = ##f

\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
https://lists.gnu.org/mailman/listinfo/lilypond-user


hide entire tuplet entity

2018-08-26 Thread Ryan Michael
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
https://lists.gnu.org/mailman/listinfo/lilypond-user