lilypond-user
[Top][All Lists]
Advanced

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

Re: How to typeset this?


From: Trent Johnston
Subject: Re: How to typeset this?
Date: Sun, 9 Jul 2006 16:25:46 +1000

----- Original Message ----- 
From: "Jay Anderson" <address@hidden>
To: <address@hidden>
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

Attachment: hornpiano.ly
Description: Text Data


reply via email to

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