lilypond-user
[Top][All Lists]
Advanced

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

Re: Several issues transcribing ancient notation (clefs, noteheads, spac


From: Reinhold Kainhofer
Subject: Re: Several issues transcribing ancient notation (clefs, noteheads, spacing)
Date: Fri, 22 Feb 2008 00:45:17 +0100
User-agent: KMail/1.9.6

Am Donnerstag, 21. Februar 2008 schrieb Kieren MacMillan:
> Hi Till,
>
> > So this is no easy way to scale all notes to the same duration.
>
> No, but a Scheme-savvy person (Mats? or you, Till?) should be able to
> whip up something like
>
> unifyDuration = #(define-music-function (parser location music duration)
>                                     (ly:music? number?)
>             (let ((new-music (ly:music-deep-copy music)))
>              (ly:make-duration new-music $duration)
>              new-music))
>
> This one, of course, doesn't work -- I'm not very Scheme-savvy...  =\
> Just a thought-experiment for you.

As a little help, there is an LSR snippet that takes given notes and applies 
the same rhythm to them (i.e. it applies certain durations to the passed 
notes), so I suppose it should be able to adjust it to your needs:

http://lsr.dsi.unimi.it/LSR/Item?id=346

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/




reply via email to

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