Ole,

On 27 November 2011 01:05, ole <m...@oleschmidt.info> wrote:

> a b c d | /transpose c b, { a b c d }
>
> or do I misunderstand it completely?
>
> ole
>

No you didn't :) Thank you for responding to what seemed a _very_ basic
question.

What I should have said was

Take a _lilypond file_ , for example

%%%

\version "2.14.1"

Music = {
  \key d \major
  a b c d | a b c d |
}

\score {
  \relative c ' { \Music }
}

%%%

It's because of the \relative I think; the Notation Reference does actually
talk about this - I don't think of 'transposing'  without thinking about
the changing of the key signature, which I don't want to do. Hence I didn't
even think to use \transpose!

So it seems I have to define the transposition within the 'Music'
expression itself:

Music = {
  \key d \major
  \transpose b c { a b c d | a b c d | a b c d }
}

Which keeps the key signature and does indeed shift the notes, great!

But then I cannot (seem to) use \relative and this becomes absolute octave
entry exercise.

Unless I have misread the NR?

James
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to