Re: Double bar notation in middle of measure
Huh, I (obviously) didn't realize that \bar didn't do bar checks; it didn't even occur to me that it might not, so I didn't try it. Thanks! Evan On Fri, Feb 17, 2023 at 12:42 AM Jean Abou Samra wrote: > Le vendredi 17 février 2023 à 07:31 +0100, Jean-Julien Fleck a écrit : > > Have you tried ? > It seems to me that \bar doesn't perform any bar-check as to be able to > break a line inside a mesure, you just insert an invisible bar with \bar "" > > \bar "" is actually not necessary or recommended anymore for that purpose > (just use \break or \allowBreak), but \section or \bar "||" is indeed the > way to go here. >
Re: Custom dynamic text with spanner
Le vendredi 17 février 2023 à 00:45 -0600, Evan Driscoll a écrit : > On Fri, Feb 17, 2023 at 12:40 AM Jean Abou Samra > <[j...@abou-samra.fr](mailto:j...@abou-samra.fr)> wrote:It works like this > too: ``` > \version "2.24.0" > > > > { > > \once \set crescendoText = "molto cresc." > > c'1\cresc c' c'\! > > } > > ``` > > This one does *not* work for me. > > Perhaps it's a version difference. For example, > [hacklily.org](http://hacklily.org) with version changed to 2.22.1 (it's > default) renders that with a cresc. I sent the wrong code, sorry. ``` \version "2.24.0" { c'1\withMusicProperty span-text "molto cresc." \cresc c' c' c'\! } ``` signature.asc Description: This is a digitally signed message part
Re: Custom dynamic text with spanner
On Fri, Feb 17, 2023 at 12:40 AM Jean Abou Samra wrote: > It works like this too: > > \version "2.24.0" > > { > \once \set crescendoText = "molto cresc." > c'1\cresc c' c'\! > } > > This one does *not* work for me. Perhaps it's a version difference. For example, hacklily.org with version changed to 2.22.1 (it's default) renders that with a cresc. Evan
Re: Double bar notation in middle of measure
Le vendredi 17 février 2023 à 07:31 +0100, Jean-Julien Fleck a écrit : > Have you tried ? > It seems to me that \bar doesn't perform any bar-check as to be able to break > a line inside a mesure, you just insert an invisible bar with \bar "" `\bar ""` is actually not necessary or recommended anymore for that purpose (just use `\break` or `\allowBreak`), but `\section` or `\bar "||"` is indeed the way to go here. signature.asc Description: This is a digitally signed message part
Re: Custom dynamic text with spanner
Le vendredi 17 février 2023 à 00:31 -0600, Evan Driscoll a écrit : > > On Fri, Feb 17, 2023 at 12:17 AM Michael Werner > <[reznae...@gmail.com](mailto:reznae...@gmail.com)> wrote: > > > Short version:\set crescendoText = \markup { \italic { molto cresc } } > > \set crescendoSpanner = #'text > > should be either what you're wanting or pretty close to it. > > > Oh, I see, thank you very much! > > I actually saw that and tried to try it out, but I kind of glossed over that > what was being modified was the behavior of \< instead of the text-based > commands. I was using those lines with \cresc. It works like this too: ``` \version "2.24.0" { \once \set crescendoText = "molto cresc." c'1\cresc c' c'\! } ``` signature.asc Description: This is a digitally signed message part
Re: Double bar notation in middle of measure
Hello Evan, Le ven. 17 févr. 2023 à 06:12, Evan Driscoll a écrit : > I'm trying to re-engrave part of a part that has an admittedly-weird > double bar indication in the middle of a measure. You can see what I mean, > with context, here: https://imgur.com/BnpooBh (measure 49, aka C). > > How can I get that in Lilypond? Obviously `\bar "||"` will give a failed > barcheck. I tried \section, but that does the same thing. > Have you tried ? It seems to me that \bar doesn't perform any bar-check as to be able to break a line inside a mesure, you just insert an invisible bar with \bar "" For me, this seems to give the right result: \version "2.25.1" \relative c'{ c2 \bar "||" c2 c1 } Hope this helps, -- JJ Fleck Physique et Informatique PCSI1 Lycée Kléber
Re: Custom dynamic text with spanner
On Fri, Feb 17, 2023 at 12:17 AM Michael Werner wrote: > Short version: > \set crescendoText = \markup { \italic { molto cresc } } > \set crescendoSpanner = #'text > should be either what you're wanting or pretty close to it. > Oh, I see, thank you very much! I actually saw that and tried to try it out, but I kind of glossed over that what was being modified was the behavior of \< instead of the text-based commands. I was using those lines with \cresc. Thanks very much! Evan
Re: Custom dynamic text with spanner
Hi Evan - Just above the section you linked to is a bit titled "Changing text and spanner styles for text dynamics" that seems to be what you're asking about. Short version: \set crescendoText = \markup { \italic { molto cresc } } \set crescendoSpanner = #'text should be either what you're wanting or pretty close to it. Michael On Fri, Feb 17, 2023 at 1:06 AM Evan Driscoll wrote: > The manual describes ( > http://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks) > how to create new dynamics with custom markup... > > ...but it doesn't say how to combine that with an indication like "cresc." > that gets a spanner attached to it, and my searches and playing around > aren't turning up anything. > > How would I do something like \cresc (with its default behavior of > emitting a spanner) but with custom text, e.g. "molto cresc"? > > Evan >
Custom dynamic text with spanner
The manual describes ( http://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks) how to create new dynamics with custom markup... ...but it doesn't say how to combine that with an indication like "cresc." that gets a spanner attached to it, and my searches and playing around aren't turning up anything. How would I do something like \cresc (with its default behavior of emitting a spanner) but with custom text, e.g. "molto cresc"? Evan
Double bar notation in middle of measure
I'm trying to re-engrave part of a part that has an admittedly-weird double bar indication in the middle of a measure. You can see what I mean, with context, here: https://imgur.com/BnpooBh (measure 49, aka C). How can I get that in Lilypond? Obviously `\bar "||"` will give a failed barcheck. I tried \section, but that does the same thing. About the best way I can come up with is to change the time signature to 2/4 for that measure, but hide the time signature change. Can I do better? Evan
RE: Programming error with change staff
Knute, Running your MWE under 2.22.2 it complies without a hitch. Mark From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Knute Snortum Sent: Thursday, February 16, 2023 10:09 AM To: lilypond-user@gnu.org Subject: Programming error with change staff I have run into a situation where LilyPond produces a programming error. It involves changing staff, voice one, accent fingering and avoid-slur. It's best to just look at the MWE: \version "2.25.1" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rightHand = { \new Voice { \voiceOne \staffDown g16->-1( \staffUp c' c' \staffDown g) } } leftHand = { \new Voice { \clef bass s4 } } \score { \new PianoStaff \with { \override Fingering.avoid-slur = #'inside } << \new Staff = "upper" \rightHand \new Staff = "lower" \leftHand >> } There may be a way to get this smaller, but I couldn't find it. Is there a way around this bug as it is affecting my current project? -- Knute Snortum
Programming error with change staff
I have run into a situation where LilyPond produces a programming error. It involves changing staff, voice one, accent fingering and avoid-slur. It's best to just look at the MWE: \version "2.25.1" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" rightHand = { \new Voice { \voiceOne \staffDown g16->-1( \staffUp c' c' \staffDown g) } } leftHand = { \new Voice { \clef bass s4 } } \score { \new PianoStaff \with { \override Fingering.avoid-slur = #'inside } << \new Staff = "upper" \rightHand \new Staff = "lower" \leftHand >> } There may be a way to get this smaller, but I couldn't find it. Is there a way around this bug as it is affecting my current project? -- Knute Snortum
Re: vertical spacing of footnotes
I've further refined and simplified the footnote spacing example; it is now available in the LSR https://lsr.di.unimi.it/LSR/Item?id=1165 Werner
Re: Pedal reminder
Hi Leo! > Is there any way to make lilypond automagically place a reminder of a held > pedal note at the beginning of each system it still sounds, looking somewhat > like the second supplied example, but without having to do it by hand? This sounds like a job for… Scheme Engraver!! :) I’ve done this manually for years, so I should take this on as a learning curve exercise. (Unless of course Jean beats me to the punch with one of his patented 1-Minute SuperHax™!) Cheers, Kieren
Pedal reminder
Dear list! Is there any way to make lilypond automagically place a reminder of a held pedal note at the beginning of each system it still sounds, looking somewhat like the second supplied example, but without having to do it by hand? \score { \new StaffGroup << \new Staff \repeat unfold 20 { c''4 b' g' a' } \new Staff \new Voice \with { \remove Forbid_line_break_engraver } { e'\breve*10 } >> \layout { \context { \Staff \omit BarLine }}} \score { \new StaffGroup << \new Staff \repeat unfold 20 { c''4 b' g' a' } \new Staff \new Voice \with { \remove Forbid_line_break_engraver } { e'\breve*3 \parenthesize e'\breve*7/2 \repeatTie \parenthesize e'\breve*7/2 \repeatTie} >> \layout { \context { \Staff \omit BarLine }}} Thanks a lot! /Leo
Re: LilyPond has been updated on BytesIn
Le jeudi 16 février 2023 à 08:53 +, BytesIn a écrit : > We've sent this email because we have updated > LilyPond and this was the contact email supplied for the application. > > **Your application update status** > LilyPond has been updated on BytesIn.com to the > 2.24.1 version. > You can check out your application listed our site > at: https://www.bytesin.com/software/LilyPond/ > > If you want to let your users know about your > software page on BytesIn to rate it, review it or share it, you can use our > download banner below. > > If you do not wish to receive any further > notifications or confirmations from BytesIn, please send us an email to > remove your email from our database. Keep in mind that this means you will > not receive ANY further contact from us, including: listing promotions, > update confirmations or security alerts. Sorry for letting this slip through moderation, I clicked in the wrong place. signature.asc Description: This is a digitally signed message part
LilyPond has been updated on BytesIn
We've sent this email because we have updated LilyPond and this was the contact email supplied for the application. Your application update status LilyPond has been updated on BytesIn.com to the 2.24.1 version. You can check out your application listed our site at: https://www.bytesin.com/software/LilyPond/ If you want to let your users know about your software page on BytesIn to rate it, review it or share it, you can use our download banner below. If you do not wish to receive any further notifications or confirmations from BytesIn, please send us an email to remove your email from our database. Keep in mind that this means you will not receive ANY further contact from us, including: listing promotions, update confirmations or security alerts. Regards, Cezar Renta - Senior Editor BytesIn www.bytesin.com
Re: Problem with `\acciaccatura` and `\cueDuring`
>> [...] after doing a grep over the git repository, which leads me to >> `property-iterator.cc`, it's not really clear to me what's going >> on... > > Well, you can find it in `define-event-classes.scm`. It's the event > class for events created by `\override`s. Ah, yes, I missed that while doing `git grep`. Werner
Re: Problem with `\acciaccatura` and `\cueDuring`
Le jeudi 16 février 2023 à 06:30 +, Werner LEMBERG a écrit : > ``` > > >> As can be seen, the acciaccatura neither has a slash nor a slur if > >> quoted. [...] > > > > This looks like a real bug, please file an issue. > > [https://gitlab.com/lilypond/lilypond/-/issues/6531](https://gitlab.com/lilypond/lilypond/-/issues/6531) > > > AFAICS, this works: > > > > ``` > > \version "2.25.2" > > > > \layout { > > \context { > > \Score > > quotedCueEventTypes = #'( > > note-event > > rest-event > > tie-event > > beam-event > > tuplet-span-event > > tremolo-event > > Override) > > } > > } > > Thanks. You are a magician! 'Override' is of course undocumented, > and even after doing a grep over the git repository, which leads me to > `property-iterator.cc`, it's not really clear to me what's going on... Well, you can find it in `define-event-classes.scm`. It's the event class for events created by `\override`s. ``` \version "2.25.2" \new Voice \with { \consists #(lambda (context) (make-engraver (listeners ((StreamEvent engraver event) (ly:message "~s" (ly:event-property event 'class)) } { \override Flag.stroke-style = "grace" c' } ``` ⇒ ``` (Revert StreamEvent) (Override StreamEvent) (note-event melodic-event rhythmic-event music-event StreamEvent) ``` > BTW, this source code file also mentions a 'Revert' event type – > shouldn't this be added, too (in general, I mean, not for this > specific situation)? Probably. There are also `SetProperty` and `UnsetProperty`. signature.asc Description: This is a digitally signed message part