Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 18:31, Graham King a écrit : I'm preparing an edition of de Wert's motet "Ascendente Jesu in naviculam" which has an extended stretto section with dotted rhythms across barlines. For this, Harm's Mensurstriche example in the Learning Manual produces a mostly beautiful result.

Re: Completion_heads_engraver for line-ends only?

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 20:33, Graham King a écrit : I'm not really sure what best practice is here; it might be that these collisions are just to be expected? (I can certainly live with them). I don't have experience with this type of music, but my first question would be: what is the alternative?

Re: Help understanding event listeners

2023-01-17 Thread Jean Abou Samra
Le 17/01/2023 à 10:10, Saul Tobin a écrit : What I can't figure out is why when my autoKeysigEngraver broadcasts a KeyChangeEvent, it gets picked up by the Key_engraver but not by the autoTransposeEngraver. What do you mean? If I insert ly:message calls, I see the event from autoKeySigEngrave

Re: irrational meters

2023-01-17 Thread Jean Abou Samra
Le 18/01/2023 à 01:08, David Zelinsky a écrit : As another professional number theorist and musician (though not a composer), I also find this use of "irrational" to mean "non-dyadic" very grating. But I once said as much on the Music Engraving Tips facebook group, and got summarily shot down as

Re: irrational meters

2023-01-17 Thread Jean Abou Samra
Le 18/01/2023 à 01:29, David Zelinsky a écrit : No, it's really not quirky. A "rational" number is a ratio of two integers. An irrational number is one that cannot be so expressed. The word "ratio" comes from Latin for calculation. The common english usage of "rational" meaning sensible presu

Re: Title font changed?

2023-01-18 Thread Jean Abou Samra
Le 14/01/2023 à 10:30, Bart Kummel a écrit : Hi Jean, Thanks for your reply. Very insightful! I wonder why Google didn’t come up with a link to this issue… Anyway, it looks like the solution will be merged into Homebrew’s main soon. I might be able to just wait for it. I’ll keep an eye on

Re: N in markup command exported as I with an underlying dot

2023-01-19 Thread Jean Abou Samra
Le 07/01/2023 à 20:48, Jean Abou Samra a écrit : In short: use the official binaries provided on lilypond.org for now. This has been fixed now. You should be able to install LilyPond from Homebrew and use it without this bug. Best, Jean OpenPGP_signature Description: OpenPGP digital

Re: autobeaming over rests

2023-01-19 Thread Jean Abou Samra
Le 19/01/2023 à 21:35, Werner LEMBERG a écrit : The NR says that autobeaming doesn't work over rests. In some situations this means a lot of additional work. As an example, consider a piece that uses almost exclusively a saltarello-like rhythm: ``` \time 6/8 d8[ r d] d[ r d] ``` I now wonder

Re: LilyPond 2.25.1

2023-01-21 Thread Jean Abou Samra
 > Le 21 janv. 2023 à 20:43, Knute Snortum a écrit : > Am I missing something? The download page seems to still be pointing at > 2.24.0. The main download page https://lilypond.org/download.html always points at the current stable release because that is what most people want. The current

Re: Override note properties in markup,note or rhythm

2023-01-21 Thread Jean Abou Samra
Le 21/01/2023 à 17:26, | || | | a écrit : Hiya! I'm trying to find a gentle solution for the problem I encountered. I overrided flag stencil in general Score, but it turns out that this doesn't influence notes in \tempo, \note and \rhythm functions. I there a possibility to influence those on

Re: substitution function variable name

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 17:20, Darren Ng a écrit : Define substitution function accOne() as: accOne = #(define-music-function (x) (ly:music?) #{ $x8 $x8 $x8 $x8 $x8 #}) Call accOne() with: \accOne f Expected output is: f8 f8 f8 f

Re: substitution function variable name

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 17:33, Jean Abou Samra a écrit : Le 22/01/2023 à 17:20, Darren Ng a écrit : Define substitution function accOne() as: accOne = #(define-music-function (x    ) (ly:music?)    #{ $x8 $x8 $x8 $x8 $x8    #}) Call accOne() with

Re: Override note properties in markup,note or rhythm

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 14:11, | || | | a écrit : Thank you for the really comprehensive answer! You solved a few other problems I was struggling with in the process. I don't get why this kind of diversity with overriding properties would have any purpose for a user. I mean, I see there are different

