[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
publish separate drum exercises in one pdf file
From: |
ismaehkloa |
Subject: |
publish separate drum exercises in one pdf file |
Date: |
Wed, 27 Feb 2008 14:43:55 -0800 (PST) |
I am transcribing my daughter's hand written drum exercises into lilypond.
I'd love to be able to have each week's exercises on one pdf page.
I am working in windows and have problems running lilypond-book (I think).
I can do nice individual pdfs and pngs, just not merge them onto one pdf.
Exercise one
\version "2.10.0"
include "NotationXBig.ly"
#(define mydrums '((bassdrum default #f -3)(sidestick cross #f 1)(snare
default #f 1)(closedhihat cross "stopped" 4)(hihat cross #f 4)(openhihat
cross "open" 4)(pedalhihat cross #f -4)(ridecymbal cross #f 5)(cowbell cross
#f 0)
(crashcymbal cross #f 5)(highfloortom default #f -1)(lowmidtom default #f
2)(himidtom default #f 3)(losidestick xcircle #f 1)))
up = \drummode { \override Beam #'positions = #'(5 . 5) hh16^\markup {
\column { "R" \line { " " } } } sn16^\markup { \column { "L" \line { " " } }
} hh16^\markup { \column { "R" \line { " " } } } sn16^\markup { \column {
"L" \line { " >" } } } hh16^\markup { \column { "R" \line { " " } } }
sn16^\markup { \column { "L" \line { " " } } } hh16^\markup { \column { "R"
\line { " " } } } sn16^\markup { \column { "L" \line { " " } } }
hh16^\markup { \column { "R" \line { " " } } } sn16^\markup { \column { "L"
\line { " " } } } hh16^\markup { \column { "R" \line { " " } } }
sn16^\markup { \column { "L" \line { " " } } } sn16^\markup { \column { "R"
\line { " >" } } } sn16^\markup { \column { "L" \line { " " } } }
hh16^\markup { \column { "R" \line { " " } } } sn16^\markup { \column { "L"
\line { " " } } } }
down = \drummode { \override Beam #'positions = #'(-4 . -4) bd4 r8 bd8 bd4
r4 }
\score {
\new DrumStaff \with {
fontSize = #3
\override StaffSymbol #'staff-space = #(magstep 3)
}
<<
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\override DrumStaff.TimeSignature #'style = #'()
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
\layout {
\context{}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 80 4)
}
}
}
Exercise two
\version "2.10.0"
\include "NotationXBig.ly"
#(define mydrums '((bassdrum default #f -3)(sidestick cross #f 1)(snare
default #f 1)(closedhihat cross "stopped" 4)(hihat cross #f 4)(openhihat
cross "open" 4)(pedalhihat cross #f -4)(ridecymbal cross #f 5)(cowbell cross
#f 0)
(crashcymbal cross #f 5)(highfloortom default #f -1)(lowmidtom default #f
2)(himidtom default #f 3)(losidestick xcircle #f 1)))
up = \drummode { \override Beam #'positions = #'(5 . 5) \once \override
TextScript #'staff-padding = #2.6 sn16_"R" \once \override TextScript
#'staff-padding = #2.6 sn16_"L" \once \override TextScript #'staff-padding =
#2.6 hho16_"R" \once \override TextScript #'staff-padding = #2.6 sn16_"L"
\once \override TextScript #'staff-padding = #2.6 sn16_"R" \once \override
TextScript #'staff-padding = #2.6 hho16_"L" \once \override TextScript
#'staff-padding = #2.6 sn16_"R" \once \override TextScript #'staff-padding =
#2.6 sn16_"L" \once \override TextScript #'staff-padding = #2.6 hho16_"R"
\once \override TextScript #'staff-padding = #2.6 sn16_"L" \once \override
TextScript #'staff-padding = #2.6 tommh16^"1"_"R" \once \override TextScript
#'staff-padding = #2.6 tommh16^"1"_"L" \once \override TextScript
#'staff-padding = #2.6 tomml16^"2"_"R" \once \override TextScript
#'staff-padding = #2.6 tomml16^"2"_"L" \once \override TextScript
#'staff-padding = #2.6 tomfh^"3"_"R" \once \override TextScript
#'staff-padding = #2.6 tomfh^"3"_"L" }
down = \drummode { \override Beam #'positions = #'(-4 . -4) r8 bd16 r16 r16
bd16 r8 bd16 r8. r4 }
\score {
\new DrumStaff \with {
fontSize = #3
\override StaffSymbol #'staff-space = #(magstep 3)
}
<<
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\override DrumStaff.TimeSignature #'style = #'()
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
\layout {
\context{}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 80 4)
}
}
}
NotationXBig.ly
% the resolution of the png bitmaps is 127dpi;
% a paper size of 140mm x 30 mm will lead to a bitmap of
% 700x 150 pixels
#(ly:set-option 'resolution 256)
% the paper size is 700x150 pixels and the score covers almost the
% complete width; any additional markup is left out
\paper {
paper-width = 140\mm
paper-height = 50\mm
resolution = 256
top-margin = 4\mm
bottom-margin = 5\mm
line-width = 136\mm
% head-separation = 4\mm
% foot-separation = 4\mm
page-top-space = 4\mm
after-title-space = 0\mm
indent = 1\mm
horizontal-shift = 0.5\mm
% ragged-right = ##t
% ragged-bottom = ##t
% -- remove all markup --
print-page-number = ##f
print-first-page-number = ##f
evenFooterMarkup=##f
oddFooterMarkup=##f
evenHeaderMarkup=##f
oddHeaderMarkup=##f
bookTitleMarkup=##f
scoreTitleMarkup=##f
}
please help,
thank you!
--
View this message in context:
http://www.nabble.com/publish-separate-drum-exercises-in-one-pdf-file-tp15725315p15725315.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
- publish separate drum exercises in one pdf file,
ismaehkloa <=