Re: Setting accent notes in a drum staff

2014-05-26 Thread Markus Brueckner
Hi,

Am 25.05.2014 23:59, schrieb Jim Long:

 (this is older 2.16-ish syntax, but should still work with 2.18.
 Adjust some of these values to suit your taste.)
 [example]
 I hope that gives you some ideas.  I'm attaching a lame example that I had
 sitting around already.  The rhythms variable is the important one.
 There's a lot of other cruft in the other simultaneous contexts
 that isn't strictly pertinent to your question.

perfect, thank you. I fiddled a bit with the values and nearly got the
look, I like (some more experimenting is needed, especially with the
distance between the upper line of the drum staff and the rhythm staff,
but this is a huge step in the right direction). Where do you actually
find that kind of stuff? I think, I've looked really hard into the
documentation, but I had no idea, where to start.

So long,
Markus

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Setting accent notes in a drum staff

2014-05-25 Thread Markus Brueckner
Hi everybody,

I'm trying to use Lilypond to typeset drum notes for a bigband. While
this might not be the area, where Lilypond shines the most, I've had
considerable success so far. Now however, I'm stuck.
Especially in Swing/Jazz music, notation is sometimes quite minimal, the
whole sheet consisting more or less only of \repeat percent something.
What is quite common is the notation of unison accents as some kind of
second voice above the line (see [0] for an example. The small notes
on top of the line are basically the rhythm of what the whole band plays
at that point. The notes are quite a bit smaller than what would be on
the line, if there was something).
Can I somehow (preferably easily) do something like this in Lilypond? If
yes: how? If read the documentation and browsed throught snippets etc.,
but I don't seem to use the right search terms (quite possible, as I
have no idea, how those notes are actually called).

Thanks for your patience.
So long,
Markus
[0] http://test.slash-me.net/accents.jpg

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Setting accent notes in a drum staff

2014-05-25 Thread Jim Long
On Sun, May 25, 2014 at 10:45:42PM +0200, Markus Brueckner wrote:
 Hi everybody,
 
 Especially in Swing/Jazz music, notation is sometimes quite minimal, the
 whole sheet consisting more or less only of \repeat percent something.
 What is quite common is the notation of unison accents as some kind of
 second voice above the line (see [0] for an example. The small notes
 on top of the line are basically the rhythm of what the whole band plays
 at that point. The notes are quite a bit smaller than what would be on
 the line, if there was something).

I create lead sheets with rhythmic cues using something like:

(this is older 2.16-ish syntax, but should still work with 2.18.
Adjust some of these values to suit your taste.)

rhythmMarks = \new RhythmicStaff \with {

  \override StaffSymbol #'line-count = #0
  \override StaffSymbol #'staff-space = #(magstep -3)
  \override StaffSymbol #'stencil = ##f
  \override BarLine #'stencil = ##f
  \override NoteHead #'style = #'slash
  \override TimeSignature #'transparent = ##t
  \override VerticalAxisGroup
#'staff-staff-spacing =
   #'((basic-distance . 0)
  (minimum-distance . 0)
  (padding . 1.0))
} {
  \set fontSize = #-4
  \stemDown
  s1*4
  s1*20
  s1*16
  s1*16
  s1*8
  r4 b- r r | r4 b- r r
  r8 b b[ b] b[ b] b[ b] | b r r b ~ b2
} % rhythmMarks

I then include that as simultaneous music, something like:

\score {
  
\harmonies
\rhythmMarks
\melody
  
}

I hope that gives you some ideas.  I'm attaching a lame example that I had
sitting around already.  The rhythms variable is the important one.
There's a lot of other cruft in the other simultaneous contexts
that isn't strictly pertinent to your question.

Jim
\version 2.16.2

%\paper { annotate-spacing = ##t }

melody = \new Staff \with {
  \override VerticalAxisGroup
#'staff-staff-spacing = #'(
  (basic-distance . 0)
  (minimum-distance . 0)
  (padding . 0)
		)
} { % 20 bars
  \repeat unfold 4 { g4 g'' g'' g'' } \break
  \repeat unfold 4 { g4 g'' g'' g'' } \break
  \repeat unfold 4 { g4 g'' g'' g'' } \break
  \repeat unfold 4 { g4 g'' g'' g'' } \break
  \repeat unfold 4 { g4 g'' g'' g'' } \break
} % melody


harmonies = \new ChordNames \with {
  \override VerticalAxisGroup
#'staff-staff-spacing = #'(
  (basic-distance . 0)
  (minimum-distance . 0)
  (padding . 0)
		)
} \chordmode { % 20 bars
  \repeat unfold 5 { c2 a2:m | f2 g2 | s4 c s a:m | f2 g2 }
} % harmonies


rhythms = \new RhythmicStaff \with {
  \override StaffSymbol #'line-count = #0
  \override StaffSymbol #'staff-space = #(magstep -3)
  \override BarLine #'stencil = ##f
  \override TimeSignature #'stencil = ##f
  \override NoteHead #'style = #'slash
  \override VerticalAxisGroup
#'staff-staff-spacing = #'(
  (basic-distance . 0)
  (minimum-distance . 0)
  (padding . 0.5)
		)
  fontSize = #-2
} { % 20 bars
  \stemDown
  s1*8
  s1 s1 | r4 b r b | b r b r
  s1*4
  s1 s1 | r4 b r b | b r b r
} % rhythms


\score {
  
\harmonies
\rhythms
\melody
  
  \layout {
\context { \Staff \RemoveEmptyStaves }
\context { \RhythmicStaff \RemoveEmptyStaves }
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user