Re: substitution function variable name

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 18:22, Darren Ng a écrit : Thanks. The following works: accOne = #(define-music-function (x) (ly:pitch?) #{ $x 8 $x 8 #}) My ultimate goal is a function which does the following accTwo = #(define-music-function (x

Translating “Extending LilyPond” — any takers?

2023-01-22 Thread Jean Abou Samra
Hi, [Sent to lilypond-user, BBCed to lilypond-devel] After almost two years of promising myself I would integrate https://extending-lilypond.readthedocs.io/ into the official LilyPond documentation someday while never doing it, I decided to officialize the status quo that it would be maintained

Re: Repeat Segno with MIDI

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 21:05, Mark Mathias a écrit : I'm not seeing a post from anyone else exactly on this issue, so... I like the new repeat structure: https://lilypond.org/doc/v2.24/Documentation/notation/long-repeats#segno-repeat-structure The example works with the whole note after volta 1, but i

Re: Repeat Segno with MIDI

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 21:25, Mark Mathias a écrit : Jean, Ahh... of course. I had forgotten that LilyPond doesn't require the braces for a single note, but does for anything more. Well... that is true in a sense, but from the way you phrase it, I have the impression that the underlying logic that

Re: Repeat Segno with MIDI

2023-01-22 Thread Jean Abou Samra
Le 22/01/2023 à 21:58, Jean Abou Samra a écrit :   \volta   1        {   a4 a4 a4 a4   }         ~~   \volta       Stupid mail client mangling indentation... I hope it'll work this

Re: Repeat Segno with MIDI

2023-01-22 Thread Jean Abou Samra
On 22/01/2023 22:03, Jean Abou Samra wrote: > Le 22/01/2023 à 21:58, Jean Abou Samra a écrit : >>   \volta   1        {   a4 a4 a4 a4   } >>         >> ~~ >>   \volta      

Re: Repeat Segno with MIDI

2023-01-23 Thread Jean Abou Samra
> Le 23 janv. 2023 à 15:52, Mats Bengtsson a écrit : > >  > > > On 2023-01-22 21:17, Jean Abou Samra wrote: >> Le 22/01/2023 à 21:05, Mark Mathias a écrit : >>> I'm not seeing a post from anyone else exactly on this issue, so... >>>

Re: scheme-sandbox

2023-01-24 Thread Jean Abou Samra
On 24/01/2023 15:26, Mark Mathias wrote: > I've taken up Jean Abou Samra's invitation to develop my understanding of > Scheme through the scheme-sandbox. I'm on Windows 10 with Guile 2.2.7 in a > command prompt window. The command prompt looks correct:  > > scheme@(#{ g100}#)>. > > > I hit

Re: Translating “Extending LilyPond” — any takers?

2023-01-24 Thread Jean Abou Samra
On 22/01/2023 21:06, Jean Abou Samra wrote: > The same goes for https://scheme-tutorial.readthedocs.io/, > which is currently available in English and French. Actually, > this one might be both shorter and less technical for a translator, > and more important to translate. However,

Re: jeté

2023-01-25 Thread Jean Abou Samra
On 25/01/2023 22:57, Martín Rincón Botero wrote: > Dear list, > > is there any way to make this markup mockup of a jeté symbol into a > proper articulation (so that Lilypond knows how to give it an > appropriate direction, f. ex.)? I suspect a Scheme workaround might be > possible :-). > > \marku

Re: jeté

2023-01-26 Thread Jean Abou Samra
On 26/01/2023 10:24, Martín Rincón Botero wrote: > Dear Jean, > > thank you very much for this! I only changed the horizontal distances > of the dots to 0.1 as in \pattern #4 #X #0.1. If it's not too hard, is > there any way to make this behave like an articulation (say, like a > staccato) regardi

Re: jeté

2023-01-26 Thread Jean Abou Samra
On 26/01/2023 14:16, Werner LEMBERG wrote: > > >> jetéMarkup = >> \markup \undertie \pad-x #0.3 >> \pattern #4 #X #0.1 \musicglyph "dots.dot" > > Note that this kind of markup is not only used for jeté but also for > staccati under a slur if the note has a stem tremolo, as shown in the > att

Re: Choir-Parts - working with \tag#' - Mulitmeasure Rests not printed

