lilypond-devel
[Top][All Lists]

## Re: Relative mode

 From: Graham Percival Subject: Re: Relative mode Date: Wed, 29 Jan 2003 16:46:48 -0800

On Thu, 30 Jan 2003 00:59:39 +0100
> Le mer 29/01/2003 à 23:02, Graham Percival a écrit :
> > This sounds like using a bunch of \relative modes inside a piece, like this:
> >
>
>       Yes, I though that there was something like that possibilities,  but
> It's an eavy solution, vith a lot of brace, witch is not very usefull
> for blind people.

If you know a bit of Perl, sed, or some other text-manipulation tool, you could
make up a pseudo-lilypond notation.  When you want to run lilypond on your file,
you first run a text-conversion program that changes your pseudo-lilypond
notation
into true lilypond notation, then runs lilypond on that file.

For example, you could use "z" and "x" to replace "{" and "}".  Then when you
want
to run lilypond on your file, you could change every "z" into "{" and every "x"
into "}" and run lilypond on that modified file.

>       An other exemple, my friend was surprised that we used braces after a
> \times command. Since 2/3, for exemple mean that there's three notes
> after, in braille music they don't put braces, they know that the three
> notes after the command are for the times.

\times 2/3 {a4 b8 b a4}

It would be complicated to automatically count three beats, stick them inside
the
\times, and then continue in non-times.

Cheers,
- Graham