lilypond-user
[Top][All Lists]
Advanced

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

Re: converting rests with specified vertical position to common rests


From: Reinhold Kainhofer
Subject: Re: converting rests with specified vertical position to common rests
Date: Thu, 15 Jan 2009 12:29:07 +0100
User-agent: KMail/1.9.10

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

On Wednesday 14 January 2009 22:36:37 David Rogers wrote:
> On 2009-01-14 at 23:50, Arno Rog wrote:
> >In the process of converting an musicXML file (from capella) to
> > lilypond all the rests are converted to rests with a specifed
> > vertical position. Is there a way to convert them to 'ordinary'
> > rests without ruining the score (due to the use of \relative music
> > notation)?
> >I'd like to stick to using \relative notation.
>
> The short answer is: Yes. Staying with \relative will certainly
> not be a problem.
>
> However, I think it will be a lot of work to find each and every
> rest and simplify the way it's written. The vertical positioning
> is done by adding some extra code to each one of them - simply
> removing that extra code from each rest should give what you
> want and cause no side-effects.

Actually, this is not true. The positioned rests are written e.g. as
 g4 e\rest c4
if you simply replce the e\rest by r4, i.e.
  g4 r c
then you'll get a c in the wrong octave (it should rather be c, in this 
case!).

To be honest, I don't know of any easy way to replace the positioned 
rests by ordinary rests without messing the relative setiing up...

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)

iD8DBQFJbx4QTqjEwhXvPN0RAh5EAJ9Cij7YrI5evCthTPHqeqFAe9VIxwCgvyoM
MBx9q65Ql7KFU9TScpSxddw=
=ouBc
-----END PGP SIGNATURE-----




reply via email to

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