Hi Urs, (sent this last night but I seem to have issues getting my messages to the list...)
It should do what you want in terms of generating stems. It's a work in progress and still needs to be able to handle slurs, dynamics, articulations, different stem patterns etc... best wishes, piaras On 26 March 2014 08:38, Urs Liska <[email protected]> wrote: > Am 25.03.2014 13:45, schrieb Fredrik Wallberg: > > ...a way to override the distance between notehead and stem... >>> >> >> \override Stem.Y-offset = 2 >> >> (Sorry about the typos in my last message -- I wrote "beam lenghts"; I >> meant "stem lengths of beamed notes".) >> >> > > This works basically. > The attached image is the result of manually offsetting the stem for every > second note (i.e. any repeated pitch) by 0.25. > > Of course that's an inacceptable amount of manual work for a general > solution. I think for a function it would be better to > > - print the initial pitch > - print the last note at its pitch (without notehead of course) > - repeat the initial pitch for all intermediate events and > - calculate the offsets as a linear function. > > Urs > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
repeat-stems.ly
Description: Binary data
<<attachment: repeat-stems.preview.png>>
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
