Re: Drum notation and style

2024-01-22 Thread Thomas Richter

On 2024-01-20 06:33, Adrian wrote:

   is it possible to create a "z" stem for buzz rolls?

Maybe esmuflily  is 
useful for you. The following requires no extra font and achieves 
horizontal beams in two ways: manual beams and an empty tremolo symbol 
on the first two notes:


% ---

\version "2.24.0"
\include "esmufl.ily"

buzz = \markup \sans \bold "z"

\drums {
  \ekmSmuflOn #'tremolo

  sn16^"R" 16^"l"
  \ekmTremolo \buzz { 16:32^"r"[ 16:32^"l"] }

  \ekmTremolo \markup "" { sn16:32^"R" 16:32^"l" }
  \ekmTremolo \buzz { 16:32^"r" 16:32^"l" }
}

% ---

or with a SMuFL compliant font like Bravura or Ekmelos:

% ---

\version "2.24.0"

ekmelicFont = "Bravura"
\include "esmufl.ily"

\drums {
  \ekmSmuflOn #'tremolo

  \ekmTremolo \markup "" { sn16:32^"R" 16:32^"l" }
  \ekmTremolo buzzroll { 16:32^"r" 16:32^"l" }
}

% ---

--
Thomas Richter


Re: Drum notation and style

2024-01-21 Thread Adrian
Yes, it very likely is not formally correct. As pointed out in the original 
post:

> I'm not sure if the bottom version is formally correct, but I would like the 
> option to display a roll like that anyways.

Where the original notation (bottom version not produced by LilyPond) was:

[2020-04-23.png]

I believe that LilyPond defaults to basically what you have, so much of the 
time was spent
getting it rewired to look like that. I suppose it's intended to be a more 
compact form for
rudimental snare drum practice.
think the idea is that for rudimental snare rhythms it's just

On Sunday, January 21st, 2024 at 8:20 AM, Sebastien Richard 
 wrote:

> Hello Adrian,
>
> Being a drummer, I'm certain there is something wrong in the sticking off the 
> roll the way you wrote it (see screen capture below)
>
> I did a small example with the "unfolded roll" so you can see what I mean.
>
> Maybe what you want to do is the second example ?
>
> BR
>
> ---
> Sébastien

Re: Drum notation and style

2024-01-21 Thread Sebastien Richard
Hello Adrian,

Being a drummer, I'm certain there is something wrong in the sticking off the 
roll the way you wrote it (see screen capture below)

[cid:466e02cf-022d-4c6f-9e53-7a137f8740ef]


I did a small example with the "unfolded roll" so you can see what I mean.

Maybe what you want to do is the second example ?

BR

---
 Sébastien




\version "2.24.2"



up = \drummode {
   <<
{ sn16^"R" sn16^"L" sn16:128^"R" sn16:128^"L" r2.}
\new DrumStaff \with {}{
  sn16^"R" sn^"L" sn128^"R" sn^"R" sn^"L" sn^"L" sn^"R" sn^"R" sn^"L" sn^"L" sn^"R" sn^"R" sn^"L" sn^"L" sn^"R" sn^"R" sn^"L" sn^"L"
  r2.
}
  >>
}

\score {
  \new DrumStaff
  <<
\new DrumVoice { \voiceOne \up }
  >>
  \layout {
\override StemTremolo.shape = #'beam-like
  }
}

up = \drummode {
   <<
{ sn16^"R" sn16^"L" sn16:32^"R" sn16:32^"L" r2.}
\new DrumStaff \with {}{
  sn16^"R" sn^"L" sn32^"R" sn^"R" sn^"L" sn^"L" r2.
}
  >>

}

\score {
  \new DrumStaff
  <<
\new DrumVoice { \voiceOne \up }
  >>
  \layout {
\override StemTremolo.shape = #'beam-like
  }
}



drum_roll_2.pdf
Description: drum_roll_2.pdf


Re: Drum notation and style

