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: Wed, 23 Apr 2008 03:26:39 +0200
User-agent: KMail/1.9.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 22. April 2008 schrieben Sie:
> Quoting Valentin Villenave <address@hidden>:
> >> > % To modify a sequence of notes, it's easiest to use a filter:
> >
> > This approach seems to differ from
> > http://lsr.dsi.unimi.it/LSR/Item?id=82
>
> Reminder to Mats: Always check in LSR first! ;-)
>
> > Mats, Reinhold, can you give us some explanations about these
> > differences? Which one is the best? The simplest? The most reliable?
> > Should I edit the LSR snippet? Add a new snippet? etc.
>
> The solution in LSR is more or less equivalent to Reinhold's proposal,

Actually, I'd say it's less equivalent to my attempt, but a lot better ;-) 
Using built-in functions like music-map is definitly the better way than 
trying to do the same thing manually without knowing enough of the internals.
In particular, while I explicitly checked for an EventChord, the 82 snippet 
uses ly:music?

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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIDpBRTqjEwhXvPN0RAmd4AKCRgsxjR7WI/ltrMLKEDtB2iyhogQCfdNu9
bL2WESRnU0+QELhOJxmcUM8=
=P2ld
-----END PGP SIGNATURE-----




reply via email to

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