lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about transposing an interval of a 4th


From: Graham Percival
Subject: Re: question about transposing an interval of a 4th
Date: Sun, 21 Dec 2008 09:47:53 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Dec 21, 2008 at 11:26:16PM +1100, Cameron Horsburgh wrote:
> On Sat, Dec 20, 2008 at 11:49:10PM -0800, Graham Percival wrote:
> > ... I really don't understand this question.  If you already know
> > how to transpose from C to Bb, why on earth do you need to ask how
> > to transpose from C to G ?!
> 
> He wants it diatonic, so it's not that easy. \transpose c' g {a b c} 
> would produce {e fis g} instead of {e f g}.

Oops, I forgot my first-year theory.  In this case, he'd need to
write a scheme function.  Actually, it wouldn't be hard at all...
this is a perfect intro-level scheme tweak.

I leave it as an exercise for the reader.  Neil, Trevor, Valentin:
please don't give the answer.  :)

> Even then, the extra \relative makes things get very messy:

Then omit it.

melody = {a b c d e f g}

{ \melody \\ { \transpose c' g \melody }}

Cheers,
- Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]