[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string substitution, transpose, auto-time
From: |
David Raleigh Arnold |
Subject: |
Re: string substitution, transpose, auto-time |
Date: |
Sat, 29 Jun 2002 23:44:34 +0000 |
On Sat, 29 Jun 2002 09:37:10 Felipe Massia Pereira wrote:
> Hello,
>
> I have these 3 questions...
>
> 1) what's the best way to use string substitution, I mean something
> like:
>
> tune = "c"
>
> soprano = \notes \transpose $tune {...}
> alto = \notes \transpose $tune {...}
>
> 2) What's the best way to transpose a whole score? Should I put a
> \transpose on every expression? Can I do it in the global variable?
>
> 3) I read in documentation that I could use addLyrics with \notes
> instead
> of \lyrics. I would use it with an alto voice that has the same timing
> of
> the soprano voice (in fact, all voices have the same timing). Is there
> a
> way so I can type the timing only once? e.g.
>
> soprano = \notes { g2 g8 g8 f8 f8 | ... }
> alto = \notes { ees ees ees c c | ... }
With sly, it would look like this, but you have to copy
*2 *8 * * * . That is not a disadvantage, since this
approach makes it easy to understand later what you did.
g g g f f *2 *8 * * * | ees ees ees c c *2 *8 * * * | more parts.....
for example to change the rhytm once.
g g g f f *2 *8 * * * | ees ees ees *2 *8 * 4c | more parts.....
or, same thing:
g g g f f *2 *8 * * * | ees ees ees c *2 *8 * 4* | more parts.....
------------------------------------------------------------
Information is not knowledge. Belief is not truth.
Indoctrination is not teaching. Tradition is not evidence.
David Raleigh Arnold address@hidden