broken slurs shorter than ties

2023-06-15 Thread Werner LEMBERG
In my opinion, the worst flaw of LilyPond's otherwise excellent formatting, a flaw that essentially everyone encounters rather quickly, is that broken slurs are almost always shorter than broken ties (it should be exactly the opposite), which is butt ugly and sometimes really hampers readability.

Re: Passing pitch to function

2023-06-15 Thread Pierre-Luc Gauthier
Thank you so much for the thorough explanation Valentin ! Le jeu. 15 juin 2023, à 13 h 01, Valentin Petzel a écrit : > > Okay, I understand the problem. > > Basically what’s happening is this: > You are doing > > #(define instrumentsInfo >'( > (piccolo . ((fullName "Piccolo")

Re: Passing pitch to function

2023-06-15 Thread Valentin Petzel
Okay, I understand the problem. Basically what’s happening is this: You are doing #(define instrumentsInfo '( (piccolo . ((fullName "Piccolo") (transposition #{bf'#}))) )) and intend it to be a shorthand for #(define instrumentsInfo (list (cons 'piccolo (list

Re: Grace note spacing & alignment in score

2023-06-15 Thread Lib Lists
Hi, Here is a hack, and among the various things to be fixed, the beam thickness of the fake grace notes needs to be checked more carefully against the 'real' grace notes. I calculated the starting point of the fake grace according to the percussion part, so it begins on the upbeat of the 3rd

Re: Passing pitch to function

2023-06-15 Thread Pierre-Luc Gauthier
And indeed I tried (brute force) all the quoting permutations… except yours Jean. Thank you very much. I will re-thoroughly read the manual ! :-) Le jeu. 15 juin 2023, à 12 h 46, Jean Abou Samra a écrit : > > Le jeudi 15 juin 2023 à 12:25 -0400, Pierre-Luc Gauthier a écrit : > >'( >

Re: Passing pitch to function

2023-06-15 Thread Jean Abou Samra
Le jeudi 15 juin 2023 à 12:25 -0400, Pierre-Luc Gauthier a écrit : > ``` >    '( >   (piccolo . ((fullName "Piccolo") (transposition #{bf'#}))) >   )) > ``` Like many Scheme beginners, you got tripped up by quoting. Change that to ``` #(define instrumentsInfo `( ; ^^^

Re: Passing pitch to function

2023-06-15 Thread Pierre-Luc Gauthier
I've attached my notquite-MWE. Le jeu. 15 juin 2023, à 12 h 35, Pierre-Luc Gauthier a écrit : > > So sorry, you have to remove the c''% at the end… 'should have made that > clear. > > Le jeu. 15 juin 2023, à 12 h 33, Valentin Petzel a écrit > : > > > > Hello Pierre-Luc, > > > > It works for

Re: Passing pitch to function

2023-06-15 Thread Pierre-Luc Gauthier
So sorry, you have to remove the c''% at the end… 'should have made that clear. Le jeu. 15 juin 2023, à 12 h 33, Valentin Petzel a écrit : > > Hello Pierre-Luc, > > It works for me if I copy and paste your code. Can you maybe attach a ly file > that does not work for you? > > Cheers, > Valentin

Re: Passing pitch to function

2023-06-15 Thread Valentin Petzel
Hello Pierre-Luc, It works for me if I copy and paste your code. Can you maybe attach a ly file that does not work for you? Cheers, Valentin Am Donnerstag, 15. Juni 2023, 18:25:37 CEST schrieb Pierre-Luc Gauthier: > What am-I doing wrong here… ☹ > > \version "2.25.6" > > \language "english"

Passing pitch to function

2023-06-15 Thread Pierre-Luc Gauthier
What am-I doing wrong here… ☹ \version "2.25.6" \language "english" #(define instrumentsInfo '( (piccolo . ((fullName "Piccolo") (transposition #{bf'#}))) )) instrumentInfoLookup = #(define-scheme-function (instrument info) (symbol? symbol?) (car (cdr (assq info (cdr (assq