lilypond-user
[Top][All Lists]
Advanced

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

transposition and midi


From: D Josiah Boothby
Subject: transposition and midi
Date: Tue, 04 Jan 2005 00:05:56 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

Using 2.4.2, I'd like to be able to transpose a part, create a midi file, and create the graphical output. The midi output is transposed right along with the score if everything is in the same score block. Is it possible to have an untransposed midi with transposed parts without having to play games with comments or writing out more than one score block every time (as in the below example)?

firstNotes = \relative c'' { \key c \minor c4 b c2 }

secondNotes = \relative c'' { \key c \minor a4 gis a2 }

\score {
 \context StaffGroup <<
   \context Staff = "first" <<
     \transpose bes c'
     \firstNotes
   >>
   \context Staff = "second" <<
     \transpose f c'
     \secondNotes
   >>
 >>

 \layout { }
}

\score {
 \context StaffGroup <<
   \context Staff = "first" <<
     \firstNotes
   >>
   \context Staff = "second" <<
     \secondNotes
   >>
 >>
 \midi { \tempo 4 = 60 }
}




reply via email to

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