lilypond-user
[Top][All Lists]
Advanced

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

Re: Need a link to answer how to set up percussion staves properly


From: Kieren MacMillan
Subject: Re: Need a link to answer how to set up percussion staves properly
Date: Sun, 23 Jul 2006 11:40:41 -0400

Hi, Jay:

What I keep on getting is errors about the percussion staffs

You should try to define all the different staffs consistently -- in your case, you were using \new RhythmicStaff in both the definition of the percussion variables (parts) and instantiation of their respective staves (within the score).

Compare my modified version, below.

Best regards,
Kieren.

___________________________

\version "2.8.4"
\header
{
        title = "Wax"
        composer = "Jay Hamilton"
        copyright = "CC lic.#2.5 some rights reserved Jay Hamilton 2006"
}

global =
{
        #(set-global-staff-size 19)
        \key f \major
        \time 4/4
        \override Staff.TimeSignature #'style = #'()
}

flute = \relative c'
{
        \set Staff.instrument = #"Flute"
        \set Staff.midiInstrument = "Flute"
        \clef treble
        r1
}

clarinet = \relative c'
{
        \set Staff.instrument = #"Clarinet in C"
        \set Staff.midiInstrument = "Clarinet"
        \clef treble
        r1
}

alto  = \relative c'
{
        \set Staff.instrument = #"Alto Sax"
        \set Staff.midiInstrument = "Alto Sax"
        \clef treble
        r1
}

trumpet = \relative c
{
        \set Staff.instrument = #"Trumpet in C"
        \set Staff.midiInstrument = "Trumpet"
        \clef treble
        r1
}

woodblock = \relative c
{
        \set Staff.instrument = #"Woodblock"
        \set Staff.midiInstrument = "woodblock"
        \override Staff.StaffSymbol #'line-count = 1
        r1
}

ride = \relative c
{
        \set Staff.instrument = #"Ride Cymbal"
        \set Staff.midiInstrument = "Ride"
        \override Staff.StaffSymbol #'line-count = 1
        r1
}

tom = \relative c
{
        \set Staff.instrument = #"Floor Tom"
        \set Staff.midiInstrument = "Melodic Tom"
        \override Staff.StaffSymbol #'line-count = 1
        r1
}

bass = \relative c
{
        \set Staff.instrument = #"Bass Drum"
        \set Staff.midiInstrument = "Bass drum"
        \override Staff.StaffSymbol #'line-count = 1
}

violin = \relative c
{
        \set Staff.instrument = #"Violin"
        \set Staff.midiInstrument = "violin"
        \clef treble
        r1
}

viola = \relative c'
{
        \set Staff.instrument = #"Viola"
        \set Staff.midiInstrument = "viola"
        \clef alto
        r1
}

cello = \relative c
{
        \set Staff.instrument = #"Cello"
        \set Staff.midiInstrument = "Cello"
        \clef bass
        r1
}

contrabass = \relative c
{
        \set Staff.instrument = #"Contrabass"
        \set Staff.midiInstrument = "contrabass"
        \clef "F_8"
        r1
}

\score
{
        <<
                \new StaffGroup = A
                <<
                        \new Staff \flute
                        \new Staff \clarinet
                        \new Staff \alto
                        \new Staff \trumpet
                >>
                \new StaffGroup = B
                <<
                        \new RhythmicStaff \woodblock
                        \new RhythmicStaff \ride
                        \new RhythmicStaff \tom
                        \new RhythmicStaff \bass
                >>
                \new StaffGroup = C
                <<
                        \new Staff \violin
                        \new Staff \viola
                        \new Staff \cello
                        \new Staff \contrabass
                >>
        >>
        \layout { }
        \midi {\tempo 4=112 }
}




reply via email to

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