Re: inline transposition

2009-01-27 Thread Mats Bengtsson
See Known issues and warnings in 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-pitches#Relative-octave-entry


  /Mats

Helge Kruse wrote:

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


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


inline transposition

2009-01-25 Thread Helge Kruse

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
	}
}

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user