[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax explanations
From: |
Reinhold Kainhofer |
Subject: |
Re: Syntax explanations |
Date: |
Thu, 12 Jun 2008 20:06:37 +0200 |
User-agent: |
KMail/1.9.9 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 11. Juni 2008 schrieb Carl D. Sorensen:
> > Maybe you can take a look at the musicxml2ly code
[...]
> > and tell me if I used the correct modifiers/numbers for all
> > the chords defined in MusicXML
> > (http://www.musicxml.org/dtds/direction.html, search for "Triads"
> > to get to the list of defined chord names).
>
> I've looked at your code. Some comments:
>
> 1. You put 5 on all of the triads. Is this so that you can do step
> removal, addition, or alteration automatically? It's not wrong, but it's
> not the way chords are "normally" written in LilyPond. Actually, it's more
> logically consistent.
Exactly, additions/removals/changes are done by simply appending the
corresponding strings like ".3-". Since I ran into trouble with a major chord
without the 5 (i.e. c:.3- doesn't work), I simply added the 5 to all triads
to be on the safe side.
> 2. I believe your major-minor is wrong. I think it should be maj7m,
> maj7m5 or maj7.3-. I think as written you have a minor seventh, not a
> major seventh.
Thanks, fixed.
> 3. "power" could be implemented as "5^3", I believe.
Okay, done.
> 4. LilyPond supports the first inversion in the form of added bass notes.
> So the first inversion of C major would be c:/g. To get the second
> inversion of C major, you would need to do e:6-3-^5 or e:m6-^5. However,
> both of these techniques require you to know the chord and calculate either
> the fifth pitch (for the first inversion) or the third pitch (for the
> second inversion) so they may not be helpful for musicxml2ly.
Thanks for the hint. I already have the base pitch of the chord (the <root>
element in MusicXML), so this would be possible in theory, but apparently
quite some work.
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)
iD8DBQFIUWWzTqjEwhXvPN0RAvUjAJ9EbvAGg0X71MkV8EREvHjaZu3ccwCgxZQr
hgkLk7d53KPSiUpqyqFIB7U=
=7vTY
-----END PGP SIGNATURE-----
Re: Syntax explanations, Graham Percival, 2008/06/11
Re: Syntax explanations, Trevor Daniels, 2008/06/12