Re: voiced-position malfunctions?

Simon Albrecht <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi Lukas,

On 12/08/2026 15:56, Lukas-Fabian Moser wrote:
> Internally, voiced-position is read in Rest::staff_position_internal 
> if staff-position is not set manually for the rest in question. For 
> rests shorter than a minim, the voiced-position is taken as-is; for 
> longer rests, the rest gets aligned to a staff line, but I don't have 
> time at the moment to understand how the voiced-position override gets 
> used in that case.

Ok, I think that explains the effect in my example: the rest gets 
aligned to the nearest staff line, even though it should receive a 
ledger line to meet the sense of my \override command. Still odd that 
the same doesn’t happen for negative voiced-position values.
With all due respect, Keith’s solution to #3902 seems like a half-baked 
compromise, and the description for the voiced-position property is 
misleading, but I’ll get back to that replying to David.

>
> I don't know exactly what triggered your question, but I'd suspect 
> that the answer might be: Just use staff-position. 

I tried that first of course, and it didn’t work. I found the 
voiced-position property and jumped to the conclusion that it must be a 
“recent” addition causing staff-position to be disregarded on rests and 
MMRs. Well, I’ll test again why the staff-position override actually 
failed me.

Best, Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.