----- Original Message ----- 
From: "Jay Anderson" <[EMAIL PROTECTED]>
To: <lilypond-user@gnu.org>
Sent: Sunday, July 09, 2006 2:50 PM
Subject: How to typeset this?


| I'm trying to typeset the attached measure (from brahms horn trio
| piano part, let me know if it works) in lilypond. Here's the best I
| got so far:
|
| \times 2/3 {r8 <<{bes''4~} \\ {bes8 <f bes, aes>~}>>} << bes4 \\ <f bes,
aes> >>
|
| The problem I have is that the eighth notes aren't beamed, I can't get
| the triplet bracket to show (it's not in the original, but I'd like to
| put it on at least once) and it's not exactly the same as the
| original. Any help would be greatly appreciated. I'm used to
| monophonic music or simple polyphonic music. I've never tried a piano
| part before. Thanks for any help!
|
| -----Horndude77
|

Hi Horndude77,

Is the following what you are after??

================================

\version "2.9.10"

\header {
}

staffPiano = \new PianoStaff {
 \set PianoStaff.midiInstrument = #"acoustic grand"
 \set PianoStaff.instrument = #"Piano  "
  \time 2/4
    <<
  \context Staff = "RH" {  % Right hand
   \clef treble
   \key bes \major
   \relative c {
\tupletUp << { \times 2/3 {  \revert Rest  #'direction \revert
MultiMeasureRest #'staff-position r8 bes''8 \tieNeutral <f bes, aes>~} } \\
{ \once \override TupletNumber #'transparent = ##t \times 2/3 {s8 \tieUp
bes4~} } >> <<  { <f bes, aes>4 } \\ { \stemUp bes4 } >>
   }
  }
  \context Staff = "LH" {  % Left hand
   \clef bass
   \key bes \major
   \relative c {
   }
  }
 >>
}

\score {
 <<
  \staffPiano
 >>

 \midi {
 }

 \layout  {
  ragged-right = ##t
 }
}

\paper {
}

==================

Trent

P.S. I've also added this as an attachment
% Created on Sun Jul 09 16:04:20 EST 2006
\version "2.9.10"

\header {
}

staffPiano = \new PianoStaff {
	\set PianoStaff.midiInstrument = #"acoustic grand"
	\set PianoStaff.instrument = #"Piano  "
		\time 2/4
				<<
		\context Staff = "RH" {  % Right hand 
			\clef treble
			\key bes \major
			\relative c {
\tupletUp << { \times 2/3 {  \revert Rest  #'direction \revert MultiMeasureRest #'staff-position r8 bes''8 \tieNeutral <f bes, aes>~} } \\ { \once \override TupletNumber #'transparent = ##t \times 2/3 {s8 \tieUp bes4~} } >> <<  { <f bes, aes>4 } \\ { \stemUp bes4 } >>
			}
		}
		\context Staff = "LH" {  % Left hand 			
			\clef bass
			\key bes \major
			\relative c {
			}
		}
	>>
}



\score {
	<<
		\staffPiano
	>>
	
	\midi {
	}

	\layout  {
		ragged-right = ##t
	}
}

\paper {
}

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

Reply via email to