Re: 2.25.15 quotedCueEventTypes
On 5/8/24 10:02 AM, Paul Scott wrote: Thank you. Yes. From the NR is it true that I only need this for \cueDuring but not for \quoteDuring? Paul On 5/8/24 9:36 AM, Pierre-Luc Gauthier wrote: \set Score.quotedCueEventTypes = #'( tuplet-span-event note-event articulation-event crescendo-event rest-event slur-event dynamic-event multi-measure-rest-event tie-event repeat-tie-event beam-event tremolo-event ) Does that help ? Yes. Does one of those include phrasing slurs? Paul Le mer. 8 mai 2024, à 12 h 31, Paul Scott a écrit : On 5/8/24 9:27 AM, Paul Scott wrote: On 5/8/24 9:21 AM, Paul Scott wrote: Where are quotedCueEventTypes documented? The index listing goes to NR 1.6.3 but I don't see quotedCueEventTyoes. NR 1.6.3 says that all event types are quoted by default but nothing is mentioned about cues event tyoes. I should have added that setting all the quotedCueEvent seems to be necessary to get everything included in cues. quotedCueEventTypes In particular I'm trying to get some phrasing slurs to appear in cues. TIA Paul -- *Pierre-Luc Gauthier* * *
Re: 2.25.15 quotedCueEventTypes
Thank you. Yes. From the NR is it true that I only need this for \cueDuring but not for \quoteDuring? Paul On 5/8/24 9:36 AM, Pierre-Luc Gauthier wrote: \set Score.quotedCueEventTypes = #'( tuplet-span-event note-event articulation-event crescendo-event rest-event slur-event dynamic-event multi-measure-rest-event tie-event repeat-tie-event beam-event tremolo-event ) Does that help ? Le mer. 8 mai 2024, à 12 h 31, Paul Scott a écrit : On 5/8/24 9:27 AM, Paul Scott wrote: On 5/8/24 9:21 AM, Paul Scott wrote: Where are quotedCueEventTypes documented? The index listing goes to NR 1.6.3 but I don't see quotedCueEventTyoes. NR 1.6.3 says that all event types are quoted by default but nothing is mentioned about cues event tyoes. I should have added that setting all the quotedCueEvent seems to be necessary to get everything included in cues. quotedCueEventTypes In particular I'm trying to get some phrasing slurs to appear in cues. TIA Paul -- *Pierre-Luc Gauthier* * *
Re: Tie between staves of a PianoStaff
On Wed 08 May 2024 at 13:40:23 (+), Kris Van Bruwaene wrote: > Is there a simple solution for putting a tie between staves of a pianostaff? > I need to tie a note of the lower voice on the upper staff to a note of the > upper voice on the lower staff. I found this on StackExchange: > https://music.stackexchange.com/questions/74383/lilypond-ties-across-staves > but it's five years old and seems rather difficult to implement. > I use version 2.24.2 on Debian. I'd agree with Knute: you have to bite the bullet and learn \shape. But in the old stackexchange post, I'd be tempted to make the tie unambiguous. The result is not publishable, but I don't think it leaves room for doubt, even with no extra work, and it's \break- able at either barline. (I'm assuming the lower e /is/ restruck in measure two.) Cheers, David. \version "2.18.2" \language "deutsch" \header { tagline = ##f } \layout { indent = 0 ragged-right = ##t } global = { \key c \major \numericTimeSignature \time 3/4 \set Timing.beamExceptions = #'() } right = \relative c'' { \global 2 (4~~2^~< e cis'>)r4 } left = { \global << { s2. s2. gis'8_(fis' e' dis' e' fis') } \\ { \stemUp dis'2( e'4^~e')( \showStaffSwitch \change Staff = "right" \stemDown cis'2_~) cis' } >> } \score { \new PianoStaff << \new Staff = "right" \right \new Staff = "left" { \clef treble \left } >> \layout { } } tie.pdf Description: Adobe PDF document
Re: 2.25.15 quotedCueEventTypes
\set Score.quotedCueEventTypes = #'( tuplet-span-event note-event articulation-event crescendo-event rest-event slur-event dynamic-event multi-measure-rest-event tie-event repeat-tie-event beam-event tremolo-event ) Does that help ? Le mer. 8 mai 2024, à 12 h 31, Paul Scott a écrit : > > On 5/8/24 9:27 AM, Paul Scott wrote: > > > On 5/8/24 9:21 AM, Paul Scott wrote: > > Where are quotedCueEventTypes documented? The index listing goes to NR > 1.6.3 but I don't see quotedCueEventTyoes. > > NR 1.6.3 says that all event types are quoted by default but nothing is > mentioned about cues event tyoes. > > I should have added that setting all the quotedCueEvent seems to be > necessary to get everything included in cues. > > quotedCueEventTypes > > In particular I'm trying to get some phrasing slurs to appear in cues. > > TIA > > Paul > > > > > -- *Pierre-Luc Gauthier*
Re: 2.25.15 quotedCueEventTypes
On 5/8/24 9:27 AM, Paul Scott wrote: On 5/8/24 9:21 AM, Paul Scott wrote: Where are quotedCueEventTypes documented? The index listing goes to NR 1.6.3 but I don't see quotedCueEventTyoes. NR 1.6.3 says that all event types are quoted by default but nothing is mentioned about cues event tyoes. I should have added that setting all the quotedCueEvent seems to be necessary to get everything included in cues. quotedCueEventTypes In particular I'm trying to get some phrasing slurs to appear in cues. TIA Paul
Re: 2.25.15 quotedCueEventTypes
On 5/8/24 9:21 AM, Paul Scott wrote: Where are quotedCueEventTypes documented? The index listing goes to NR 1.6.3 but I don't see quotedCueEventTyoes. NR 1.6.3 says that all event types are quoted by default but nothing is mentioned about cues event tyoes. I should have added that setting all the quotedCueEvent seems to be necessary to get everything included in cues. In particular I'm trying to get some phrasing slurs to appear in cues. TIA Paul
2.25.15 quotedCueEventTypes
Where are quotedCueEventTypes documented? The index listing goes to NR 1.6.3 but I don't see quotedCueEventTyoes. NR 1.6.3 says that all event types are quoted by default but nothing is mentioned about cues event tyoes. In particular I'm trying to get some phrasing slurs to appear in cues. TIA Paul
Re: Tie between staves of a PianoStaff
On Wed, May 8, 2024 at 6:41 AM Kris Van Bruwaene wrote: > Is there a simple solution for putting a tie between staves of a > pianostaff? I need to tie a note of the lower voice on the upper staff to a > note of the upper voice on the lower staff. I found this on StackExchange: > https://music.stackexchange.com/questions/74383/lilypond-ties-across-staves > but it's five years old and seems rather difficult to implement. > I use version 2.24.2 on Debian. > As far as I know, there is no easy way to do this. The StackExchange answer is the way I'd do it. It involves two ideas: changing staves and temporary voices. I use staff changes so much I always have this setup for my LilyPond code: %%% \version "2.24.3" % Put somewhere near the top of the file, or in an include file staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" % Create rightHand and leftHand variables rightHand = \relative { c''2 \staffDown \voiceOne c, \staffUp c'1 } leftHand = \relative { \clef bass c2 \voiceTwo c c1 } % Label the two staves upper and lower \score { \new PianoStaff << \new Staff = "upper" \rightHand \new Staff = "lower" \leftHand >> } %%% The other part is knowing how to create temporary voices in LilyPond. The way used in the StackExchange example looks like this: << { % music here } \\ { % music here } >> The idea is that one voice will overlap the other as the two voices will render simultaneously. Putting these two ideas together gives you the ability to tie across staves. If the tie does not look the way you want it to, you can control its shape with the shape command, which looks like this: \shape #'((0 . 0) (0 . 0) (0 . 0) (0 . 0)) Tie So it is complex, but hopefully this has been instructive for you. -- Knute Snortum
Re: Conductor cues using braces
Wow that indentation... here is the file. Le mer. 8 mai 2024, à 11 h 05, Pierre-Luc Gauthier a écrit : > > \version "2.25.15" > > \language "english" > > % _taken from the LSR : > #(define-markup-command (long-curly-bracket layout props arg-height) >(number?) >"Draw a curly bracket with a variable length." >(interpret-markup layout props > (markup > #:translate (cons 0 (* arg-height -1)) > (#:with-dimensions (cons -0.001 0) (cons 0.001 0) > (#:override (cons (quote filled) #t) > (#:path 0.01 `( > > (moveto -0.8 0.0) > > (curveto -0.2 0.4 -0.3 0.7 -0.3 1.5) > > (lineto -0.3 ,arg-height) > > (curveto -0.4 ,(+ arg-height 1.3) 0.5 ,(+ arg-height 2.8) 0.7 ,(+ > arg-height 2.8)) > > (curveto 0.6 ,(+ arg-height 2.5) 0.1 ,(+ arg-height 2) 0.1 > ,arg-height) > > (lineto0.1 1.5) > > (curveto 0.1 0.7 0.1 0.0 -0.8 0.0) > > (closepath) > > (curveto -0.2 -0.4 -0.3 -0.7 -0.3 -1.5) > > (lineto -0.3 ,(* arg-height -1)) > > (curveto -0.4 ,(* (+ arg-height 1.3) -1) 0.5 ,(* (+ arg-height 2.8) > -1) 0.7 ,(* (+ arg-height 2.8) -1)) > > (curveto 0.6 ,(* (+ arg-height 2.5) -1) 0.1 ,(* (+ arg-height 2) > -1) 0.1 ,(* arg-height -1)) > > (lineto0.1 -1.5) > > (curveto 0.1 -0.7 0.1 0.0 -0.8 0.0) > > (closepath > > conductorCue = \tag #'conductorOnly { > \once \override Staff.BreathingSign.stencil = #ly:text-interface::print > \once \override Staff.BreathingSign.padding = #10 > \once \override Staff.BreathingSign.text = \markup { > %\override #'((style . outline) (thickness . 1)) > %\whiteout > \lower #1 > \with-color #red > \long-curly-bracket #1 > } \breathe > } > > {r2 r4 \conductorCue c' |} > > Which gives pic related. > > It works so I'll try to deploy it to 15 songs -_-' … (Big rehearsal > tonight 100+ musicians !!! (is excited)) > > Le mer. 8 mai 2024, à 10 h 19, Pierre-Luc Gauthier > a écrit : > > > > Hello there, > > > > Originaly : > > https://lists.gnu.org/archive/html/lilypond-user/2017-11/msg00303.html > > > > I still never got to add cue notes in my conductor scores to help me > > during rehearsals. Obviously, I could write them by hand but I > > (re-)compile my parts way too often for that. > > > > I have lowered my expectation on having braces that could go across > > staves but rather would go for single staff "cueing" notation as can > > be seen for the violin1 and viola example in the attached image. > > > > Is it possible to have the behavior of e.g.: \breathe to make sort of > > a barline that would be a full staff height brace ? The \caesura, > > \breathe, etc are effectively taking the required (horizontal) place > > in the score. Maybe I can just change the stencil ? I'll try that. > > > > {r2 r4 \breathe c' |} > > > > Thanks for any pointers :-) > > -- > > Pierre-Luc Gauthier > > > > -- > Pierre-Luc Gauthier -- Pierre-Luc Gauthier \version "2.25.15" \language "english" #(define-markup-command (long-curly-bracket layout props arg-height) (number?) "Draw a curly bracket with a variable length." (interpret-markup layout props (markup #:translate (cons 0 (* arg-height -1)) (#:with-dimensions (cons -0.001 0) (cons 0.001 0) (#:override (cons (quote filled) #t) (#:path 0.01 `( (moveto -0.8 0.0) (curveto -0.2 0.4 -0.3 0.7 -0.3 1.5) (lineto -0.3 ,arg-height) (curveto -0.4 ,(+ arg-height 1.3) 0.5 ,(+ arg-height 2.8) 0.7 ,(+ arg-height 2.8)) (curveto 0.6 ,(+ arg-height 2.5) 0.1 ,(+ arg-height 2) 0.1 ,arg-height) (lineto0.1 1.5) (curveto 0.1 0.7 0.1 0.0 -0.8 0.0) (closepath) (curveto -0.2 -0.4 -0.3 -0.7 -0.3 -1.5) (lineto -0.3 ,(* arg-height -1)) (curveto -0.4 ,(* (+ arg-height 1.3) -1) 0.5 ,(* (+ arg-height 2.8) -1) 0.7 ,(* (+ arg-height 2.8) -1))
Re: Conductor cues using braces
\version "2.25.15" \language "english" % _taken from the LSR : #(define-markup-command (long-curly-bracket layout props arg-height) (number?) "Draw a curly bracket with a variable length." (interpret-markup layout props (markup #:translate (cons 0 (* arg-height -1)) (#:with-dimensions (cons -0.001 0) (cons 0.001 0) (#:override (cons (quote filled) #t) (#:path 0.01 `( (moveto -0.8 0.0) (curveto -0.2 0.4 -0.3 0.7 -0.3 1.5) (lineto -0.3 ,arg-height) (curveto -0.4 ,(+ arg-height 1.3) 0.5 ,(+ arg-height 2.8) 0.7 ,(+ arg-height 2.8)) (curveto 0.6 ,(+ arg-height 2.5) 0.1 ,(+ arg-height 2) 0.1 ,arg-height) (lineto0.1 1.5) (curveto 0.1 0.7 0.1 0.0 -0.8 0.0) (closepath) (curveto -0.2 -0.4 -0.3 -0.7 -0.3 -1.5) (lineto -0.3 ,(* arg-height -1)) (curveto -0.4 ,(* (+ arg-height 1.3) -1) 0.5 ,(* (+ arg-height 2.8) -1) 0.7 ,(* (+ arg-height 2.8) -1)) (curveto 0.6 ,(* (+ arg-height 2.5) -1) 0.1 ,(* (+ arg-height 2) -1) 0.1 ,(* arg-height -1)) (lineto0.1 -1.5) (curveto 0.1 -0.7 0.1 0.0 -0.8 0.0) (closepath conductorCue = \tag #'conductorOnly { \once \override Staff.BreathingSign.stencil = #ly:text-interface::print \once \override Staff.BreathingSign.padding = #10 \once \override Staff.BreathingSign.text = \markup { %\override #'((style . outline) (thickness . 1)) %\whiteout \lower #1 \with-color #red \long-curly-bracket #1 } \breathe } {r2 r4 \conductorCue c' |} Which gives pic related. It works so I'll try to deploy it to 15 songs -_-' … (Big rehearsal tonight 100+ musicians !!! (is excited)) Le mer. 8 mai 2024, à 10 h 19, Pierre-Luc Gauthier a écrit : > > Hello there, > > Originaly : > https://lists.gnu.org/archive/html/lilypond-user/2017-11/msg00303.html > > I still never got to add cue notes in my conductor scores to help me > during rehearsals. Obviously, I could write them by hand but I > (re-)compile my parts way too often for that. > > I have lowered my expectation on having braces that could go across > staves but rather would go for single staff "cueing" notation as can > be seen for the violin1 and viola example in the attached image. > > Is it possible to have the behavior of e.g.: \breathe to make sort of > a barline that would be a full staff height brace ? The \caesura, > \breathe, etc are effectively taking the required (horizontal) place > in the score. Maybe I can just change the stencil ? I'll try that. > > {r2 r4 \breathe c' |} > > Thanks for any pointers :-) > -- > Pierre-Luc Gauthier -- Pierre-Luc Gauthier
Conductor cues using braces
Hello there, Originaly : https://lists.gnu.org/archive/html/lilypond-user/2017-11/msg00303.html I still never got to add cue notes in my conductor scores to help me during rehearsals. Obviously, I could write them by hand but I (re-)compile my parts way too often for that. I have lowered my expectation on having braces that could go across staves but rather would go for single staff "cueing" notation as can be seen for the violin1 and viola example in the attached image. Is it possible to have the behavior of e.g.: \breathe to make sort of a barline that would be a full staff height brace ? The \caesura, \breathe, etc are effectively taking the required (horizontal) place in the score. Maybe I can just change the stencil ? I'll try that. {r2 r4 \breathe c' |} Thanks for any pointers :-) -- Pierre-Luc Gauthier
Tie between staves of a PianoStaff
Is there a simple solution for putting a tie between staves of a pianostaff? I need to tie a note of the lower voice on the upper staff to a note of the upper voice on the lower staff. I found this on StackExchange: https://music.stackexchange.com/questions/74383/lilypond-ties-across-staves but it's five years old and seems rather difficult to implement. I use version 2.24.2 on Debian.
Re: Spacing in mensural notation
On Wed, 2024-05-08 at 09:40 +, Giles Boardman wrote: > Hi Graham, > > Copylist duly noted - I wasn't sure of etiquette. > > There is nothing else to my script, so unless it's part of the > "mensural" set up, there is no \paper { ragged-right = ##t } or any > other related setting. Sorry, I was unclear: you are likely to _need_ ragged-right, otherwise the right-justification of the staves will trump the tight spacing of the mensural notation. > > What I meant by the other remark was exactly what you did when you > said "\break is your friend" - the documentation is excellent, once > I've figured out what to look for, so the trick is to know what > things are called. Using \melisma is a case in point. I'm not > familiar with the term so I didn't know to look for it and got to it > because it's in a snippet I copied because I recognized the note > shapes. So, telling me "read up about \blah" is really helpful. It's > great to get a leg up but obviously I need to learn, in order to be > self-sufficient. Everyone is recommended to read the Learning Manual of course. > The sleuthing is fun too, but sometimes you just want the answer That's what we're all here for :) > > Best > > Giles > > > From: Graham King > Sent: 08 May 2024 10:20 > To: Giles Boardman ; lilypond- > u...@gnu.org > Subject: Re: Spacing in mensural notation > > Hi Giles, > please copy the list: it helps others, and you might get better > advice than I can offer. > > Thoughts interspersed below... > > On Wed, 2024-05-08 at 07:56 +, Giles Boardman wrote: > > Hello Graham, > > > > This is perfect, except it only affects the last line. The lines > > wrap and the rests are where they should be in relation to the rest > > of the notes, but only the portion on the last line has been re- > > spaced. > > Do you have this line? > \paper { ragged-right = ##t } > > > It sounds like you might have ragged-last = ##t set somewhere. > > > I'm going to look at treating each line in the original as a new > > piece of music. > > That sounds like a difficult way to set about things. \break is your > friend, once we've solved the problem above. > > > Then I could mimic the original layout, which would be the best > > solution for comparison anyway. So far I've mainly been working on > > getting data into Lilypond so I can see whathappens ot it when I > > stat to play around, so any suggestions as to how to go about this > > and what to be looking for in the documentation would be most > > welcome. > > I'm not sure I understand what you're asking here. For keeping > changes under control, a revision control system such as git is > invaluable. > For searching the documentation, the index in the back of the > Notation Reference (NR) is invaluable. And the Snippets Repository > athttps://lsr.di.unimi.it/LSR/ and the mailing list archive at > https://lists.gnu.org/archive/html/lilypond-user/ can be very > helpful. > > > > Best > > > > Giles > > > >
Re: Spacing in mensural notation
Hi Graham, Copylist duly noted - I wasn't sure of etiquette. There is nothing else to my script, so unless it's part of the "mensural" set up, there is no \paper { ragged-right = ##t } or any other related setting. What I meant by the other remark was exactly what you did when you said "\break is your friend" - the documentation is excellent, once I've figured out what to look for, so the trick is to know what things are called. Using \melisma is a case in point. I'm not familiar with the term so I didn't know to look for it and got to it because it's in a snippet I copied because I recognized the note shapes. So, telling me "read up about \blah" is really helpful. It's great to get a leg up but obviously I need to learn, in order to be self-sufficient. The sleuthing is fun too, but sometimes you just want the answer Best Giles From: Graham King Sent: 08 May 2024 10:20 To: Giles Boardman ; lilypond-user@gnu.org Subject: Re: Spacing in mensural notation Hi Giles, please copy the list: it helps others, and you might get better advice than I can offer. Thoughts interspersed below... On Wed, 2024-05-08 at 07:56 +, Giles Boardman wrote: Hello Graham, This is perfect, except it only affects the last line. The lines wrap and the rests are where they should be in relation to the rest of the notes, but only the portion on the last line has been re-spaced. Do you have this line? \paper { ragged-right = ##t } It sounds like you might have ragged-last = ##t set somewhere. I'm going to look at treating each line in the original as a new piece of music. That sounds like a difficult way to set about things. \break is your friend, once we've solved the problem above. Then I could mimic the original layout, which would be the best solution for comparison anyway. So far I've mainly been working on getting data into Lilypond so I can see whathappens ot it when I stat to play around, so any suggestions as to how to go about this and what to be looking for in the documentation would be most welcome. I'm not sure I understand what you're asking here. For keeping changes under control, a revision control system such as git is invaluable. For searching the documentation, the index in the back of the Notation Reference (NR) is invaluable. And the Snippets Repository at https://lsr.di.unimi.it/LSR/ and the mailing list archive at https://lists.gnu.org/archive/html/lilypond-user/ can be very helpful. Best Giles
Re: Spacing in mensural notation
Hi Giles, please copy the list: it helps others, and you might get better advice than I can offer. Thoughts interspersed below... On Wed, 2024-05-08 at 07:56 +, Giles Boardman wrote: > Hello Graham, > > This is perfect, except it only affects the last line. The lines wrap > and the rests are where they should be in relation to the rest of the > notes, but only the portion on the last line has been re-spaced. Do you have this line? \paper { ragged-right = ##t } > It sounds like you might have ragged-last = ##t set somewhere. > I'm going to look at treating each line in the original as a new > piece of music. That sounds like a difficult way to set about things. \break is your friend, once we've solved the problem above. > Then I could mimic the original layout, which would be the best > solution for comparison anyway. So far I've mainly been working on > getting data into Lilypond so I can see whathappens ot it when I stat > to play around, so any suggestions as to how to go about this and > what to be looking for in the documentation would be most welcome. I'm not sure I understand what you're asking here. For keeping changes under control, a revision control system such as git is invaluable. For searching the documentation, the index in the back of the Notation Reference (NR) is invaluable. And the Snippets Repository at https://lsr.di.unimi.it/LSR/ and the mailing list archive at https://lists.gnu.org/archive/html/lilypond-user/ can be very helpful. > > Best > > Giles >
Re: Adjusting instrumentation of a MIDI output?
Hi. Le mer. 8 mai 2024 à 06:54, Alasdair McAndrew a écrit : > > Hello, > > I've set various instruments for my MIDI output (from an early 18th century > piece), but I have a new soundfont with better instruments. Is there any way > I can get lilypond to pick up, as it were, the instrument from this > soundfont? As it is, I just set the Staff.midiInstrument to one of the > standard values, and lilypond does the rest. But I'd like to mix and match, > as it were, instruments from different soundfonts. Which soundfont is used when listening to a MIDI [1] file depends on the configuration of the MIDI player (IOW, LilyPond has nothing to do with that). Regards, Gilles [1] https://en.wikipedia.org/wiki/General_MIDI