Sustain-Pedal ohne Stern

Begonnen von C_E, Dienstag, 11. Februar 2025, 07:49

« vorheriges - nächstes »

C_E

Hallo!

Ich hab nach langer Zeit mal wieder mit lilypond angefangen.

Ich habe Klavier-Noten, in denen der Befehl \sustainOn ohne \Off existiert. Wie kann ich das implementieren?
(Für midi wahrscheinlich am besten ein "unsichtbarer" \sustainOff?)

\version "2.24.3"

\score {
  \new PianoStaff <<
    \new Staff \relative c'' {
      c4 c c c |
      c c c c }
    \new Staff { \clef bass \relative c {
      c2 c |
      c c | } }
    \new Dynamics {
      s4\sustainOn s4\sustainOff s4\sustainOn s4\sustainOff |
      s4\sustainOn s4\sustainOff s4\sustainOn s4\sustainOff | }
  >>
}
 

Danke schonmal!
Liebe Grüße

Manuela

Danke für eure Hilfe
viele Grüße
-- Manuela

C_E

Dann kommt der Stern zum Heben des Pedals vor dem nächsten \sustainOn. Ich benötige es leider nur sporadisch in der Mitte vom Stück, nicht am Ende.

amateur

Bei mir passiert es nicht:
\version "2.24.0"

\score {
  \new PianoStaff <<
    \new Staff \relative c'' {
      c4 c c c |
      c c c c }
    \new Staff { \clef bass \relative c {
      c2 c |
      c c | } }
    \new Dynamics {
      s4\sustainOn s4 s4\sustainOn s4 |
      s4\sustainOn s4 s4\sustainOn s4 | }
  >>
}
 

Manuela

Ich sehe auch keinen Stern. Wo kommt der her?
Danke für eure Hilfe
viele Grüße
-- Manuela

C_E

oh... Jetzt habe ich es nochmal ausprobiert, und ihr habt Recht. Tut mir Leid, da hatte ich wohl irgendwie ein Chaos im Testen. Vielen Dank für das Augen öffnen!

Manuela

Danke für eure Hilfe
viele Grüße
-- Manuela

Lilysetter

#7
Siehe snippets.pdf bei "Changing the text for sustain markings"
Ich würds so machen:
\version"2.25.6"\language"deutsch"\pointAndClickOff\paper{line-length=195 indent=0 system-count=2}
sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
\relative c' {
  \sustainNotes % with default settings
  \set Staff.pedalSustainStrings = #'("P" "P-" "-") \sustainNotes
  \set Staff.pedalSustainStrings = #'("M" "M-" "-") \sustainNotes\break
  \set Staff.pedalSustainStrings = #'("Ped" "*Ped" "") \sustainNotes %% 3. String leer
  \set Staff.pedalSustainStrings = #'("d" "de" "e") \sustainNotes
  \set Staff.pedalSustainStrings = #'("M" "" "-") \sustainNotes %% 2. String leer
  }
1. String: \sustainOn
2. String: \sustainOff\sustainOn
3. String: \sustainOff