Hi Werner,
2012/1/29 Werner LEMBERG <[email protected]>:
>
>>> I want to collect the horizontal positions of all bar lines (or
>>> rather, the position of the first beat in a bar) within an output
>>> text file.
>>
>> I'm not a scheme guru (so I'm sure the code could be more elegant)
>> but the attached file seems to work (reading out every NoteColumn on
>> the first beat of a measure).
>
> Thanks a lot! I've refined your solution, renamed stuff, adding
> comments, etc. Please see the attached file.
>
>
> Werner
further testing showed some problems. In the following the first
NoteColumn of \partial and after \bar ":|:" is catched!
\relative c' {
\printXPos
\partial 8 c8
\repeat unfold 10 { c2 c4 \bar ":|:" c8 r }
}
Currently I've no idea to avoid this, I will think about it furthermore.
Cheers,
Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user