lilypond-user
[Top][All Lists]
Advanced

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

Re: global dynamics


From: Simon Bailey
Subject: Re: global dynamics
Date: 21 Jun 2002 11:19:18 +0200

On Fri, 2002-06-21 at 01:30, Mats Bengtsson wrote:
> > i now am using the following code, which prints the dynamics in the
> > single parts, but not in the score:
> > 
> > dynamics = \notes {
> >     s4\mf
> >     \skip 4*47
> >     \repeat volta 2 {
> >             s4\pp
> >             \skip 4*10
> >             s4\mf
> >             \skip 4*12
> >             s4\f
> >             \skip 4*5
> >             s4\p
> >             \skip 4*5
> >             s4\f
> >             \skip 4*11
> >     }
> > }
> > 
> > global = {
> >   \property Staff.TextScript \override #'padding = #2                       
> >   \property Score.RehearsalMark \override #'padding = #2
> >   \time 3/4
> >   \dynamics
> > }
> > 
> > in each of the single instrument parts, the dynamics are printed, but
> > not in the score.
> 
> It's really hard to say since you don't tell us how you use these
> definitions in the \score{...} block.

sorry.
here is my score file:
------------------------------------------------------------------
\include "firsttrumpet.ly"
\include "secondtrumpet.ly"
\include "firsttrombone.ly"
\include "secondtrombone.ly"
\include "globals.ly"
\include "paper13.ly"

\score {
  <
    \global
    \property Score.BarNumber \override #'padding = #3
    \context StaffGroup = highbrass <
      \context Staff = trombeI <
        \property Staff.midiInstrument = #"trumpet"
        \property Staff.instrument = "Trompete I"
        \property Staff.instr = "Tpt. I  "
        \property Staff.transposing = #-2
        \Key
        \trumpet1
      >
      \context Staff = trombeII <
        \property Staff.midiInstrument= #"trumpet"
        \property Staff.instrument = "Trompete II"
        \property Staff.instr = "Tpt. II  "
        \property Staff.transposing = #-2
        \Key
        \trumpet2
      >
    >
    \context StaffGroup = lowbrass <
      \context Staff = tromboneI <
        \property Staff.midiInstrument = #"trombone"
        \property Staff.instrument = "Posaune I"
        \property Staff.instr = "Pos. I  "
        \tromboneI
      >
      \context Staff = tromboneII <
        \property Staff.midiInstrument = #"trombone"
        \property Staff.instrument = "Posaune II"
        \property Staff.instr = "Pos. II  "
        \tromboneII
      >
    >
  >
  \paper {
    indent = 15 * \staffspace
    linewidth = 120 * \staffspace
    \translator {
      \HaraKiriStaffContext
    }
  }
  \header {
    head = "Minuet - Partitur"
  }
  \midi {
    \tempo 2 = 65
  }
}
-------------------------------------------------------------

here is a single-part file, they all look the same, just the names
differ:

\include "globals.ly"
\include "firsttrombone.ly"

\score {
  \context Staff <
    \property Score.skipBars = ##t
    \global
    \tromboneI
  >

  \header {
    instrument = "1. Posaune (C)"
    head = "Minuet - 1. Posaune"
  }
}

thanx again,
simon.
-- 
Confucius say, man who live in glass house shower in basement.



reply via email to

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