Skip to content

Instantly share code, notes, and snippets.

@bugthunk
Created September 13, 2021 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bugthunk/81f35a70a0fe434098f51a32f38dbfde to your computer and use it in GitHub Desktop.
Save bugthunk/81f35a70a0fe434098f51a32f38dbfde to your computer and use it in GitHub Desktop.
\version "2.20.0"
thepaper = \paper {
indent = 0
tagline = ##f
top-margin = 25
left-margin = 13
right-margin = 13
}
columns = #2
#(define getlinewidth
(lambda (paper)
(let* (
(landscape (ly:output-def-lookup paper 'landscape))
(output-scale (ly:output-def-lookup paper 'output-scale))
(paper-width (ly:output-def-lookup paper 'paper-width))
(paper-height (ly:output-def-lookup paper 'paper-height))
(indent (ly:output-def-lookup paper 'indent))
(plain-line-width (ly:output-def-lookup paper 'line-width))
(plain-left-margin (ly:output-def-lookup paper 'left-margin))
(w (if landscape paper-height paper-width))
(left-margin (if (null? plain-left-margin)
(if (null? plain-line-width)
10
(/ (- w plain-line-width) 2))
plain-left-margin))
(line-width (if (null? plain-line-width)
(- w (* (* columns 2) left-margin))
plain-line-width)))
(/ line-width columns)
)))
\paper { \thepaper }
\markup {
\fill-line {
\column {
1
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 bd8 bd8 sn8 r4 r8 bd8 bd8 sn8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
2
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 bd8 sn8 bd8 r4 r8 bd8 sn8 bd8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
3
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 bd8 sn8 sn8 r4 r8 bd8 sn8 sn8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
4
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 sn8 bd8 bd8 r4 r8 sn8 bd8 bd8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
5
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 sn8 bd8 sn8 r4 r8 sn8 bd8 sn8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
6
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 r8 sn8 sn8 bd8 r4 r8 sn8 sn8 bd8 r4 r4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
7
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd4 bd8 sn8 r4 bd4 bd8 sn8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
8
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd4 sn8 bd8 r4 bd4 sn8 bd8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
9
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd4 sn8 sn8 r4 bd4 sn8 sn8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
10
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 bd8 r8 sn8 r4 bd8 bd8 r8 sn8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
11
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 bd8 sn4 r4 bd8 bd8 sn4 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
12
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 sn8 r8 bd8 r4 bd8 sn8 r8 bd8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
}
\column {
13
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 sn8 r8 sn8 r4 bd8 sn8 r8 sn8 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
14
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 sn8 bd4 r4 bd8 sn8 bd4 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
15
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 bd8 sn8 sn4 r4 bd8 sn8 sn4 r4 bd4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
16
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn4 bd8 bd8 r4 sn4 bd8 bd8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
17
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn4 bd8 sn8 r4 sn4 bd8 sn8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
18
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn4 sn8 bd8 r4 sn4 sn8 bd8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
19
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 bd8 r8 bd8 r4 sn8 bd8 r8 bd8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
20
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 bd8 r8 sn8 r4 sn8 bd8 r8 sn8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
21
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 bd8 bd4 r4 sn8 bd8 bd4 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
22
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 bd8 sn4 r4 sn8 bd8 sn4 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
23
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 sn8 r8 bd8 r4 sn8 sn8 r8 bd8 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
24
\score {
\drums <<
{
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = 1,1,1,1
\omit Staff.TimeSignature
\drummode
{ <<
{
r4 sn8 sn8 bd4 r4 sn8 sn8 bd4 r4 sn4
}
>>
}
} >>
\layout { line-width = #(getlinewidth thepaper)
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/10)
}
}
}
\vspace #1.5
} }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment