[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    RE: hide entire tuplet entity
From:       "Mark Stephen Mrotek" <carsonmark () ca ! rr ! com>
Date:       2018-08-27 22:26:13
Message-ID: 001901d43e54$f8c804e0$ea580ea0$ () ca ! rr ! com
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


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.com@gnu.org] On \
                Behalf Of Trevor Baca
Sent: Monday, August 27, 2018 10:19 AM
To: Brett Duncan <bdd1967@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 <bdd1967@bigpond.net.au \
<mailto:bdd1967@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> 


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Mangal;
	panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:"Bulmer MT Std Regular";
	panose-1:2 3 5 3 6 4 5 3 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas",serif;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Bulmer MT Std Regular",serif;
	color:#2F5496;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'>Brett and Trevor,<o:p></o:p></span></p><p \
class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
style='font-family:"Bulmer MT Std Regular",serif;color:#2F5496'>You could put the \
pedal in a separate "voice" using:<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
style='font-family:"Bulmer MT Std Regular",serif;color:#2F5496'>\new Dynamics \
{<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'>         s4.\sustainOn s\sustainOff \
|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'>         s\sustainOn s\sustainOff \
}<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
style='font-family:"Bulmer MT Std Regular",serif;color:#2F5496'>for \
example.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Bulmer MT \
Std Regular",serif;color:#2F5496'><o:p>&nbsp;</o:p></span></p><p \
class=MsoNormal><span style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'>Mark<o:p></o:p></span></p><p class=MsoNormal><span \
style='font-family:"Bulmer MT Std \
Regular",serif;color:#2F5496'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span \
style='font-size:11.0pt;font-family:"Calibri",sans-serif'> lilypond-user \
[mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] <b>On Behalf Of \
</b>Trevor Baca<br><b>Sent:</b> Monday, August 27, 2018 10:19 AM<br><b>To:</b> Brett \
Duncan &lt;bdd1967@bigpond.net.au&gt;<br><b>Cc:</b> lilypond-user \
&lt;lilypond-user@gnu.org&gt;<br><b>Subject:</b> Re: hide entire tuplet \
entity<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p \
class=MsoNormal>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.<o:p></o:p></p><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Go with duration \
multipliers (like in Brett's response) or the \scaleDurations \
function.<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal>Trevor.<o:p></o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On Sun, Aug 26, \
2018 at 9:03 PM Brett Duncan &lt;<a \
href="mailto:bdd1967@bigpond.net.au">bdd1967@bigpond.net.au</a>&gt; \
wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC \
1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p>One \
option would be to scale the durations instead of using \
tuplets,<o:p></o:p></p><p>e.g. you could change<o:p></o:p></p><p>&nbsp;&nbsp;&nbsp; \
\hideNotes b2. b4\sustainOn b2 \tuplet 3/2{ b8 b4\sustainOff} b4\sustainOn \tuplet \
3/2{ b8 b8\sustainOff b8 }<o:p></o:p></p><p>to&nbsp;&nbsp;&nbsp; \
<o:p></o:p></p><p>&nbsp;&nbsp; \hideNotes b2. b4\sustainOn b2&nbsp; b8*2/3 \
b4*2/3\sustainOff b4\sustainOn b4*2/3\sustainOff \
b8*2/3<o:p></o:p></p><p><o:p>&nbsp;</o:p></p><p>Brett <o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On 27/8/18 9:04 am, Ryan \
Michael wrote:<o:p></o:p></p></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>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 :&nbsp; <o:p></o:p></p><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal>%%%%%%%%%%%%%<o:p></o:p></p></div><div><p class=MsoNormal>%% bass \
section mirroring right hand for sustain engraving purposes \
only<o:p></o:p></p></div><div><p class=MsoNormal>\version \
&quot;2.18.2&quot;<o:p></o:p></p></div><div><p \
class=MsoNormal>{<o:p></o:p></p></div><div><div><p \
class=MsoNormal>&lt;&lt;<o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>\new Voice \
{ \hideNotes b4 b8 b8\sustainOn b4 b8. b16\sustainOff}<o:p></o:p></p></div><div><p \
class=MsoNormal>\new Voice { r1}<o:p></o:p></p></div><div><p \
class=MsoNormal>&gt;&gt;&nbsp;&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p \
class=MsoNormal>&lt;&lt;<o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>\new Voice \
{ \hideNotes b2. b4\sustainOn b2&nbsp; \tuplet 3/2{ b8 b4\sustainOff} b4\sustainOn \
\tuplet 3/2{ b8 b8\sustainOff b8 } b2. }<o:p></o:p></p></div><div><p \
class=MsoNormal>\new Voice { r1 r1 r1}<o:p></o:p></p></div><div><p \
class=MsoNormal>&gt;&gt;&nbsp;<o:p></o:p></p></div></div><div><p \
class=MsoNormal>}<o:p></o:p></p></div><div><p class=MsoNormal>%%%%%%%%%%%%%<br \
clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p \
class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal><span lang=SA \
style='font-family:"Mangal",serif'>реР рдирдордГ \
рд╢рд┐рд╡рд╛рдп</span><o:p></o:p></p></div></div></div><p class=MsoNormal \
style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>lilypond-user \
mailing list<o:p></o:p></pre><pre><a href="mailto:lilypond-user@gnu.org" \
target="_blank">lilypond-user@gnu.org</a><o:p></o:p></pre><pre><a \
href="https://lists.gnu.org/mailman/listinfo/lilypond-user" \
target="_blank">https://lists.gnu.org/mailman/listinfo/lilypond-user</a><o:p></o:p></pre></blockquote><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><p \
class=MsoNormal>_______________________________________________<br>lilypond-user \
mailing list<br><a href="mailto:lilypond-user@gnu.org" \
target="_blank">lilypond-user@gnu.org</a><br><a \
href="https://lists.gnu.org/mailman/listinfo/lilypond-user" \
target="_blank">https://lists.gnu.org/mailman/listinfo/lilypond-user</a><o:p></o:p></p></blockquote></div><p \
class=MsoNormal><br clear=all><o:p></o:p></p><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- \
<o:p></o:p></p><div><div><div><div><div><div><div><p class=MsoNormal>Trevor \
Ba─Нa<o:p></o:p></p></div><div><p class=MsoNormal><a href="http://www.trevorbaca.com" \
target="_blank">www.trevorbaca.com</a><o:p></o:p></p></div><div><p class=MsoNormal><a \
href="http://soundcloud.com/trevorbaca" \
target="_blank">soundcloud.com/trevorbaca</a><o:p></o:p></p></div></div></div></div></div></div></div></div></body></html>




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic