lilypond-user
[Top][All Lists]
Advanced

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

Re: a script / tool for transposing a lilypond staff / source file by a


From: Peter Chubb
Subject: Re: a script / tool for transposing a lilypond staff / source file by a given interval and output result as a new file
Date: Mon, 08 Sep 2008 10:01:48 +1000
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 MULE XEmacs/21.4 (patch 21) (Educational Television) (x86_64-linux-gnu)

>>>>> "Reinhold" == Reinhold Kainhofer <address@hidden> writes:

Reinhold> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1


Reinhold> That, and you should add \transposition
Reinhold> displayPitchOfYourNote to the beginning of your original
Reinhold> score in some strange display pitch. This tells lilypond the
Reinhold> actual concert pitch of that part, so that quoting the
Reinhold> instrument in other voices displays the correct pitches
Reinhold> there, too, and the MIDI output uses the correct sounding
Reinhold> pitch. See
Reinhold> 
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Displaying-pitches.html#Instrument-transpositions


Actually, the MIDI output won't necessarily be correct.  Using
\transpositon seems to freeze the pitch so \transpose does
nothing to the MIDI, but does affect the printed output.

I've reported this a couple of times to the bugs list, but been
ignored.

Try this:
 \score {
        \transpose c' bes
        <<
                \relative c' { c1 }
                \relative c' { \transposition bes d1 }
        >>
        \midi{}
  }

You should get a unison, but instead get a major second in the MIDI
output.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia




reply via email to

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