Re: Raising all metronome marks

2024-04-03 Thread Sebastien Richard

Hello,

Here is what I mostly use :

\override Score.MetronomeMark.padding = #6

just before the tempo mark (works with lilypond 2.24.2)


I have another example with a markup but it's much more complex (I can send it 
if you want)

BR,

---
 Sébastien



From: lilypond-user-bounces+richardsgjm=hotmail@gnu.org 
 on behalf of Ben 
Bradshaw 
Sent: Wednesday, April 3, 2024 05:52
To: Lily Pond 
Subject: Raising all metronome marks

Hello,
I like my tempo markings to be a bit higher than the default in lilypond. I'm 
struggling to figure out how to globally raise them. I can do it locally with 
\offset Y-offset 3 for instance, of \tweak Y-offset #3, but I can't get it to 
work globally. I've tried \override MetronomeMark.Y-offset = #3 as well as 
\offset Y-offset 3 MetronomeMark , but neither seems to work. Any suggestions?

Thanks,
Ben


Re: nested \set ?

2024-03-25 Thread Sebastien Richard
Hello,

My Lilypond knowledge is small but have you tried the "\unset" command ??

BR,

---
 Sébastien RICHARD



From: lilypond-user-bounces+richardsgjm=hotmail@gnu.org 
 on behalf of Werner 
LEMBERG 
Sent: Monday, March 25, 2024 11:12
To: kie...@kierenmacmillan.info 
Cc: lilypond-user@gnu.org 
Subject: Re: nested \set ?


>> LilyPond provides `\temporary` and `\revert` to set a grob property
>> temporarily, and afterwards the value of the grob property is the
>> same as before.
>>
>> Is there a similar possiblity for `\set` (or something usable in
>> Scheme)?  I guess not, but I couldn't find this documented
>> somewhere...
>
> \once certainly works: [...]

Yes, thanks, but this is not what I'm looking after: At the start of
my function (created with `define-music-function`), `\autoBeamOff`
gets called (i.e., the `autoBeaming` context variable is set to
`##t`), and after the function returns the previous value of
`autoBeaming` should be restored.

> Not sure why \temporary wouldn’t/shouldn’t, although I must admit I
> couldn’t find the right incantation…

It doesn't work, I've tested it.  Maybe I made a mistake, though...


Werner


Re: Make D.S. and Coda objects RED

2024-03-03 Thread Sebastien Richard
Hello all,

You can also use something like :

\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue1)


See https://en.wikipedia.org/wiki/X11_color_names for an extensive explanation 
of the name colors

BR

---
 Sébastien


From: lilypond-user-bounces+richardsgjm=hotmail@gnu.org 
 on behalf of Kieren 
MacMillan 
Sent: Sunday, March 3, 2024 14:41
To: Laurie Savage 
Cc: gehent...@gmail.com ; Jeff Kopmanis 
; Lilypond-User Mailing List 
Subject: Re: Make D.S. and Coda objects RED

Hi Laurie,

> When I copied your layout block into my score (2.25.12) I get this error
> error: syntax error, unexpected SYMBOL, expecting '='
>   CodaMark
>color = "tomato"

Sorry… didn’t test. Should have been

\layout {
  \context {
\Score
\compressEmptyMeasures
\override MultiMeasureRest.expand-limit = #2
\override CodaMark.color = "tomato"
\override SegnoMark.color = "tomato"
\override SectionLabel.color = "tomato"
% \override RehearsalMark.color = "tomato"
\override JumpScript.color = "tomato"
rehearsalMarkFormatter = #format-mark-box-alphabet
  }
}

Best,
Kieren.
__

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.




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-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



Re: Segno and Coda from LilyJazz in a DrumStaff

2024-01-14 Thread Sebastien Richard
Hello

Thanks for the reply and the example

<<
To clarify, you want just the segno and coda marks in the LilyJazz font, while 
the rest of the notation remains in the default music font?  If so, I'm not 
completely sure but I don't think that can be done with the 2.24 series.  
However ...
>>
Yes that's exactly what I want


I usually stick to the official release but I don't mind trying beta releases. 
I'll try that ASAP

BR,

---
 Sébastien RICHARD



From: Michael Werner 
Sent: Sunday, January 14, 2024 10:13
To: Sebastien Richard 
Cc: lilypond-user@gnu.org 
Subject: Re: Segno and Coda from LilyJazz in a DrumStaff

Hi Sebastien,

On Sat, Jan 13, 2024 at 11:17 AM Sebastien Richard 
mailto:richards...@hotmail.com>> wrote:
Hi all,

I've been struggling with this for a long time without getting close to any 
solution.

How can I use the Segno & Coda from LilyJazz in the example below ?

To clarify, you want just the segno and coda marks in the LilyJazz font, while 
the rest of the notation remains in the default music font?  If so, I'm not 
completely sure but I don't think that can be done with the 2.24 series.  
However ...

As the 2.25 series has been developed, the arrival of 2.25.6 brought along a 
significantly redone font handling system. One of the new features is that font 
selection is now just another property, and can be modified on a per-grob 
basis. Which makes what you want fairly simple and straight forward. Once the 
LilyJazz font files have been placed as needed, it's just a matter of modifying 
the properties of the SegnoMark and CodaMark grobs.  Like this:

\version "2.25.12"

drum = \drummode {
  sn4 sn sn sn
  \segnoMark 1
  sn4 sn sn sn
  \codaMark 1
  sn4 sn sn sn
}

\score {
  \new DrumStaff {
\drum
  }
}

\layout {
  \context {
\Score
\override CodaMark.fonts.music = "lilyjazz"
\override SegnoMark.fonts.music = "lilyjazz"
  }
}

