Still running into compiler errors. I figured my version was just out of date, but after downloading 2.23.81, I still get the following log:
%<-------------SNIP-----------------------
Starting lilypond.exe 2.23.81 [
tricky-lyrics.ly]...
Processing `K:/music-related/lilypond/snippets/lyric-autospacer/
tricky-lyrics.ly'
Parsing...
K:/music-related/lilypond/snippets/lyric-autospacer/respace-lyrics.ily:8:2: error: Guile signaled an error for the _expression_ beginning here
#
(use-modules (ice-9 match)
In procedure bytevector-u64-set!: Value out of range: -
149659645
I have never seen this kind of error.
First, can you try to comment out #(ly:set-option 'compile-scheme-code) at the top and see what happens?
That actually did allow it to compile. Interesting. What am I missing out on without this option set?
Second, what OS are you running, Windows? How did you install LilyPond?
My apologies. I should have included that already. Yes, I'm on Windows and since the Windows download isn't an actual installer, I just unzipped it and ran it from there.
Jean, this is absolutely brilliant! It works perfectly for a HUGE majority of the cases of my real score where I had to do so many manual adjustments. Wow! Your code has reduced the tweaking to almost zero. Even then, it's totally usable as-is. Thank you soooooo much! I'm definitely going to have to study your code to see why this works so well. I've only created a handful of Scheme fixes for things I'd done in the past, but this is way out of my league. Well done!
Kieren, you've got to try this out! It will blow your mind!
Jean, seriously, this is amazing! Thank you so much for this awesome tool. I can see how it's not going to be perfect for every situation, but, man, what a great job it does. I think I've ended up adjusting only 5 total places just a hair because of some close proximity to the Stanza text, but compared to the over 60 syllables I had to tweak before, your fix easily beats what I was trying to do manually!!! What a time saver!
Best,
Abraham
P.S. I hope my enthusiasm for this fix doesn't eclipse my sincere appreciation for all the amazing work done by the regular developers past and present. I've had lots of generous help over the years from many developers and other users here. So grateful to you all for creating a truly awesome tool and helping me and so many others!