|
From: | Ahanu Banerjee |
Subject: | Re: Terminate one-note hairpin at end of note |
Date: | Thu, 9 Jun 2022 20:21:34 -0400 |
Hi Ahanu,
> Is there a clean way to terminate a hairpin at the end of the same note it begins with, i.e., at the left side of the next note?
Maybe shorten-pair?
%%% SNIPPET BEGINS
\version "2.23.4"
\layout { ragged-right = ##f }
{
% default output
\after 2 \! c'2\> 4 4 |
%desired output
2\> 4\hide\p 4 |
%alternatively, this works:
\after 4. \! 2\> 4 4 |
\break
c'2-\tweak shorten-pair #'(0 . 1.5) \> 4\! 4 |
}
%%% SNIPPET ENDS
There are other ways, if this doesn’t suit.
Cheers,
Kieren.
[Prev in Thread] | Current Thread | [Next in Thread] |