Ole Schmidt schrieb:
> do you mean tempo or meter? meter is something like 4/4 or 5/8

Ops, I meant tempo. I'm not that familiar with the musician English... :)

> if you want tempo Quarternote = 138
> you can use
>
> \markup {  \note #"4" #1 =  { 138  }  }
>
> or you can use the \tempo = 138  (inside the Staff { })

OK, the markup thing in the header works, but destroys the rest of the 
header. :(

Where should I put this? I'm using a rather old template from Amelie Zapf, 
which I converted to the newest Lily-Version and which I'll attach.

> I hope this helps

Thanks a lot.

> best
>
> ole

-- 
MfG Jan

OpenPGP Fingerprint:
0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A
% Based on "LilyPond example file by Amelie Zapf, Berlin 07/07/2003"

\version "2.10.10"

\header {
        dedication = ""
        title = ""
        subtitle = ""
        subsubtitle = ""
        composer = ""
        opus = ""
        piece = ""
        instrument = ""
        arranger = "the P.O.J.S."
        poet = ""
        texttranslator = ""
        copyright = ""
        source =  ""
        enteredby = "Jan Kohnert"
        maintainerEmail = "[EMAIL PROTECTED]"
        texidoc = "Music of 'the P.O.J.S.'"
        meter = ""
        piece = ""
}

#(set-global-staff-size 16)
\include "deutsch.ly"

%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%

sl = {
        \override NoteHead #'style = #'slash
        \override Stem #'transparent = ##t
}
nsl = {
        \revert NoteHead #'style
        \revert Stem #'transparent
}
cr = \override NoteHead #'style = #'cross
ncr = \revert NoteHead #'style

%% insert chord name style stuff here.

jzchords = { \semiGermanChords }


%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%

global = {
        \time 4/4
}

Key = { \key a \major }

% ############ Voice Section ############

% ----- Melody --------
melodya = \relative c'' {
        \Key
        \autoBeamOff
        \stemUp
        \set Staff.instrumentName = #"Voice"
        \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4)
        r1*4 \break
        }
        
}
melodyb = \relative c'' {
        \Key
        \autoBeamOff
        \stemDown
        \set Staff.instrumentName = #"Voice"
        \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4)
        }
}
melodyc = \relative c'' {
        \Key
        \autoBeamOff
        \stemUp
        \set Staff.instrumentName = #"Voice"
        \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4)
        }
}

% ----- Text ------
stza = \lyricmode {
        \set stanza = "1. "
}

stzb = \lyricmode {
        \set stanza = "2. "
}

stzc = \lyricmode {
        \set stanza = "3. "
}

% ############ Rhythm Section #############

% ------ Chords ------
gtrharmony = \chordmode {
        \jzchords
        }
}

% ------ Guitar1 ------
gtra = \relative c'' {
        \Key
}
guitara = {
        \global
        \set Staff.instrumentName = #"Guitar 1"
        \set Staff.midiInstrument = "acoustic guitar (nylon)"
        \clef "treble_8"
        \context Staff <<
                \gtra
        >>
}

% ------ Guitar2 ------
gtrb = \relative c'' {
        \Key
}
guitarb = {
        \global
        \set Staff.instrumentName = #"Guitar 2"
        \set Staff.midiInstrument = "acoustic guitar (steel)"
        \clef "treble_8"
        \context Staff <<
                \gtrb
        >>
}

%% ------ Piano ------
rhUpper = \relative c'' {
        \voiceOne
        \Key
}
rhLower = \relative c' {
        \voiceTwo
        \Key
}

lhUpper = \relative c' {
        \voiceOne
        \Key
}
lhLower = \relative c {
        \voiceTwo
        \Key
}

PianoRH = {
        \clef treble
        \global
        \set Staff.midiInstrument = "rock organ"
        \context Staff <<
                \context Voice = "one" \rhUpper
                \context Voice = "two" \rhLower
        >>
}
PianoLH = {
        \clef bass
        \global
        \set Staff.midiInstrument = "rock organ"
        \context Staff <<
                \context Voice = "one" \lhUpper
                \context Voice = "two" \lhLower
        >>
}

piano = {
        \context PianoStaff <<
        \set PianoStaff.instrumentName = #"Piano"
                \context Staff = "upper" \PianoRH
                \context Staff = "lower" \PianoLH
        >>
}

% ------ Bass Guitar ------
Bass = \relative c {
        \Key
}
bass = {
        \global
        \set Staff.instrumentName = #"Bass"
        \set Staff.midiInstrument = "acoustic bass"
        \clef "bass_8"
        \context Staff <<
                \Bass
        >>
}

% ------ Drums ------
up = \drummode {
}

down = \drummode {
}

drumContents = {
        \global
        <<
                \set DrumStaff.instrumentName = #"Drums"
                \new DrumVoice { \voiceOne \up }
                \new DrumVoice { \voiceTwo \down }
        >>
}

%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%

\score {
        <<
        \context ChordNames = "chords" \gtrharmony
        \context Staff = "voice" <<
                \new Voice { \voiceOne \melodya }
                        \addlyrics { \stza }
                        \addlyrics { \stzb }
                        \addlyrics { \stzc }
                \new Voice { \voiceTwo \melodyb }
                \new Voice { \voiceThree \melodyc }
                >>
        
        \context StaffGroup = "rhythm" <<
                \context Staff = "guitara" \guitara
                \context Staff = "guitarb" \guitarb
                \context PianoStaff = "piano" \piano
                \context Staff = "bass" \bass
                \new DrumStaff { \drumContents }
                >>
        >>
        
        \layout {
                \context { \RemoveEmptyStaffContext }
                \context {
                        \Score
                        \override BarNumber #'padding = #3
                        \override RehearsalMark #'padding = #2
                        skipBars = ##t
                }
        }
        
        
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 83 4)
      }
    }


}

Attachment: pgpMsrbADe6ul.pgp
Description: PGP signature

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to