As a follow-up, you didn't mention the perhaps most powerful LSR snippet
of this form, namely http://lsr.dsi.unimi.it/LSR/Item?id=346. If you
want it to work with version 2.15.xx, replace the two lines
(pes (ly:music-property (list-ref pitches i) 'elements))
(pnew (ly:music-property (car pes) 'pitch))
by
(pnew (ly:music-property (list-ref pitches i) 'pitch))
/Mats
On 08/14/2012 09:17 PM, Mats Bengtsson wrote:
Lo?c Chahine <loic.chah...@hotmail.fr> writes:
Hi all!
I am trying to find a function to simplify repeated rhythm writing. I
have a part with many bars like:
r8 c16( c? c c c c) r8 d16( d? d d d d)
and I think it would be easier to write something like:
\myRh { c d }
I found some Snippets, like this one:
http://lsr.dsi.unimi.it/LSR/Snippet?id=302
or this one:
http://lsr.dsi.unimi.it/LSR/Item?id=465
But they seem not to work with 2.15.42, and I am not able to update
them.
<URL:http://www.lilypond.org/doc/v2.15/Documentation/snippets/pitches#pitches-creating-a-sequence-of-notes-on-various-pitches>
Unfortunately, this nice feature only works in absolute mode. If you
replace
\new Staff {
by
\new Staff \relative c' {
you will get a very nasty surprise. Is there any simple way to make a
function where repeated notes are not further octaviated in this
situation, without Scheme hacking?
/Mats
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user