[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Type setting chord analysis
From: |
Aura Kelloniemi |
Subject: |
Re: Type setting chord analysis |
Date: |
Fri, 22 Oct 2010 23:27:08 +0300 |
User-agent: |
Notmuch/0.3.1 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) |
Hello,
On Fri, 22 Oct 2010 12:41:47 +0200, Valentin Villenave <address@hidden> wrote:
> On Fri, Oct 22, 2010 at 9:16 AM, Aura Kelloniemi
> <address@hidden> wrote:
> > I have a problem: I'm trying to find an easy way to write chord analysis
> > annotations in Lilypond. The rationale behind this is that I'm a blind
> > music student and I do all my music theory work with Lilypond so that my
> > teacher's can easily examine my work. My assistant writes chord analysis
> > excersises for me in Lilypond, and I add the analysis annotations to the
> > source text, process it with Lilypond and print it for the teacher.
>
> That's a very interesting story. It's always nice to see how LilyPond
> can be useful in the "real" world!
FYI, Lilypond makes my life very easy - I don't even want to imagine
how difficult it would be to teach my assistant how to read and write
braille notes...
> Here is how to circle a note :
> circle =
> \once \override NoteHead #'stencil = #(lambda (grob)
> (let* ((note (ly:note-head::print grob))
> (combo-stencil (ly:stencil-add
> note
> (circle-stencil note 0.1 0.8))))
> (ly:make-stencil (ly:stencil-expr combo-stencil)
> (ly:stencil-extent note X)
> (ly:stencil-extent note Y))))
>
> { \circle c' }
Thank you!
Could I (and how could I) write a command that could automagically
circle and
annotate a single note at once? Like this:
{ d'4\ant }
This would circle the nonchord tone (anticipation in this case) and add
"ant" next to the note.
I'm sorry, if this would be trivial to implement with little reading.
However, I find Lilypond documentation a bit hard to understand at some
points, this is because I'm not very familiar with Scheme (or other Lisp
descendants), and mostly because I don't understand the concepts associated
with note writing (there are no stems, staves, beams or heads in braille
notes).
> I'm not sure whether your annotations should refer to one particular
> voice or to the whole harmony.
My annotations should refer to a particular voice, when that particular
voice contains a nonchord tone, and to the whole harmony in all other
cases.
> > As I'm blind, I don't knwo if this produces readable notation, but at
> > least the MIDI version is as it should be.
>
> Your output is fine! Just one minor comment: it may be more easy to
> read if you put only two voices on each Staff:
> << \soprano \\ \alto >>
> and
> << \tenor \\ \bass >>
> (but then, I don't know what your teacher prefers, so it may very well
> be a matter of taste).
My assistant pointed out that with three voices on the same staff the
stems of the notes cause problems. If I understood correctly, the
original scores have only one stem for all the notes that start at the
same
moment (or the stems are connected, or something similar. I'm sorry, but
I
don't understand stems very well). Is this possible in Lilypond?
> Good luck!
Thanks for your help!
--
Aura