Re: crescendo and decrescendo within slurs

2023-08-12 Thread Valentin Petzel
Hi,

you could set the outside-staff-priority of the Slur:

\version "2.24.1"

top = { \change Staff = "upper" \voiceTwo }
bottom = { \change Staff = "lower" \voiceOne }

upper = \relative c' {
  \key g \minor
  \voiceOne
d'4.^\markup {\italic "espressivo"}^"a tempo"\p^- c8\tweak outside-staff-
priority #500 ( d^\< f\! g^\> c,\!) |
}

lower = \relative c' {
  \clef bass
  \key g \minor
  f,16 bes \top d f 
  \bottom bes, d \top f bes 
  \bottom bes, d \top g bes
  \bottom a, c \top g' a |
}

\layout {
  \context {
\PianoStaff
\override StaffGrouper.staff-staff-spacing.basic-distance = #12
  }
}
\score {
  \new PianoStaff {
<<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
  }
}

Cheers,
Valentin

signature.asc
Description: This is a digitally signed message part.


crescendo and decrescendo within slurs

2023-08-12 Thread Jin Choi
I see that it’s possible to place textual marks inside of slurs: 
https://lilypond.org/doc/v2.25/Documentation/snippets/expressive-marks_003a-positioning-text-markups-inside-slurs
Is it possible to get crescendo and decrescendo marks within slurs as well?

\version "2.24.1"

top = { \change Staff = "upper" \voiceTwo }
bottom = { \change Staff = "lower" \voiceOne }

upper = \relative c' {
  \key g \minor
  \voiceOne
d'4.^\markup {\italic "espressivo"}^"a tempo"\p^- c8( d^\< f\! g^\> c,\!) |
}

lower = \relative c' {
  \clef bass
  \key g \minor
  f,16 bes \top d f 
  \bottom bes, d \top f bes 
  \bottom bes, d \top g bes
  \bottom a, c \top g' a |
}

\layout {
  \context {
\PianoStaff
\override StaffGrouper.staff-staff-spacing.basic-distance = #12
  }
}
\score {
  \new PianoStaff {
<<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
  }
}



Re: multiple transpositions

2023-08-12 Thread David Kastrup
Stefan Thomas  writes:

> Dear community,
> is it possible to transpose a sequence of notes with only one motif several
> times at once?
> I'have in mind something like this:
> motiv = { c'4 d' e' c' }
> \multitranspose d e fis gis \motiv
> % result:  d'4 e' fis' d'   e' fis' gis' e'e' fis' gis' e' gis'
> ais' bis' gis'
> Or maybee something like recursive transposition could be done?
> For example, as in the snippet above, a motif is to be transposed several
> times by a certain interval.

Try

multitranspose =
#(define-music-function (seq motiv) (ly:music? ly:music?)
  (music-clone seq 'elements
   (map (lambda (p) #{ \transpose c #(ly:music-property p 'pitch ) $motiv #})
(ly:music-property seq 'elements


motiv = { c'4 d' e' c' }



\multitranspose { d e fis gis } \motiv


-- 
David Kastrup


multiple transpositions

2023-08-12 Thread Stefan Thomas
Dear community,
is it possible to transpose a sequence of notes with only one motif several
times at once?
I'have in mind something like this:
motiv = { c'4 d' e' c' }
\multitranspose d e fis gis \motiv
% result:  d'4 e' fis' d'   e' fis' gis' e'e' fis' gis' e' gis'
ais' bis' gis'
Or maybee something like recursive transposition could be done?
For example, as in the snippet above, a motif is to be transposed several
times by a certain interval.
Thanks for Your help
Stefan


LilyPond 2.24.2 released!

2023-08-12 Thread Jonas Hahnfeld via LilyPond user discussion
We are proud to announce the release of GNU LilyPond 2.24.2. LilyPond
is a music engraving program devoted to producing the highest-quality
sheet music possible. It brings the aesthetics of traditionally
engraved music to computer printouts.

This version contains a number of fixes since the release of the
previous stable version in February 2023. This includes an update of
the library for garbage collection, addressing crashes when compiling
very large scores (several hundreds of pages) on Windows. We recommend
all users to update. Scores converted to or written for 2.24.0 will
continue to work with this release.
A list of added features and other user-visible changes for 2.24 can be
found at https://lilypond.org/doc/v2.24/Documentation/changes/. Among
others, version 2.24.0 switched to Guile 2.2 and features a completely
rewritten infrastructure for creating the official packages, finally
allowing us to offer 64-bit binaries for macOS and Windows. These pre-
built binaries are linked from https://lilypond.org/download.html and
available from GitLab:
https://gitlab.com/lilypond/lilypond/-/releases/v2.24.2


signature.asc
Description: This is a digitally signed message part


Re: Increasing default piano staff spacing

2023-08-12 Thread Jin Choi
Thank you. I read that page multiple times and couldn’t figure out the proper 
context to put it in. That works great.

> On Aug 11, 2023, at 4:24 PM, Xavier Scheuer  wrote:
> 
> On Fri, 11 Aug 2023 at 20:18, Jin Choi  > wrote:
> >
> > I have a passage of piano music with a lot of kneed beams between the 
> > staves, and there’s too few objects above the bass staff to force enough 
> > space. How can I increase the default spacing between the treble and bass 
> > parts of the piano staff?
> 
> Hello,
> 
> Add
> 
> \layout {
>   \context {
> \PianoStaff
> \override StaffGrouper.staff-staff-spacing.basic-distance = #12
>   }
> }
> 
> See explanations in NR 4.4.1 Flexible vertical spacing within systems > 
> Spacing of grouped staves
> https://lilypond.org/doc/v2.25/Documentation/notation/spacing-of-grouped-staves
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer mailto:x.sche...@gmail.com>>
>