2023-01-27 Thread Jean Abou Samra
On 27/01/2023 11:06, Christian Hummer wrote: > Dear specialits, > > I'm workin on Choir-Parts with Solists. I store the music in single files > (e.g. soprano, alto,...). Each of the voices has Solo-Parts while the choir > is muted. I want to have > > 1. the choir partes (print only the choir wi

Re: Clef change after end-repeat before break -- how?

2023-01-27 Thread Jean Abou Samra
On 27/01/2023 22:35, Ole V. Villumsen wrote: > Hi, I am typesetting a movement with a repeat and a clef change right after > the repeat. I have a suitable line break where the repeat ends and the clef > change happens. Default Lilypond sets the new clef within the repeat, before > the end-repeat

Re: How to define a macro that expands to a percussion "pitch"?

2023-01-28 Thread Jean Abou Samra
> Le 28 janv. 2023 à 08:01, Darren Ng a écrit : > > [subject] How to define a macro that expands to a percussion "pitch"? It may be worth noting that LilyPond does not have macros, only variables and regular functions. Call me pedantic, but I think it is helpful not to conflate the two. Th

Re: Clef change after end-repeat before break -- how?

2023-01-28 Thread Jean Abou Samra
On 28/01/2023 16:51, David Kastrup wrote: > Jean Abou Samra writes: > >>> Le 28 janv. 2023 à 08:01, Darren Ng a écrit : >>> >>> [subject] How to define a macro that expands to a percussion "pitch"? >> >> >> It may be worth not

Re: Clef change after end-repeat before break -- how?

2023-01-28 Thread Jean Abou Samra
On 28/01/2023 06:52, Ole V. Villumsen wrote: > Thanks, everyone, for your contributions. > > First of all Jean. Your code gives me exactly what I wanted. I haven’t > learned to use the internals, but see here that it’s useful. > >> Not sure, but my guess is that LilyPond might be trying to make

Re: Clef change after end-repeat before break -- how?

2023-01-28 Thread Jean Abou Samra
>> Under 2.22 I do not get extra space. > > That’s still more curious. On 2.22.2 I get a warning > that the break is overwritten by another event, so we > don’t get the line break that I had specified and wanted. It's expected. 2.22 doesn't accept mid-measure breaks without a bar line. You need

Re: substitution function variable name

2023-01-28 Thread Jean Abou Samra
On 22/01/2023 18:31, Jean Abou Samra wrote: > Le 22/01/2023 à 18:22, Darren Ng a écrit : >> Thanks. The following works: >> >>    accOne = >>    #(define-music-function >>    (x    ) >>    (ly:pitch?) >> #{ >>    $x 8 $x 8 >

Re: Define "tweak" function

2023-01-29 Thread Jean Abou Samra
On 29/01/2023 23:45, Ahanu Banerjee wrote: > How can I define a function that applies one or more tweaks to the object > that comes after it?  > > example: I want the following expression to be a function called "\makeRed": > -\tweak color "red" > > so that I can type \makeRed \downbow instead o

Re: Tweak Slur direction "neutral"

2023-01-29 Thread Jean Abou Samra
On 30/01/2023 02:20, Ahanu Banerjee wrote: > When I attempt to change the "direction" property of a slur, whether that is > with \tweak or \override, I cannot set the direction to neutral (0). UP (1) > and DOWN (-1) work fine, but when setting to 0, I get the following error:  > > "Assertion fai

Re: Frescobaldi crashes on startup

2023-01-30 Thread Jean Abou Samra
> Le 30 janv. 2023 à 09:26, Valentin Petzel a écrit : > >  > Hello Jean, > > This seems to come from PyQt5, so maybe downgrading that one will solve this. > Also you might want to report the problem directly to Frescobaldi: > > https://github.com/frescobaldi/frescobaldi/issues > > so it ca

Re: Tweak Slur direction "neutral", Re: Tweak Slur direction "neutral"

2023-01-30 Thread Jean Abou Samra
On 30/01/2023 08:19, Werner LEMBERG wrote: > >>> When I attempt to change the "direction" property of a slur, >>> whether that is with \tweak or \override, I cannot set the >>> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when >>> setting to 0, I get the following error:  >>> >>>

Re: breaking vertical alignment of dynamic items

