Re: setting partCombine text at a higher level
Thank you! That's perfect. The somewhat standard names I would use are: soloText = I soloIIText = II I should have mentioned that I always use the unstable version. Stay safe, Paul On 5/11/21 6:00 PM, Aaron Hill wrote: On 2021-05-11 5:44 pm, Paul Scott wrote: Greetings, Can the variables? soloText and its companions soloIIText, etc. be set at a higher level than \new Staff so it doesn't have to be repeated for each staff? (Notation Manual 1.5.2) You can do it more globally in a \layout block if you want it to apply to all staves. Otherwise, put the variable definitions in a \with block that can be referenced on individual staves. \version "2.22.0" \layout { \context { \Staff soloText = girl soloIIText = boy aDueText = together } } combineTexts = \with { soloText = cat soloIIText = dog } \new Staff << \partCombine \relative c'' { g4 g r r a2 g } \relative c'' { r4 r a( b) a2 g } >> \new Staff \with \combineTexts << \partCombine \relative c'' { g4 g r r a2 g } \relative c'' { r4 r a( b) a2 g } >> -- Aaron Hill
Re: setting partCombine text at a higher level
On 2021-05-11 5:44 pm, Paul Scott wrote: Greetings, Can the variables? soloText and its companions soloIIText, etc. be set at a higher level than \new Staff so it doesn't have to be repeated for each staff? (Notation Manual 1.5.2) You can do it more globally in a \layout block if you want it to apply to all staves. Otherwise, put the variable definitions in a \with block that can be referenced on individual staves. \version "2.22.0" \layout { \context { \Staff soloText = girl soloIIText = boy aDueText = together } } combineTexts = \with { soloText = cat soloIIText = dog } \new Staff << \partCombine \relative c'' { g4 g r r a2 g } \relative c'' { r4 r a( b) a2 g } >> \new Staff \with \combineTexts << \partCombine \relative c'' { g4 g r r a2 g } \relative c'' { r4 r a( b) a2 g } >> -- Aaron Hill
setting partCombine text at a higher level
Greetings, Can the variables? soloText and its companions soloIIText, etc. be set at a higher level than \new Staff so it doesn't have to be repeated for each staff? (Notation Manual 1.5.2) Thank you, Paul
PIano: Partial Pedalling
Dear All, I've tinkered about some more with partial pedalling and gradual sustain pedal release, and here's some code (some of it copied/adapted from the internet) that seems to work, even though in some respects it shouldn't: \version "2.20.0" \relative c'' { \set Staff.pedalSustainStyle = #'bracket % 1. standard sustain pedal behaviour c1\sustainOn c \sustainOff \sustainOn c\sustainOff c % 2. gradual pedal release indicated by dashed line \once \override Staff.PianoPedalBracket.edge-height = #' (1 . 0) c1\sustainOn \once \override Staff.PianoPedalBracket.bracket-flare = #'(0 . 14.5) \once \override Staff.PianoPedalBracket.edge-height = #' (0 . 1) \once \override Staff.PianoPedalBracket.style = #'dashed-line c \sustainOff \sustainOn c c4\sustainOn \sustainOff c c c % 3. 1/2 pedal instruction \set Staff.pedalSustainStyle = #'mixed \once \override Staff.PianoPedalBracket.edge-height = #' (0 . 1) \override Staff.PianoPedalBracket.bracket-flare = #'(8 . 0) \once \override Staff.SustainPedal #'stencil = #(lambda (grob) (grob-interpret-markup grob (markup "½"))) c1\sustainOn c c \sustainOff } In the second snippet, the slanted pedal release line ONLY works if \sustainOff in the final line is preceded by \sustainOn; otherwise the line remains horizontal. It doesn't make complete sense to me, since there's already a \sustainOn in the preceding line. So this is probably isn't how it's supposed to be done, but for now it offers a simple way of notating gradual sustain pedal release. Jan
Re: Rehearsal mark and fermata over bar line
On 2021-05-11 10:03 am, Rachel Green wrote: Hi, How can I add two marks over a bar line - both a fermata and a rehearsal mark? I figured out how to do each separately, but LilyPond will only show one of them. Best, Rachel \version "2.20.0" \relative c { \time 4/4 \clef C c1 \mark \default \mark \markup { \musicglyph #"scripts.ufermata"} r4 r4 } LSR 202 [1] demonstrates how to include a segno/coda sign as part of a single RehearsalMark. LSR 575 [2] uses a hidden measure to make it appear that you have two RehearsalMarks at the same point in the music. LSR 976 [3] implements its own custom engraver to support an arbitrary number of RehearsalMarks. [1]: https://lsr.di.unimi.it/LSR/Item?id=202 [2]: https://lsr.di.unimi.it/LSR/Item?id=575 [3]: https://lsr.di.unimi.it/LSR/Item?id=976 -- Aaron Hill
Rehearsal mark and fermata over bar line
Hi, How can I add two marks over a bar line - both a fermata and a rehearsal mark? I figured out how to do each separately, but LilyPond will only show one of them. Best, Rachel \version "2.20.0" \relative c { \time 4/4 \clef C c1 \mark \default \mark \markup { \musicglyph #"scripts.ufermata"} r4 r4 }
Re: What usb keyboard to enter voices into lilypond? What other hardware and/or Software is indispensable?
Am 11.05.2021 um 16:38 schrieb David Kastrup: > Bernhard Kleine writes: > >>> Am 24.03.2021 um 09:59 schrieb: you plug it into your desktop via USB and it works? Or do I have to install other software to make it working? For windows no driver to install. You just plug in and enable the Frescobaldi midi input feature. Absolutely trivial. Ciao, g. >> I bought an Alesis V61. Enabling the Port was done in no time. Then I >> went into a score and tried to enter notes by typing on the keyboard. >> Nothind happens. I installed the apleton live lite software to check >> whether there was a general error. However apleton reacted to >> keystrokes . What did I do wrong or what has been left out? > Did you enable the Frescobaldi Midi input feature? What settings have > you tried? In the meanwhile I noticed that input via Keyboard had to activated and everything is working now. -- spitzhalde9 D-79853 lenzkirch bernhard.kle...@gmx.net www.b-kleine.com, www.urseetal.net Ich darf auf mein neues Buch "670 Falterarten im Hochschwarzwald" aufmerksam machen (Infos bei mir) - thunderbird GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09 OpenPGP_signature Description: OpenPGP digital signature
Re: What usb keyboard to enter voices into lilypond? What other hardware and/or Software is indispensable?
Bernhard Kleine writes: >> Am 24.03.2021 um 09:59 schrieb: >>> >>> you plug it into your desktop via USB and it works? Or do I have >>> to install other software to make it working? >>> >>> For windows no driver to install. You just plug in and enable the >>> Frescobaldi midi input feature. Absolutely trivial. >>> >>> Ciao, g. >> > > I bought an Alesis V61. Enabling the Port was done in no time. Then I > went into a score and tried to enter notes by typing on the keyboard. > Nothind happens. I installed the apleton live lite software to check > whether there was a general error. However apleton reacted to > keystrokes . What did I do wrong or what has been left out? Did you enable the Frescobaldi Midi input feature? What settings have you tried? -- David Kastrup
Re: What usb keyboard to enter voices into lilypond? What other hardware and/or Software is indispensable?
I bought an Alesis V61. Enabling the Port was done in no time. Then I went into a score and tried to enter notes by typing on the keyboard. Nothind happens. I installed the apleton live lite software to check whether there was a general error. However apleton reacted to keystrokes . What did I do wrong or what has been left out? BTW win10-64. KR Bernhard Am 24.03.2021 um 09:59 schrieb Gianmaria Lari: you plug it into your desktop via USB and it works? Or do I have to install other software to make it working? For windows no driver to install. You just plug in and enable the Frescobaldi midi input feature. Absolutely trivial. Ciao, g.
Re: Tempo marking with 2 notes
Indeed, I had missed that portion of the documentation.. I was able to adapt it and make it work. Thank you! -Ahanu On Mon, May 10, 2021, 22:13 Peter Chubb wrote: > > "Ahanu" == Ahanu Banerjee writes: > > > Ahanu> Can anyone provide a simple way to make a tempo marking like > Ahanu> this: "♩= 텞 " ? > > Something like this? > > \version "2.22.0" > > \score { > \new Staff { \time 3/4 r2.^ >\markup { >\note {2.} #UP >= >\note {2} #UP > } >| >\time 2/4 r2 > } > } > > See http://lilypond.org/doc/v2.22/Documentation/notation/music for the > markup syntax. Earlier versions used #"2." instead of {2.} for the > durations. > > Peter C > >
Re: Horizontal beam parallel to staff
Thank you both, very helpful! Cheers, -Ahanu On Tue, May 11, 2021, 01:02 Aaron Hill wrote: > On 2021-05-10 9:10 pm, Pierre Perol-Schneider wrote: > > Hi Ahanu, > > How about: > > > > \version "2.20.0" > > { > > %\override Beam.damping = #5 > > \override Beam.positions = #'(5 . 5) > > g''8 b b c'' c'' b b g'' > > } > > And for an automated approach: > > > \version "2.22.0" > > #(define NEAR -1) > #(define FAR 1) > flattenPositions = > #(define-scheme-function >(rel-pos) (number?) >(grob-transformer 'positions > (lambda (grob orig) > (let* ((dir (ly:grob-property grob 'direction)) > (ys (ordered-cons (car orig) (cdr orig))) > (y (interval-index ys (* dir rel-pos > (cons y y) > > { >\override Beam.positions = \flattenPositions #NEAR >g''8 b b c'' a' b'' b'' d' >\override Beam.positions = \flattenPositions #CENTER >g''8 b b c'' a' b'' b'' d' >\override Beam.positions = \flattenPositions #(* 2 FAR) >g''8 b b c'' a' b'' b'' d' > } > > > > -- Aaron Hill >
Re: Horizontal beam parallel to staff
Le 11/05/2021 à 04:03, Ahanu Banerjee a écrit : I know it is not standard practice, but I am looking for a way to make beams parallel to staff despite the noteheads on either side of the beam having different vertical positions on the staff. Setting beam damping to a high value reduces the slope substantially, but it doesn't go to zero. Can someone suggest a way to do this? \version "2.20.0" { \override Beam.damping = #5 g''8 b b c'' c'' b b g'' } Thanks, -Ahanu Hello, \override Beam.damping = #+inf.0 is supposed to do the trick. A bug that used to prevent it from working in all cases (not this one though) was fixed in version 2.21.0 (https://gitlab.com/lilypond/lilypond/-/issues/1493). { \override Beam.damping = #+inf.0 g''8 b b c'' c'' b b g'' } Best, Jean
Re: Part text vs Score text
Maybe the attached example will help you. Otherwise, post an MWE (Minimun Working Example) on this list, needed to help you more.JM ControllingTempoMarkinksMultipleOccurrences.ly Description: Binary data On 11 mai 2021, at 00:47, Gabriel Borinwrote:Sorry Jacques, I wasn't able to do it through my phone when I first wrote the email.So, here it is. First, there is a selection of the alto part. The text "Samba" coincides in its position in all the parts, so in the Score I would like to get it just once.On the other hand, some parts get the text "open" in different places (for example, the soloist of that specific section gets it just before the repeat sign, while the others have silence). With that scenario, I couldn't write a variable with all the markings, since they would vary. My problems now is that, since I imported the text in all the parts (I created a variable to each of them), when I include it in the Score, it becomes messy and redundant (as you can see from the second image).How would be a better way to approach this?GBEm seg., 10 de mai. de 2021 às 17:03, Jacques Menu escreveu:Hello Gabriel, Can you post an image of what you’re after? JM > On 10 mai 2021, at 21:00, Gabriel Borin wrote: > > Hello, > > I have a question regarding the best way to manage score texts and part text: after migrating to Lilypond from Musescore (an other WYSIWYG editors), I miss the functionality of the Score Texts that affects all parts, and the part text that is not displayed in the score. How is the best way to achieve this in Lilypond? > > Also, some of the text I put on parts seem to misalign when transported to the score, and I don't know how to fix it without affecting the part. How can I handle this better? > > > Sincerely, > > Gabriel >
Re: Piano: partial pedalling
Many thanks for this, Aaron; it's very useful and I could never have coded this myself. I've meanwhile done some more searching and the 'pedal-decorations' notation snippets in OpenLilyLib also go quite a long way towards doing what I'm looking for. Jan Van: Aaron Hill Verzonden: maandag 10 mei 2021 21:57 Aan: Dijkhuizen, J.F. van CC: lilypond-user@gnu.org Onderwerp: Re: Piano: partial pedalling On 2021-05-10 11:38 am, Dijkhuizen, J.F. van wrote: > Dear All, > > I was wondering if anybody knows if it's possible to notate partial > sustain pedalling in LilyPond (essentially 1/4. half-pedal, 3/4 > pedal), and if so how. > > There seems to be nothing about it in the manual, and I've not been > able to find anything online that I am able to use. Ideally, I'd like > to be able to notate pedal level changes by means of a line, as is > possible in Dorico, for example: > > However, just being able to specify '1/2' at the beginning of a pedal > line, and, for example, 'release pedal slowly' at tthe end of a pedal > line, would be great too. > > Any help with this would be really appreciated! There are a few ad hoc solutions if you search the archives. You can see if my hack [1] to the PianoPedalBracket stencil a few years ago would be of any use. [1]: https://lists.gnu.org/archive/html/lilypond-user/2019-01/msg00522.html -- Aaron Hill