lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stacato


From: Jan Nieuwenhuizen
Subject: Re: stacato
Date: 04 Oct 2001 09:01:49 +0200

Jan Nieuwenhuizen <address@hidden> writes:

> Antoniouk Sergio <address@hidden> 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 <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]