2023-01-30 Thread Jean Abou Samra
On 30/01/2023 12:38, Werner LEMBERG wrote: > > What is the 'official' way to break the alignment between, say, a > crescendo wedge and a subsequent forte sign? What I want is automatic > placement of the 'f' by LilyPond as if there were no crescendo wedge. > > ``` > { > e1\< | g''1\ff | > } >

Re: Strange behaviour of multiple \include’d documents

2023-01-30 Thread Jean Abou Samra
Hello Immanuel, Welcome to this list. For your information, I had to approve your message manually as a list administrator because you are not subscribed to the list yet. Please fix this by subscribing on https://lists.gnu.org/mailman/listinfo/lilypond-user (note that once subscribed, you can

Re: Strange behaviour of multiple \include’d documents

2023-01-30 Thread Jean Abou Samra
On 30/01/2023 22:26, Immanuel Asmus wrote: > Hello Jean, > > actually, I /did/ subscribe. I wonder why my subscription was unsuccessful. I > just tried again. It didn't work this time either. I approved your message again. Did you receive the confirmation email after filling the subscription for

Re: Tweak Slur direction "neutral"

2023-01-30 Thread Jean Abou Samra
On 30/01/2023 23:08, Ahanu Banerjee wrote: > Perhaps the documentation could be amended to clarify how neutral direction > is handled for slurs? There are two documentation pages here that mention > slur orientation but don't describe the calculation that occurs in > \slurNeutral: > https://lily

Re: Changes to png file while using \omit Accidental

2023-01-30 Thread Jean Abou Samra
On 31/01/2023 05:52, Rajesh Baskar wrote: > Hello Experts, > > I'm facing a unique issue or it would be because of my limited knowledge of > Lilypond. I have 2 identical Lilypond files, the only difference being that > one has \omit Accidental in it. You can see in the mage attached that > Lily

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Jean Abou Samra
On 30/01/2023 22:45, Stefan E. Mueller wrote: > This works for me, but I wonder if the vertical position of the individual > tablature lines could be accessed and used for the positioning of the > letters instead of doing things by hand. Yes, it's possible. Try \version "2.25.1" % doesn't exis

Re: Translating “Extending LilyPond” — any takers?

2023-01-31 Thread Jean Abou Samra
On 22/01/2023 21:06, Jean Abou Samra wrote: > If you are interested in translating this into another language, > please let me know. The translation is done in .po files, like > most translation workflows (but not the one for the official > documentation). There is now a com

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 15:07, Valentin Petzel wrote: > Hello Jean, > > this does not work on 2.24. Do you happen to know what changed to make this > work on 2.25? commit 86cdf5a56d123f3b1145e3eaba09805d6e43453e Author: Jean Abou Samra Date: Tue Oct 4 21:57:10 2022 +0200 Make Staf

Re: Tie not working as expected

2023-01-31 Thread Jean Abou Samra
Hello, Welcome to this list. I had to approve your message manually because you are not subscribed to the list yet. Please fix this by subscribing on https://lists.gnu.org/mailman/listinfo/lilypond-user On 31/01/2023 22:04, Steve Carlock wrote: > New Lilypond user here.  The following code is no

Re: Understanding marks in 2.24

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 22:07, Saul Tobin wrote: > I have a few questions: > 1. How to achieve horizontal alignment and avoid vertical overlap of > RehearsalMarks and MetronomeMarks at the beginning of a system, or when > musical objects push them away from the staff as in measure 3? I have to say > I thi

Re: Understanding marks in 2.24

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 22:32, Jean Abou Samra wrote: > On 31/01/2023 22:07, Saul Tobin wrote: >> I have a few questions: >> 1. How to achieve horizontal alignment and avoid vertical overlap of >> RehearsalMarks and MetronomeMarks at the beginning of a system, or when >> mus

Re: Understanding marks in 2.24

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 22:33, Jean Abou Samra wrote: > Uh, why did I just write this already? The latter wouldn't > be a problem. assign_event_once uses "equal?" The former, > with procedures, is indeed a problem. > > Sorry for the noise. Looking a bit more into define-

Re: Tie not working as expected

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 23:06, Steve Carlock wrote: > Jean, > > Thank you for approving my email - I did subscribe using the website and > confirmed the email (and have logged into my account page successfully) prior > to sending my email to the list. Maybe I was impatient and needed to wait a > day for

Re: Setting default arguments for music function?

2023-01-31 Thread Jean Abou Samra
On 01/02/2023 01:04, Ahanu Banerjee wrote: > Is it possible to specify default values for a function to use when arguments > are missing? In the example below, I want the default font size to be -4 and > the default color to be blue without having to specify it each time, but I > also want the a

Re: Setting default arguments for music function?

2023-01-31 Thread Jean Abou Samra
On 01/02/2023 01:23, Ahanu Banerjee wrote: > Is it possible to have one of the arguments rely on a property of another > argument?  > > In my example, I want the default value for "parenColor" to be the same as > the color of the "parenItem": > > \version "2.24" > \language "english"  > altPare

Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Jean Abou Samra
On 01/02/2023 03:34, kie...@kierenmacmillan.info wrote: > Hi Ahanu, > >> g_\upbow ^\upbow g g % fails >   > I would personally consider that a bug! script-engraver.cc: void Script_engraver::listen_articulation (Stream_event *ev) { /* Discard double articulations for part-combining. */ for (

Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Jean Abou Samra
On 01/02/2023 03:59, kie...@kierenmacmillan.info wrote: > Hi all, > >> I would personally consider that a bug! >> script-engraver.cc: >> >> void >> Script_engraver::listen_articulation (Stream_event *ev) >> { >>   /* Discard double articulations for part-combining.  */ >>   for (vsize i = 0; i < s

Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Jean Abou Samra
On 01/02/2023 03:51, Ahanu Banerjee wrote: > It's obviously not a bug. Jean, thanks for pointing out where the relevant > instruction is. > > What would be the easiest way to modify this behavior for a single score?  It's a bit of a weird thing to do, but you could consider \version "2.24.0"

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
Saul, > Le 1 févr. 2023 à 04:16, Saul Tobin a écrit : > > The fourth example engraver here: > https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example > > Running this code in 2.24 crashes on initializing the engraver with In > procedure ly:spanne

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
> Le 1 févr. 2023 à 11:23, Thomas Morley a écrit : > > Am Mi., 1. Feb. 2023 um 04:16 Uhr schrieb Saul Tobin > : >> >> The fourth example engraver here: >> https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example >> >> Running this code in 2.24 cr

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 17:49, Valentin Petzel wrote: > Hello Richard, > > This is not so much a bug in \stopStaff, but an inconsistency in the > LedgerLineSpanner engraver. It is good you’ve found a workaround that works > for you! If you see a bug, please file a GitLab issue. Thanks, Jean OpenPGP_

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 11:12, Jean Abou Samra wrote: > Saul, > > >> Le 1 févr. 2023 à 04:16, Saul Tobin a écrit : >> >> The fourth example engraver here: >> https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example >>

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 18:05, Saul Tobin wrote: > Oh wow really? It's the best/only documentation for several things that > aren't really covered in the official Extending docs. Maybe it should become > official? Or at least easier to find.I didn't know it existed until you > posted to the list about tra

Re: \stopStaff \startStaff spacing & line continuity

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 02:56, Ahanu Banerjee wrote: > I am trying to modify the color of the ledger lines for a single note. My > understanding is that I need to use \stopStaff and \startStaff for this. > However, doing so causes the staff lines to be discontinuous. This rounds the > ends of the staff li

Re: Including fermata in \cueDuring

2023-02-02 Thread Jean Abou Samra
On 03/02/2023 04:37, Vaughan McAlley wrote: > Hi, > > I can’t seem to get fermatas included in cues. I have tried adding > text-script-event to Score.quotedCueEventTypes, but this doesn’t seem to > work. Do I have the wrong event type? It's a script-event. text-script-event is for note^"text"

Re: Barline glyph in markup

2023-02-03 Thread Jean Abou Samra
On 03/02/2023 10:50, Rip _Mus wrote: > Hi, > is it possible to use a repeat barline glyph(opened or closed) in a markup? > I'm trying to print it centered between two staves within a Dynamics context. > Thank you in advance! The two other answers work, but I wonder if this might be an XY questio

Re: Command Alises

2023-02-03 Thread Jean Abou Samra
> Le 3 févr. 2023 à 16:32, Paulo Matos a écrit : > > Hi, > > I would like to define command aliases for \SustainOn, \SustainOff and > the combination \SustainOn\SustainOff and tried the obvious: > > pup = \SustainOn > pdown = \SustainOff It’s \sustainOn and \sustainOff. Jean

Re: Image width issue

2023-02-03 Thread Jean Abou Samra
On 31/01/2023 20:23, Rajesh Baskar wrote: > Hi Jean, > > The solution you gave me works very good for whole notes. But if the notes > have stems then the stems are not removed. Please look at the LilyPond like > below. Is this what you want? \version "2.24.0" \language english boxify = #(de

Re: writing score in absolute time

2023-02-04 Thread Jean Abou Samra
On 04/02/2023 10:26, Jacopo Greco d'Alceo wrote: > Hello everybody, > > I’ve always wondered if it’s possible to write a lilypond score in *absolute > time*, just giving almost 2 parameters: note and absolute time in seconds, > without the measure boundaries. > If yes, can you give some exemple?

Re: how to avoid double sharps in \transpose?

2023-02-04 Thread Jean Abou Samra
On 04/02/2023 21:07, Kenneth Flak wrote: > > This comes out correctly: > > patright = { > 2 | > } > > right = { > #@(map (lambda (p) #{ \transpose c #p \patright #}) > (event-chord-pitches #{ #})) > } > > This, however, transposes the g c sequence to b e instead on the first >

Re: single system output in 2.24

2023-02-05 Thread Jean Abou Samra
Klaus, > Le 5 févr. 2023 à 16:56, Klaus Blum a écrit : You are not subscribed to this list. Can you please subscribe (https://lists.gnu.org/mailman/listinfo/lilypond-user) so that list admins don’t have to approve each of your messages manually? Thanks, Jean

Re: Translating “Extending LilyPond” — any takers?

2023-02-06 Thread Jean Abou Samra
Just a small note: for various reasons, the guide has moved from ReadTheDocs to GitLab pages. The new URL is https://extending-lilypond.gitlab.io (old URLs have been turned into redirects). Best, Jean OpenPGP_signature Description: OpenPGP digital signature

Re: Translating “Extending LilyPond” — any takers?

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 10:52, Kenneth Flak wrote: > > Hi Jean, > > Thanks so much for continuing to develop this invaluable resource! I have one > small issue with the site in dark mode (which seems to be the default on my > linux system and android phone): some of the writing is barely legible, with >

Re: Dynamics for both staves

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:44, p...@ocmatos.com wrote: > On 2023-02-03 17:41, Knute Snortum wrote: >> >> What I do is have a separate dynamics variable, then include that >> variable in both staves of the piano staff in the midi block.  Then I >> switch the dynamic performer to the staff level.  It looks lik

Re: chord placement in Scores

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 05:44, Jeff Kopmanis wrote: > I've found that when I put chords in my score, it's printing them /below/ the > staff rather than above, as usual.  Things are normal if I'm not building a > score, but I'm wondering why this is happening.  I've included my (big) .ly > document and jus

Re: Command Alises

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:45, p...@ocmatos.com wrote: > Right, I confused the names, thanks for the help. One further question, why > the need to prefix the commands with a - ? Does it start some sort of command > mode? You don't have to. It's just a neutral direction indicator. It is implicit if you l

Re: Command Alises

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:59, Jean Abou Samra wrote: > On 07/02/2023 12:45, p...@ocmatos.com wrote: > >> Right, I confused the names, thanks for the help. One further question, why >> the need to prefix the commands with a - ? Does it start some sort of >> command mode? > &

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 04/02/2023 18:28, Jacopo Greco d'Alceo wrote: > Thank you Gregory for your complete answer. > And you’ve seen it right. I’m not yet an Abjad user, but I looked at it with > interest - but never drown inside. > I’m just another composer still dreaming about writing music easily with a > compute

Re: chord placement in Scores

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 12:51, Jean Abou Samra wrote: > On 07/02/2023 05:44, Jeff Kopmanis wrote: >> I've found that when I put chords in my score, it's printing them /below/  >> the staff rather than above, as usual.  Things are normal if I'm not >> building a

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 14:12, Cordelia wrote: > Oh, yeah. Thank you very very much. It gives me a lot of ideas!! It’s what I > was looking for. > > Do you have just an idea if it could be possible to write just a line (with a > lil’ bar at the end maybe) that could represent the duration of the note? > S

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 14:58, Cordelia wrote: > Amazing, really. > I lastly just wonder now, if it’s possible to write the duration in seconds.. > But I understood that’s not the way of working of lilypond. > Thank you! This can be done too. \version "2.24.0" \paper { page-breaking = #ly:one-line-aut

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 17:00, tommy_strandb...@web.de wrote: > Hi, > > I’m a little annoyed over problems in getting Lilypond 2.24.0 properly > running on my computer.  My previous installation was Lilypond 2.22.2 > together with Frescobaldi 3.2.  Everything worked fine and the main reason > for switchi

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 17:57, Aaron Hill wrote: > On 2023-02-07 8:22 am, Knute Snortum wrote: >> Setting the paper size to A4 should be as simple as: >> >> \paper { >>   #(set-paper-size "letter") >> } > > Well, that produces US letter size: 8.5" x 11".  For A4, you would naturally > use "a4". > > The No

Re: writing score in absolute time

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 16:57, Cordelia wrote: > Totally, now it begins the game. But at least I’ve a starting point! > > I’ve to understand better the tempo and rhythmic values in lilypond. > I’ve already added the possibility to write cents for exemple for > microtonality (a simple way). > > There’s 2 m

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 19:25, tommy_strandb...@web.de wrote: > 2. The handbook is very misleading as it states ( > https://lilypond.org/doc/v2.23/Documentation/learning/graphical-setup-under-windows > > ) > “Place t

Re: music function playing well with context

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 21:57, Alberto Simões wrote: > Hello > > I am transcribing a piece that has a lot of tuplets: >   >    \tuplet 3/2 { a4 b8 } > > The duration of the notes is always this, just the pitch changes. > I tried to create a music function with this code > > myT = #(define-music-function (

Re: music function playing well with context

2023-02-07 Thread Jean Abou Samra
On 07/02/2023 22:17, Alberto Simões wrote: > Understood. Thank you . > After looking to the example, it makes sense, but it wasn't easy to get there > :-)> Always great to learn! Perhaps you will have an easier time building custom functions after reading pages like these: https://lilypond.org

Re: Clef with Ottava in parenthese

2023-02-08 Thread Jean Abou Samra
> Le 8 févr. 2023 à 15:27, Johannes Roeßler a écrit : > >  > Hi Group, > > is it possible to create a clef like this: > > > > Like \clef "violin_8" but with the 8 in parentheses? > See the fourth example here: https://lilypond.org/doc/v2.24/Documentation/notation/displaying-pitches#cle

Re: Visible Barline in ChoirStaff

2023-02-08 Thread Jean Abou Samra
> Le 8 févr. 2023 à 16:13, Johannes Roeßler a écrit : > >  > Hi Group, > > how can I add a visible (in the sense of connecting all staffs) barline in a > choirstaff? > > I tried \once \override Staff.BarLine.transparent = ##f \bar "|" > > but o course it doesn't work, for its just in a st

Re: Installation of Lilypond 2.24.0 on a Windows 11 computer

2023-02-08 Thread Jean Abou Samra
On 08/02/2023 13:35, tommy_strandb...@web.de wrote: > Hi Jean, > > As I said yesterday, it's working now but I've run the FC_DEBUG you asked for > yesterday, see attachment > "Lilypond2240_isRunningOK_programInHomeDirectory.txt". If it for some reason > will start generating the errors I had t

Re: writing score in absolute time

2023-02-08 Thread Jean Abou Samra
On 08/02/2023 09:05, Cordelia wrote: > Yes, I see. Now the warning is gone. > > What I mean is this: > Now I’m start tweaking all the parameters and creating a nice score, but you > can see that each duration line if there’s a note that “superpose” on his > duration, it breaks. > I think it’s ju

Re: music function playing well with context

2023-02-08 Thread Jean Abou Samra
On 08/02/2023 19:45, Alberto Simões wrote: > I just noticed this does not support chords: \myT f > While I can do that manually (just a couple of cases) it would be nice to > learn how to handle these cases. > Would it be possible? Chords are distinguished by having the music class 'event-chor

Re: music function playing well with context

2023-02-08 Thread Jean Abou Samra
On 08/02/2023 20:00, Alberto Simões wrote: > I get a >   Unbound variable: when > may it be the lilypond version? running 2.22 here. > THanks when was added in Guile 2, which LilyPond 2.24 uses while LilyPond 2.22 is on Guile 1. But I really recommend upgrading to 2.24. OpenPGP_signature Descr

Re: Voice for Lyrics

2023-02-09 Thread Jean Abou Samra
Le jeudi 09 février 2023 à 14:04 +0100, Johannes Roeßler a écrit : > Hi, > > I'm looking how to assign the lyrics two one of two voices in one staff > in the simplest way with my "normal" source code: > bassVoicePart = \new Staff \with { >   midiInstrument = "oboe" >   

Re: Vertical arrows next to note

2023-02-09 Thread Jean Abou Samra
> Hello, > > It should be possible to use an Argpeggio with a custom stencil using > elements of arpeggioArrowDown and arpeggioBracket without protrusion. > This is beyond my current capabilities unfortunately. Something like this? ``` \version "2.24.0" arrow = #(define-event-function (dir)

