Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Valentin Petzel
Hi Lukas, Yes, memq is totally safe here and theoretically faster. But the performance difference is not really noticeable in usual situations. And in my opinion the whole eq? eqv? and equal? thing is just too confusing for beginners of scheme, so I opt so sacrifice this small theoretical gain

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Jean Abou Samra
> Le 6 févr. 2022 à 22:52, Lukas-Fabian Moser > I'm just still confused as to the terminology of event "classes" vs. event > "types" etc. But that's something for next week... Allow me to take advance on next week by an hour, then (in Paris time, that is). The terms "music class" and

Tablature - Parenthesizing Tied Notes

2022-02-06 Thread Stefan E. Mueller
Ties over a line break are parenthesized by default in tablature - I was wondering if one could also have parenthesized tablature notes for ties over a bar line. Thanks for any help. Stefan

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Lukas-Fabian Moser
Hi Valentin, Am 06.02.22 um 20:57 schrieb Valentin Petzel: one could try something like this. Yes, thanks, that's what did after David's explanations as well. In my situation (where I'm using a custom event type not covered by any standard engravers), I can then dispose of the dedicated

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Valentin Petzel
Hello Lukas, one could try something like this. Valentin Am Sonntag, 6. Februar 2022, 16:31:31 CET schrieb Lukas-Fabian Moser: > Folks, > > probably I'm being stupid: > > \version "2.22" > > #(define (test_engraver ctx) > (make-engraver > (listeners > ((tie-event engraver

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Lukas-Fabian Moser
Hi David, There is no such thing as an event inside chords. Events are broadcast specific to a timestep and have no association with individual notes. Thanks for the explanation! That makes it clear. Lukas

Re: Dashed slurs causing score concatenation issues

2022-02-06 Thread Jean Abou Samra
> Le 6 févr. 2022 à 18:39, Trinton a écrit : > > Hi folks, > > Since adding dashed slurs to my score using the \slurDashed command, I've > been unable to concatenate the segments of my score, getting this error: > [48]ERROR: Wrong type (expecting exact integer): # Trill_spanner_engraver > >

Dashed slurs causing score concatenation issues

2022-02-06 Thread Trinton
Hi folks, Since adding dashed slurs to my score using the \slurDashed command, I've been unable to concatenate the segments of my score, getting this error: [48]ERROR: Wrong type (expecting exact integer): # I've not been able to find any hints about this message in the docs. What's especially

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread David Kastrup
Lukas-Fabian Moser writes: > Folks, > > probably I'm being stupid: > > \version "2.22" > > #(define (test_engraver ctx) >    (make-engraver >     (listeners > ((tie-event engraver event) >   (format #t "Tie encountered at ~a.\n" (ly:context-current-moment > ctx)) > > \layout { >  

Re: How to catch post-events inside chords in an event listener?

2022-02-06 Thread Robin Bannister
Lukas-Fabian Moser wrote: What do I have to do to make my custom engraver also see post-events (here, a tie, but in my context it's a custom event type) used inside chords? I had a problem like that with tweaks, because the Tweak_engraver was called too late. See issue 3296. I had to

Re: Dal segno?

2022-02-06 Thread Knute Snortum
On Sun, Feb 6, 2022 at 2:29 AM Alasdair McAndrew wrote: > > When I search on "da capo", "dal segno" I get a huge amount of explanatory > material in the Lilypond glossary, but I can't find examples of their use, > or a description of their symbols. I'm sure it's there somewhere ... but > so far

How to catch post-events inside chords in an event listener?

2022-02-06 Thread Lukas-Fabian Moser
Folks, probably I'm being stupid: \version "2.22" #(define (test_engraver ctx)    (make-engraver     (listeners ((tie-event engraver event)   (format #t "Tie encountered at ~a.\n" (ly:context-current-moment ctx)) \layout {   \context {     \Voice     \consists #test_engraver  

Re: Running a Guile Interactively

2022-02-06 Thread Kon Rybnikov
On Sun, Feb 6, 2022 at 1:16 PM Kon Rybnikov wrote: > Hi > > My goal is to run guile with a remote port to use it with Geiser. See > "Connecting to an external Scheme" [0]. > > However, I've failed at the very first step of just getting a Guile REPL > with my lilypond file. I was following the

Re: associate text with chords

2022-02-06 Thread Aaron Hill
On 2022-02-06 5:08 am, achar wrote: P.S.: I already received answers but, they evaporated before I could read them You can review the archives [1] if you lose track of a message. Although, since your original thread is barely two days old, you should strongly reconsider your service

associate text with chordname

2022-02-06 Thread achar
Eureka... Yhanks for your answers. accords = \chordmode {   s4.   ees1:maj7 | bes2:m7 ees:7 | aes1:maj7 | aes:dim7 |   g2:m7 c:7 | f:m7 bes:7 | g:m7 c:7 | f:m7 bes:7 | } melodie = {   \clef G   \time 4/4   \key ees\major   \relative c'   {     \partial 4. bes'8 ees f |     \bar"||"     %%

associate text with chords

2022-02-06 Thread achar
Hello. Here is a piece of code to explain my problem. I would like the roman numerals of the mib7 chord as well as that of do7 to be located under the chord names. But the text is associated with a note or a rest so I can't do it. Does anyone have a solution? Thank you. P.S.: I already

Running a Guile Interactively

2022-02-06 Thread Kon Rybnikov
Hi My goal is to run guile with a remote port to use it with Geiser. See "Connecting to an external Scheme" [0]. However, I've failed at the very first step of just getting a Guile REPL with my lilypond file. I was following the instructions in "Using Guile interactively with LilyPond" [1]. I've

Re: Bar numbers on lines beginning with a partial measure

2022-02-06 Thread Jean Abou Samra
> Le 6 févr. 2022 à 11:54, Valentin Petzel a écrit : > > Thus I think this would be a sensible default. Is there any good reason > against using this by default? I wondered about that as well when I split the barNumberVisibility test and submitted the pending MR to no longer require \bar

Re: Bar numbers on lines beginning with a partial measure

2022-02-06 Thread Valentin Petzel
Hello Jean, in my opinion even if Gould did not specify this it is the most obvious solution to this, that is, the one solution everyone would come up with immediately. Thus I think this would be a sensible default. Is there any good reason against using this by default? Best, Valentin

Re: Bar numbers on lines beginning with a partial measure

2022-02-06 Thread Aaron Hill
On 2022-02-06 1:37 am, Jean Abou Samra wrote: Are you aware of the options to print a parenthesized bar number at the start of the line if it's the continuation of a measure? See input/regression/bar-number-visibility-* (sadly missing documentation at the moment). I don't have an opinion on

Dal segno?

2022-02-06 Thread Alasdair McAndrew
When I search on "da capo", "dal segno" I get a huge amount of explanatory material in the Lilypond glossary, but I can't find examples of their use, or a description of their symbols. I'm sure it's there somewhere ... but so far I can't find where. How do I insert a "DC al fine" or "Dal

Re: Slurs with "afterGrace"

2022-02-06 Thread Richard Shann
\afterGrace g4(-+ {a16 g16)} } Richard On Sun, 2022-02-06 at 09:13 +, Alasdair McAndrew wrote: > Thank you very much!  (But in Australia, where I am, it is early > evening).   I did try that, but the difficulty is that I already have > a symbol attached to the note (which I should have

Re: Slurs with "afterGrace"

2022-02-06 Thread Rip _Mus
Sorry for the hour! It's a matter of parenthesis order and spaces: \relative c' { \afterGrace g4-+( { a16 g16) } } This works for me Il dom 6 feb 2022, 10:13 Alasdair McAndrew ha scritto: > Thank you very much! (But in Australia, where I am, it is early > evening). I did try that, but the

Re: Slurs with "afterGrace"

2022-02-06 Thread Richard Shann
On Sun, 2022-02-06 at 10:00 +, Alasdair McAndrew wrote: > Thank you!  I would never have thought of putting the ending slur > inside > the grace note braces - but it works perfectly.  well I got there because it said the error was in column 30, i.e. the closing ) and I suspected that those

Re: Slurs with "afterGrace"

2022-02-06 Thread Alasdair McAndrew
Thank you! I would never have thought of putting the ending slur inside the grace note braces - but it works perfectly. Again, thanks. Alasdair On Sunday 06 February 2022 20:53:12 (+11:00), Richard Shann wrote: > > > \afterGrace g4(-+ {a16 g16)} } > > Richard > > On Sun, 2022-02-06 at

Re: Bar numbers on lines beginning with a partial measure

2022-02-06 Thread Jean Abou Samra
> Le 6 févr. 2022 à 10:16, Aaron Hill a écrit : > > I have for quite some time just relied on the default behavior where bar > numbers are printed only for the first measure in each line (save the very > first measure). This works reasonably well as my musicians are able to > locate

Bar numbers on lines beginning with a partial measure

2022-02-06 Thread Aaron Hill
I have for quite some time just relied on the default behavior where bar numbers are printed only for the first measure in each line (save the very first measure). This works reasonably well as my musicians are able to locate measures by number fairly quickly. However, there is an issue when

Re: Slurs with "afterGrace"

2022-02-06 Thread Alasdair McAndrew
Thank you very much! (But in Australia, where I am, it is early evening). I did try that, but the difficulty is that I already have a symbol attached to the note (which I should have included in my example): \afterGrace g4-+( {a16 g16} ) I've tried moving the beginning of the slur to

Re: Slurs with "afterGrace"

2022-02-06 Thread Rip _Mus
Good morning, try: \afterGrace g4( { a16 g16) } The slur event must be attached directly after the note. Rip_mus Il dom 6 feb 2022, 08:59 Alasdair McAndrew ha scritto: > This works: > g4( \grace {a16 g16}) > > making a slur which includes the grace notes. But in order to get the > right