[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inline transposition
From: |
Helge Kruse |
Subject: |
inline transposition |
Date: |
Sun, 25 Jan 2009 17:34:06 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14 |
Hello,
I write Gounod's Ave Maria for vocal and harp. Since the celtic harp has
fewer bass strings it is necessary to play one octave higher from
measure 20 until the end. The playing instruction can be notated with
#(set-octavation 1)
but the play had to transpose it in mind for all measures. Therefore I
want to transpose the score. I surrounded all the measures with
\transpose c c' { ... }
and changed the clef. But this affects the octave of some notes, i.e. in
measure #22. I attached the excerpt where the \transpose is commented
out. To see the problem, please remove both % in front the lines.
In measure #22 (fourth in the excerpt) you can read
a,16 e'
The e is in the wrong pitch, but only when \transpose is enabled.
Is this a bug or did I miss something?
With the midiHarp statement I want to select a "orchestral harp". But
the MIDI generator ignores it. How can I generate a MIDI file with my
favorit instrument?
Best regards,
Helge
\version "2.11.63"
\header {
title = "Ave Maria"
subtitle = "Meditation on the First Prelude of J. S. Bach"
composer = "Gounod"
}
midiHarp = { \set Staff.midiInstrument = "orchestral harp" }
harpup = \relative c {
\clef bass
\time 4/4
\key d \major
\midiHarp
% 19
s16 s d a' d d, a' d s16 s d, a' d d, a' d |
% 20
% remove comment at front of next line
%\clef treble \transpose c c'
{
s16 s b, d g b, d g s16 s b, d g b, d g |
s16 s b, d g b, d g s16 s b, d g b, d g |
s16 s a, cis g' a, cis g' s16 s a, cis g' a, cis g' |
}
}
harplow = \relative c, {
\clef bass
\time 4/4
\key d \major
\midiHarp
fis16 a s4. fis16 a s4. |
% 20
% remove comment at front of next line
%\clef treble \transpose c c'
{
fis16 g s4. fis16 g s4. |
e16 g s4. e16 g s4. |
a,16 e' s4. a,16 e' s4. |
}
}
\score {
\new PianoStaff
<<
\new Staff = "up" \harpup
\new Staff = "low "\harplow
>>
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 60 4)
}
}
\layout {
interscoreline = 0.8\cm
}
}
- inline transposition,
Helge Kruse <=