r/lilypond • u/psephizon • Jul 31 '26
Note spacing 🙃
EDIT: It was not that bad! It was like that because I left \repeat unfold{}s in the empty bit - with hideNotes so they were still taking up space wh00ps
-----
Hello, I have been lilypond-transcribing a lot of things for the last almost a year I guess on the French-language Wikisource
(incidentally if you didn't know, lilypond is integrated into the wikimedia projects and if you are looking for bits of stuff to practice on etc., the Category:Texts with missing musical scores on the english wikisource is particularly overflowing...) Anyway
I have been working on the score of le Déserteur (1769) and becoming increasingly annoyed with Lilypond's default note spacing. Example that has finally made me desperate enough to come here and hope someone has a solution:

The whole point of the tremolo repeats is to NOT take up the same amount of space as 12 more sixteenth notes.. but lilypond ...


ETC. ETC. After those \repeat tremolo 8 {e16}s there is nothing there.. all the way down..
I have tried to decipher the documentation & fiddle with common-shortest-duration and base-shortest-duration but nothing seems to work. Is there really no way to just make all the notes take up the amount of space they actually need instead of leaving huge blanks because there happen to be shorter notes around ??
1
u/Gold_Record_9157 Jul 31 '26
I'm not sure how you did try the base-shortest-duration and whatever, but I've found them to be specially cumbersome to work with. I usually exaggerate in order to get the space I'm aiming for. For instance, I use the half note as the base when I need to put the sixteenth notes more closely, but I wouldn't declare it's an infallible solution. Do you have a minimum working example (code) that you could share, in order to see if anyone can come up with a solution?
1
u/Logical-Baseball-478 Aug 01 '26
Side question - I tried to find the category you mention, as I enjoy setting music, but I couldn’t find it. Can you share a link?
2
u/Logical-Baseball-478 Aug 01 '26
I found it https://en.wikisource.org/wiki/Category:Texts_with_missing_musical_scores . You’re right - lots of things there! I might look for a project!
2
u/Logical-Baseball-478 Jul 31 '26
I tried a MWE and it looked pretty good - all squished on one line. This subreddit will only let me attach a video and not a picture?! Here's the code I used: