[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MIDI and transposing instruments
From: |
Peter Chubb |
Subject: |
Re: MIDI and transposing instruments |
Date: |
Fri, 05 Jun 2009 18:46:01 +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) (i486-linux-gnu) |
>>>>> "Francisco" == Francisco Vila <address@hidden> writes:
Francisco> 2009/6/5 bernie arai <address@hidden>:
>> i'm trying my hand at finally using the midi output of lilypond to
>> audition my scores (instead of relying on my horrid piano playing).
>> after a bit of messing around, and a while looking through the
>> docs, i'm a bit stumped as to what to try next. i've defined
>> instruments for example:
>>
>> tenorsax = \transpose c d' \relative c { % tenor notes (in
>> concert pitch) }
Francisco> Please use \transposition for this.
Francisco>
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Instrument-transpositions
\transposition doesn't sit well with MIDI output if you're going to do
further transpositions.
Try:
\version "2.11.62'
clarinet = \transpose bes c' { \transposition bes bes1 }
flute = { bes1 }
\score {
\transpose c d' <<
\new Staff \clarinet
\new Staff \flute
>>
\midi {}
\layout{}
}
You'll hear a discord instead of the unison you expect.
--
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