Re: I would like to move the sustainOff

2021-09-19 Thread Lukas-Fabian Moser

Hi,

Am 19.09.21 um 21:31 schrieb Knute Snortum:

SustainOff after a chord comes before the chord, as it shows in the
manual

I'm used to and would like it to be after the chord.
Is there a way to do that?

You could do it with a tweak, but you'd have to do once for each \sustainOff.

%%%
\version "2.22.1"

\relative {
   c'1 \sustainOn | c \tweak X-offset 2 \sustainOff
}
%%%


LilyPond is even flexible enough to accept

sustainOff = \tweak X-offset 2 \sustainOff

to make the tweak stick.

But I think it's usually better to represent the music semantically 
correct: A \sustainOff after the note means that the pedal should be 
released only _after_ the chord is played. For this, David Kastrup's 
\after function is highly useful:


%%%
\version "2.22.1"

after =
#(define-music-function (delay ev main) (ly:duration? ly:music? ly:music?)
   #{ \context Bottom << { s$delay <> $ev } #main >> #})

\relative {
  % For vertical alignment:
  \override Score.SustainPedal.Y-offset = -3

  c'1 \sustainOn | \after 2 \sustainOff c
}
%%%

Lukas




Re: I would like to move the sustainOff

2021-09-19 Thread jh
Knute, thank you it's a short piece so this is doable would the bracket 
be a better option for this problem when it's a larger/longer piece?

wondering.
Jay

On 2021-09-19 13:31, Knute Snortum wrote:

On Sun, Sep 19, 2021 at 10:46 AM jh  wrote:


2nd time to ask;
SustainOff after a chord comes before the chord, as it shows in the
manual

I'm used to and would like it to be after the chord.
Is there a way to do that?


You could do it with a tweak, but you'd have to do once for each 
\sustainOff.


%%%
\version "2.22.1"

\relative {
  c'1 \sustainOn | c \tweak X-offset 2 \sustainOff
}
%%%

--
Knute Snortum




Re: I would like to move the sustainOff

2021-09-19 Thread Knute Snortum
On Sun, Sep 19, 2021 at 10:46 AM jh  wrote:
>
> 2nd time to ask;
> SustainOff after a chord comes before the chord, as it shows in the
> manual
>
> I'm used to and would like it to be after the chord.
> Is there a way to do that?

You could do it with a tweak, but you'd have to do once for each \sustainOff.

%%%
\version "2.22.1"

\relative {
  c'1 \sustainOn | c \tweak X-offset 2 \sustainOff
}
%%%

--
Knute Snortum



I would like to move the sustainOff

2021-09-19 Thread jh

2nd time to ask;
SustainOff after a chord comes before the chord, as it shows in the 
manual


I'm used to and would like it to be after the chord.
Is there a way to do that?

jay

--
Thank you Sound & Silence

Beginning May 1, 2021 a new address; 1814 Lake Washington Blvd. So.,
Seattle, Wa. 98144

_206-328-7694 or messages at 206-308-8189_

www.soundand.com

and an online short (45 minute) concert of new material on Wayward in 
Limbo



https://www.waywardmusic.org/?p=6082

I am looking for 2-3 dancers various abilities/disciplines for a piece
Called The Box it was scheduled for November  but we know how that has
gone. However I am interested in making videos of the moves and having
dancers work on them and the music before we can get into the same
room... Paid rehearsals and the door divided evenly by participants.
Spread the word please.