This will mean that you would have to make the jump to the development series, 
so you'll have to decide for yourself if that's something you're willing to do. 
 I can say that I've been using the development versions for a while and 
generally they're working just fine. The only real issue I've encountered was 
when the newer versions switched to Guile 3 one of the third-party packages I'm 
using didn't like that, but I've managed to get through that. Other than that 
all has been well. So if Guile 3 isn't for you, something between 2.25.6 and 
2.25.10 (I think it was .11 where Guile 3 came in) should be safe.
--
Michael



Segno and Coda from LilyJazz in a DrumStaff

2024-01-13 Thread Sebastien Richard
Hi all,

I've been struggling with this for a long time without getting close to any 
solution.

How can I use the Segno & Coda from LilyJazz in the example below ?

\version "2.24.2"

drum = \drummode {
  sn4 sn sn sn
  \segnoMark 1
  sn4 sn sn sn
  \codaMark 1
  sn4 sn sn sn
}

\score {
  \new DrumStaff \with {} \drum
  \layout { }
}

BR

---
 Sébastien RICHARD


Re: Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Thanks for your reply

I tried your exemple with the tie which also work great

In the full drumscore the tie gets "pushed" down. I'm trying to figure out a 
way to reposition it but I can't get any command to do so (tried "\tweak 
positions" and "\override Tie.positions")

Any ideas ?


"You are thinking too complicated." ==> it's just an idea, I'm thinking even 
more complicated than that 浪


BR

-
 Seb



From: lilypond-user-bounces+richardsgjm=hotmail@gnu.org 
 on behalf of David 
Kastrup 
Sent: Wednesday, December 13, 2023 17:49
To: Sebastien Richard 
Cc: lilypond-user@gnu.org 
Subject: Re: Hide a note inside a drumscore

Sebastien Richard  writes:

> Hello,
>
> How can I hide a note inside a drum score ? I tried following the doc here 
> https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects 
> but I did not managed to make it work
>
> Here is an example where I want to hide the snare :
>
> \version "2.24.2"
> up = \drummode {
>   \slurDown \grace {sn16 sn(} 4
> }
> \score {
>   \new DrumStaff
>   << \new DrumVoice { \voiceOne \up } >>
>   \layout {}
> }

You are thinking too complicated.

\version "2.24.2"
up = \drummode {
  \slurDown \grace {sn16 sn(} 4
}
\score {
  \new DrumStaff
  << \new DrumVoice { \voiceOne \up } >>
  \layout {}
}

But I consider it very likely that you actually don't want a slur but a
tie:

\version "2.24.2"
up = \drummode {
  \grace {sn16 sn_~} 4
}
\score {
  \new DrumStaff
  << \new DrumVoice { \voiceOne \up } >>
  \layout {}
}

--
David Kastrup



Re: Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Hello,

Thanks you for the quick reply

works like a charm 

-
 Seb


From: Michael Werner 
Sent: Wednesday, December 13, 2023 17:19
To: Sebastien Richard 
Cc: lilypond-user@gnu.org 
Subject: Re: Hide a note inside a drumscore

Hi Seb,

On Wed, Dec 13, 2023 at 11:00 AM Sebastien Richard 
mailto:richards...@hotmail.com>> wrote:
Hello,

How can I hide a note inside a drum score ? I tried following the doc here 
https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects but 
I did not managed to make it work

The issue you are running into is that overrides won't work on a single item 
when there's more than one of them happening at the same moment in the music. 
As these are (basically) notes within a chord, they're at the same moment. And 
the \hide command is just a shortcut for an override on the grob's Transparent 
property. In the case of simultaneous grobs, you want the \tweak command. 
http://lilypond.org/doc/v2.25/Documentation/notation/tweak-and-single

So, your code would become:

\version "2.24.2"

up = \drummode {
  \slurDown \grace { sn16 sn( }  4
}

\score {
  \new DrumStaff <<
\new DrumVoice {
  \voiceOne \up
}
  >>
  \layout {}
}

--
Michael



Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Hello,

How can I hide a note inside a drum score ? I tried following the doc here 
https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects but 
I did not managed to make it work

Here is an example where I want to hide the snare :

\version "2.24.2"
up = \drummode {
  \slurDown \grace {sn16 sn(} 4
}
\score {
  \new DrumStaff
  << \new DrumVoice { \voiceOne \up } >>
  \layout {}
}

returns :

Starting lilypond 2.24.2 [Untitled]...

Processing `/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly'

Parsing...

/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly:4:37<0>: error: not a 
rhythmic event

  \slurDown \grace {sn16 sn(} 4

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Converting to `document.pdf'...

fatal error: failed files: "/tmp/frescobaldi-zzesx842/tmpnp53_6vh/document.ly"

Exited with return code 1.


Attached is a screenshot of what I'm trying to achieve (except for the slur)



BR,

-
 Seb


Re: Aligning verse text?

2023-11-22 Thread Sebastien Richard
Hello,

Could you provide a tiny example to start with ?

BR

---
 Sébastien RICHARD

From: lilypond-user-bounces+richardsgjm=hotmail@gnu.org 
 on behalf of echo 

Sent: Wednesday, November 22, 2023 20:08
To: Michael Werner ; p...@cassland.org 
Cc: lilypond-user@gnu.org 
Subject: Re: Aligning verse text?

Hello Michael, Paul,
I am copying a choral piece and I need to separate four voices, to make it 
easier for reading. The idea is to keep all syllables (of each voice) just 
highlight mute syllables (pauses) differently. I have just start to use 
LilyPond and reading the manuals at the same time. Sometimes I stuck so thank 
you for help.
Kind Regards.