[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MusicXML: Conversion of various types of spanners (octave, pedals, t
From: |
Reinhold Kainhofer |
Subject: |
Re: MusicXML: Conversion of various types of spanners (octave, pedals, trills) |
Date: |
Thu, 13 Sep 2007 16:20:27 +0200 |
User-agent: |
KMail/1.9.7 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 13. September 2007 schrieb Han-Wen Nienhuys:
> + # TODO: wavy-line glissandos don't work, becasue the style has to
> be + # set before the note, at the \glissando it's already too
> late! + #if self.line_type == 3: # wavy-line:
> + #style = "\once\override Glissando #'style = #'zigzag"
> + # In lilypond, glissando is NOT a spanner, unlike MusicXML.
>
>
> You might get away with a \tweak command for this.
Hmm, I can't get this to work:
c8 \tweak #'style #'zigzag \glissando d'
gives me a syntax error (syntax error, unexpected EVENT_IDENTIFIER), and both
\tweak #'style #'zigzag c8 \glissando d' \break
c8 \glissando \tweak #'style #'zigzag d' \break
don't change the style at all. What am I doing wrong?
The only way I found to change the style of the glissando is to use
\once\override Glissando #'style = #'zigzag c8 \glissando d'
but for this, I need to insert the override before the note and not when the
glissando is supposed to be inserted.
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)
iD8DBQFG6UcvTqjEwhXvPN0RAi59AKCOwK2XOPm5MMe0vBZcboHOdtKd2ACeNnz/
s/OkBWTitVdOiDci2W8A3QI=
=V4R0
-----END PGP SIGNATURE-----