[Top][All Lists]
[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: |
Markus Schneider |
Subject: |
Re: Need a link to answer how to set up percussion staves properly |
Date: |
Sun, 23 Jul 2006 19:29:52 +0200 |
Jay,
maybe this points you in the right direction using DrumStaff and/or
RhythmicStaff.
Note the layout changes I added in the layout-block.
Here you can find more details for modifications in that manner:
http://lilypond.org/doc/v2.8/Documentation/user/lilypond-internals.html#DrumStaff
http://lilypond.org/doc/v2.8/Documentation/user/lilypond-internals.html#RhythmicStaff
Markus
%%%
\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 = {
\set Staff.instrument = #"Woodblock"
\set Staff.midiInstrument = "woodblock"
r1
}
Ride = {
\set Staff.instrument = #"Ride Cymbal"
\set Staff.midiInstrument = "Ride"
r1
}
tom = {
\set Staff.instrument = #"Floor Tom"
\set Staff.midiInstrument = "Melodic Tom"
r1
}
bassdr = {
\set Staff.instrument = #"Bass Drum"
\set Staff.midiInstrument = "bassdrum"
r1
}
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 { {
<<
\context StaffGroup = A
<<
\new Staff \Flute
\new Staff \Clarinet
\new Staff \Alto
\new Staff \Trumpet
>>
\context StaffGroup = B
<<
\new RhythmicStaff \woodblock
\new RhythmicStaff \Ride
\new RhythmicStaff \tom
\new RhythmicStaff \bassdr
>>
\context StaffGroup = C
<<
\new Staff \Violin
\new Staff \Viola
\new Staff \Cello
\new Staff \Contrabass
>>
\context StaffGroup = D
<<
\new DrumStaff \woodblock
\new DrumStaff \Ride
\new DrumStaff \tom
\new DrumStaff \bassdr
>>
>> }
\layout {
\context {
\RhythmicStaff
\consists Clef_engraver
clefGlyph = #"clefs.percussion"
clefPosition = #0
}
\context {
\DrumStaff
\override StaffSymbol #'line-count = #1
}
}
\midi {\tempo 4=112 }
}
%%%