2024-01-20 Thread Adrian
Thanks to everyone who offered solutions and advice, very happy and excited to 
be able to use LilyPond to accomplish everything I set out to do. Everything 
has been resolved!

[Screenshot 2024-01-20 183043.png]

This is the code that made the drumroll equivalent to the original image for 
future reference (it may help others):

% Beam
\override Beam.color = "turquoise"
\override Beam.damping = #+inf.0
\override Beam.gap = 0
\override Beam.positions = #'(-3 . -3)

% Stem Tremolo
\override StemTremolo.color = "turquoise"
\override StemTremolo.slope = 0.45
\override StemTremolo.shape = #'rectangle
\override StemTremolo.Y-offset = #-2.5
\override StemTremolo.beam-width = 2\override StemTremolo.beam-thickness= 0.4
\override StemTremolo.beam-width = #1.5

And the code for the spacing:

\break
\once \override
Score.NonMusicalPaperColumn .line-break-system-details = #'((Y-offset . 45))

Cheers

Re: Drum notation and style

2024-01-20 Thread Stu McKenzie



On 2024-01-20 06:33, Adrian wrote:

is it possible to create a "z" stem for buzz rolls?


Maybe this helps:

\version "2.24.0"

% Buzz rolls with stem down
% Second parameter values:
%  4.0 puts the z on the middle line
%  3.5 puts the z on the 2nd space up
%  3.0 puts the z on the 2nd line up, which looks good for a snare buzz
BuzzOn = \override TextScript.extra-offset = #'(-0.5 . 3.0)
BuzzOff = \revert TextScript.extra-offset
BuzzMarkup = \markup { \bold "z" }

SnareEighthBuzz =  \drummode {
  \BuzzOn sn8-\BuzzMarkup \BuzzOff
}
SnareSixteenthBuzz =  \drummode {
  \BuzzOn sn16-\BuzzMarkup \BuzzOff
}

Drums = \drummode {
  sn8
  \BuzzOn \SnareEighthBuzz \BuzzOff
  sn16
  \BuzzOn \SnareSixteenthBuzz \BuzzOff
  \fine
}

\score {
  \new DrumStaff \with { }
   <<
 \new DrumVoice { \voiceTwo \Drums }
   >>
  \layout { indent = 0.0\cm ragged-last = ##t }
}




Re: Drum notation and style

2024-01-20 Thread Knute Snortum
On Sat, Jan 20, 2024 at 7:35 AM Adrian  wrote:

>
> First, how would you create extra spacing between staves, such as the
> first two above?
>

This looks like a job for system-system-spacing (or
maybe staff-staff-spacing):

\paper {
  system-system-spacing = #'((basic-distance . 12)
 (minimum-distance . 8)
 (padding . 1)
 (stretchability . 60))
}

Try twiddling with the values to get what you want.  The values written are
the defaults.  Here is some documentation:

https://lilypond.org/doc/v2.24/Documentation/learning/vertical-spacing


--
Knute Snortum


Re: Drum notation and style

2024-01-20 Thread Adrian
Thanks for all the help, that worked. I just have a couple of quick questions 
regarding the current results:
[Screenshot 2024-01-20 081822.png]
First, how would you create extra spacing between staves, such as the first two 
above?

