lilypond-user
[Top][All Lists]
Advanced

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

Re: scheme function for staccato


From: Reinhold Kainhofer
Subject: Re: scheme function for staccato
Date: Sun, 20 Apr 2008 21:58:12 +0200
User-agent: KMail/1.9.6

Am Sonntag, 20. April 2008 schrieb Stefan Thomas:
> Dear Lilypond-users,
> I've read the explanation in the manual of version 2.10. about adding
> articulation to notes. I thougt, with his I could be able to simply add a
> staccato-dots to a group of notes, but unfortunately, it doesn't work as
> expected.
> Is there a  solution available?

The thing is that you apply the function to a SequentialMusic (i.e. a sequence 
of notes inside {...} ), so adding the staccato there has no effect...

I suppose the easiest way is to use a music filter on the SequentialMusic, 
which adds the ArticulationEvent to all EventChord descendents (but only if 
the EventChord does not contain a rest!). An example is attached.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/

Attachment: add_staccato_scheme.pdf
Description: Adobe PDF document

Attachment: add_staccato_scheme.ly
Description: Text Data


reply via email to

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