Hello everyone,

I’m wondering if LilyPond can output the degree of compression or
stretching of a staff as a numerical value. For example, the output on
the command line or in a log file might look like this:

Line 1: -10
Line 2: -80
Line 3: +20

Here, a negative value would indicate compression, and a positive value
would indicate stretching. Is there a way to achieve this in LilyPond?

Here’s a minimal example:
lilypond
Copy

\version "2.24.4"

{ c'1 c'1 c'1 c'1 c'1 c'1 c'1
  \break
  c'1
  \break
  c'1 c'1 c'1 c'1 c'1 c'1 c'1 c'1 c'1 c'1 c'1 c'1 }

Are there perhaps any workarounds or scripts to obtain this information?

Thank you in advance for your help!

Thomas

Reply via email to