Fun with Python...

2023-02-09 Thread Jean Abou Samra
Hi, I just want to share a little adventure. For context: I was not very satisfied with the snippet [https://lsr.di.unimi.it/LSR/Item?id=1153](https://lsr.di.unimi.it/LSR/Item?id=1153) because its interface is ``` \markup \qr-code "" ``` rather than ``` \markup \qr-code "https://my-url.com"; `

Re: Fun with Python...

2023-02-09 Thread Jean Abou Samra
    Le 10 févr. 2023 à 04:11, Jeff Kopmanis a écrit : What version of Lilypond will that appear in?     "That" refers to Guile 3, right? There are no plans yet. It is currently

Re: `\offsetPosition` fails

2023-02-11 Thread Jean Abou Samra
Le samedi 11 février 2023 à 15:01 +, Werner LEMBERG a écrit : > ``` > > I'm using the `\offsetPosition` command > ([https://lsr.di.unimi.it/LSR/Item?id=748](https://lsr.di.unimi.it/LSR/Item?id=748)). >   Unfortunately, it fails in > a multi-staff, real-world piece: it has zero effect, and I do

Re: 2 Voices | 1 Staff | Mensuration Lines | Lyrics

2023-02-11 Thread Jean Abou Samra
Le samedi 11 février 2023 à 21:39 +0100, Johannes Roeßler a écrit : >   \new Staff { >     \voices 1,2<< \global \sopI \sopII >> >   } >   \lyricsto "2" { \words } Make that ``` \new Staff { << \global \voices 1,2 << \sopI \\ \sopII >> >> } \lyricsto "2"

Re: 2 Voices | 1 Staff | Mensuration Lines | Lyrics

2023-02-11 Thread Jean Abou Samra
Le samedi 11 février 2023 à 22:14 +0100, Valentin Petzel a écrit : > 2) Instead of using such a parallel global thing with \hide BarLine we can > achieve the same effect by doing > > \version "2.24.0" > > \layout { >   \override Staff.BarLine.stencil = >   #(grob-transformer 'stencil >  

Re: `StaffGroup` influences spacing of `DynamicText`

2023-02-13 Thread Jean Abou Samra
Le lundi 13 février 2023 à 10:48 +, Werner LEMBERG a écrit : > ``` > > Can someone please explain to me why the 'p sub.' in the first system > is badly spaced compared to the second one?  How can I avoid this? > Actually, this smells like a bug... You can read your own answer to this questio

Re: Documentation: Should we possibly have aliases for current stable and current devel?

2023-02-13 Thread Jean Abou Samra
Le 13 févr. 2023 à 15:51, Valentin Petzel a écrit :Hello Pondmates!I’ve been wondering recently: When acessing the documentation we are usually acessing a specific version, we have something likelilypond.org/doc/v2.xy/whateverThis seems to mess with Google’s page scoring quite a bit. Now if I wer

Re: Documentation: Should we possibly have aliases for current stable and current devel?

2023-02-13 Thread Jean Abou Samra
Le lundi 13 février 2023 à 09:42 -0600, David Wright a écrit : > Very tangential to this, a URL like: > >   > [https://lists.gnu.org/archive/html/lilypond-user/recent](https://lists.gnu.org/archive/html/lilypond-user/recent) > > that would redirect to: > >   > [https://lists.gnu.org/archive/h

Re: Documentation: Should we possibly have aliases for current stable and current devel?

2023-02-13 Thread Jean Abou Samra
Le lundi 13 février 2023 à 17:37 +0100, Lukas-Fabian Moser a écrit : > Hi, > > > From [https://lilypond.org/help-us.html](https://lilypond.org/help-us.html) > > > > > > “Mailing list support: answer questions from fellow users. (This > > may entail helping them navigate the o

<    10   11   12   13   14   15   16   17   18   19   >