Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes:
> Antoniouk Sergio <[EMAIL PROTECTED]> writes:
>
> > This is a little strange that lilypond have no ability to do it -
> > music with lot of staccato notes is common case.
>
> That is not strange if you consider LilyPond is a typesetter, not an
> editor or macro processor.
>
> > Proposed solution is not good enough because I don't want to set
> > staccato mark for each note in piece, just for most of them like
> > this
> >
> > c-. d-. e-. f g a-. h-. c-. d e-. f-. g-. a h-. ... and so on
>
> Try:
> [will add this to input/test]
>
> \notes\relative c'' {
> a b \apply #add-staccato { c c }
> a b \apply #add-staccato { c c }
> }
> }
If your pattern of staccato dots is repetitive, you can also do
something like:
staccatos = \notes { s4-. s-. s-. s s }
music = \notes\relative c' { c4 d e f g a b c d e }
\score {
\context Thread=one <
\music
\repeat unfold 2 \staccatos
>
}
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user