Second, and this comes after the reading an article on notating drum rolls 
([notating rolls – Adam Holmes 
(adamholmesmusic.com)](https://adamholmesmusic.com/blog-notating-rolls/), is it 
possible to create a "z" stem for buzz rolls?

Also, if there is anyone well versed in percussion notation, is the above 
example of a drum roll appropriate, acceptable?

Thanks
On Friday, January 19th, 2024 at 7:24 AM, Xavier Scheuer  
wrote:

> On Fri, 19 Jan 2024 at 13:46, Adrian  wrote:
>>
>> Thanks for the reply, and apologies for not replying to all. However,
>>
>> \override Lyrics.LyricsText.font-name = "Font Name"
>>
>> returns the following warning:
>>
>> warning: not a grob name, `LyricsText'
>>
>
>> and doesn't alter the font.
>
> Sorry, my bad I did a copy-paste of your message without checking.
>
> \override Lyrics.LyricText.font-name = "Font Name"
>
> (LyricText, not LyricsText)
>
> By the way if you use Frescobaldi the autocomplete should highlight/give you 
> the correct syntax.
> And the name of the grobs are given in each section of the Notation Reference 
> manual (See also > Internals Reference)
>
> Kind regards,
> Xavier

Re: Drum notation and style

2024-01-19 Thread Xavier Scheuer
On Fri, 19 Jan 2024 at 13:46, Adrian  wrote:
>
> Thanks for the reply, and apologies for not replying to all. However,
>
> \override Lyrics.LyricsText.font-name = "Font Name"
>
> returns the following warning:
>
> warning: not a grob name, `LyricsText'
>
> and doesn't alter the font.

Sorry, my bad I did a copy-paste of your message without checking.

\override Lyrics.LyricText.font-name = "Font Name"
(LyricText, not LyricsText)

By the way if you use Frescobaldi the autocomplete should highlight/give
you the correct syntax.
And the name of the grobs are given in each section of the Notation
Reference manual (See also > Internals Reference)

Kind regards,
Xavier


Re: Drum notation and style

2024-01-19 Thread David Kastrup
Adrian  writes:

> Thanks for the reply, and apologies for not replying to all. However,
>
> \override Lyrics.LyricsText.font-name = "Font Name"
>
> returns the following warning:
>
> warning: not a grob name, `LyricsText'
>
> and doesn't alter the font.

It's actually LyricText .

-- 
David Kastrup



Re: Drum notation and style

2024-01-19 Thread Adrian
Thanks for the reply, and apologies for not replying to all. However,

\override Lyrics.LyricsText.font-name = "Font Name"

returns the following warning:

warning: not a grob name, `LyricsText'

and doesn't alter the font.

On Friday, January 19th, 2024 at 2:45 AM, Xavier Scheuer  
wrote:

> On Fri, 19 Jan 2024 at 01:42, Adrian  wrote:
>>
>> How would you change the font of the lyrics?
>>
>> \override LyricsText.font-name = "Font Name"
>>
>> doesn't work yet throws no error. At the moment, I haven't found a method to 
>> identify the name of the object to style or the name of the style property 
>> consistently, it's entirely ad hoc according to the internals documentation 
>> mostly. Something like
>>
>> \override TextScript.font-name = "Font Name"
>>
>> works at the top level for most things, but not for lyrics or in the lyrics 
>> environment.
>
> Hello,
>
> Please don't forget to include the lilypond-user mailing list in the 
> recipients (reply to all).
> You identified the correct object, but you need to include the context (for 
> every object that is engraved at a context level other than Voice).
>
> \override Lyrics.LyricsText.font-name = "Font Name"
>
> An elegant alternative would be to put all your overrides in the layout block.
> See Learning Manual LM 3.3.4 Modifying context properties.
>
> Kind regards,
> Xavier

Re: Drum notation and style

2024-01-19 Thread Xavier Scheuer
On Fri, 19 Jan 2024 at 01:42, Adrian  wrote:
>
> How would you change the font of the lyrics?
>
> \override LyricsText.font-name = "Font Name"
>
> doesn't work yet throws no error. At the moment, I haven't found a method
to identify the name of the object to style or the name of the style
property consistently, it's entirely ad hoc according to the internals
documentation mostly. Something like
>
> \override TextScript.font-name = "Font Name"
>
> works at the top level for most things, but not for lyrics or in the
lyrics environment.

Hello,

Please don't forget to include the lilypond-user mailing list in the
recipients (reply to all).
You identified the correct object, but you need to include the context (for
every object that is engraved at a context level other than Voice).

\override Lyrics.LyricsText.font-name = "Font Name"

An elegant alternative would be to put all your overrides in the layout
block.
See Learning Manual LM 3.3.4 Modifying context properties.

Kind regards,
Xavier


Re: Drum notation and style

2024-01-18 Thread Stu McKenzie


Thanks, Xavier, for the instructions for lyrics above the staff - I'd 
tried multiple times to do this without success!


There's always a solution with LilyPond!

On 2024-01-18 13:02, Xavier Scheuer wrote:

On Thu, 18 Jan 2024 at 21:26, Stu McKenzie  wrote:
>
> I often use Lyrics to provide sticking.

Hello,

That would have been my suggestion as well, especially if you want the 
sticking to be horizontally aligned.


> The lyrics are below the staff, but this can be changed. Personally, 
I've had difficulties putting lyrics above the drum staff when not 
using markups like ^"R". Perhaps someone else can show how that's 
achieved?


Simply put the Lyrics contexts above the DrumStaff context.

\score {
  <<
    \new Lyrics {
      \LyricsOne
    }
    \new Lyrics {
      \LyricsTwo
    }
    \new DrumStaff {
      <<
        \new DrumVoice {
          \voiceTwo
          \Drums
        }
      >>
    }
  >>
}

It is also possible to use alignAboveContext, this is especially 
useful if you use \lyricsto (with the lyrics after the DrumStaff 
containing the DrumVoice) so that you do not need to add explicit 
durations to the lyrics/sticking.


Kind regards,
Xavier



Re: Drum notation and style

2024-01-18 Thread Xavier Scheuer
On Thu, 18 Jan 2024 at 21:26, Stu McKenzie  wrote:
>
> I often use Lyrics to provide sticking.

Hello,

That would have been my suggestion as well, especially if you want the
sticking to be horizontally aligned.

> The lyrics are below the staff, but this can be changed. Personally, I've
had difficulties putting lyrics above the drum staff when not using markups
like ^"R". Perhaps someone else can show how that's achieved?

Simply put the Lyrics contexts above the DrumStaff context.

\score {
  <<
\new Lyrics {
  \LyricsOne
}
\new Lyrics {
  \LyricsTwo
}
\new DrumStaff {
  <<
\new DrumVoice {
  \voiceTwo
  \Drums
}
  >>
}
  >>
}

It is also possible to use alignAboveContext, this is especially useful if
you use \lyricsto (with the lyrics after the DrumStaff containing the
DrumVoice) so that you do not need to add explicit durations to the
lyrics/sticking.

Kind regards,
Xavier


Re: Drum notation and style

2024-01-18 Thread Sebastien Richard
Found this LSR : https://lsr.di.unimi.it/LSR/Item?id=1181

Use this line below to get the slope you wish (Just adapt the number) :

  \override StemTremolo.slope = 0.2

As for the color I cannot help you.

<<
... Ideally they would overwrite or replace the two beams
>>
I don't understand that part of your mail. Do you mean that you want sixteenth 
note to be "rolled" ? If so, the "correct" way to write it would be with 
"sn16:32"

BR,

---
 Sébastien RICHARD



From: Adrian 
Sent: Thursday, January 18, 2024 13:47
To: Sebastien Richard 
Subject: Re: Drum notation and style

Thanks for the help,

The solution by YTG 1234:

\override StaffGroup.SpanBar.color = "slateblue" \override 
Score.SystemStartBar.color = "slateblue"

works perfectly. And the solution for two lines of sticking notation is 
sufficient:

  sn16^"R"^"L" sn^"r"^"l" sn^"r"^"l" sn^"r"^"l"

I think I can figure out better spacing. However, is it possible to get the 
dashes slanted for drum rolls? Currently they're straight. Ideally they would 
overwrite or replace the two beams.

[Screenshot 2024-01-18 063914.png]


Also, how do I style the color of the dashes? They remain distinct (black) from 
the rest of the note.

Thanks
On Thursday, January 18th, 2024 at 1:49 AM, Sebastien Richard 
 wrote:

Sorry all,

I forgot to delete the original email in my reply ...

BR,

---
 Sébastien RICHARD




Re: Drum notation and style

2024-01-17 Thread Sebastien Richard
Sorry all,

I forgot to delete the original email in my reply ...

BR,

---
 Sébastien RICHARD