Vaticana, changing colour of divisiones

2025-03-26 Thread Jakub Pavlík
Hi,

I've been trying to change colour of divisiones in chant notation.
The Divisio layout object seemed to be an obvious choice, so I tried it
first, to no effect.
Then I inspected the definition of divisiones of gregorian.ly: they seem to
be implemented as breathing signs, but overriding BreathingSign.color has
no effect either.
What is the actual way to do it?

Thanks, Jakub

% M(n)WE --
\version "2.24.1"
\include "gregorian.ly"

\score {
  \new VaticanaVoice = "v" {
% trying to make the divisiones red
\override Divisio.color = #red
\override BreathingSign.color = #red

b \divisioMinima b \divisioMaior b \divisioMaxima b \finalis
  }
}
% 


Changing the tempo in midi?

2025-03-26 Thread Ben Engbers

Hi,

As a novice user of lilypond, I am beginning to understand how to enter 
music so that is not the problem.
For playing the score on my Fedora laptop I use Qsynth. I know if it's 
because of that but no matter what I try, the midi file is played in a 
BPM of about 72.


This is the “global” part:
global = {
  \key e minor
  \numericTimeSignature
  \time 12/8
  \Tempo “Presto” 4 = 140
  \dynamicUp

And this is the “score” part:
\{
  <<
\melodyPart
\leadSheetPart
  >>
  \layout { }
  \}
\temp 4=140
  }

What do I need to do to play the midi at a different tempo (BPM=90)?

Ben



Re: Changing the tempo in midi?

2025-03-26 Thread H. S. Teoh
On Wed, Mar 26, 2025 at 09:37:06PM +0100, Ben Engbers wrote:
> Hi,
> 
> As a novice user of lilypond, I am beginning to understand how to
> enter music so that is not the problem.
> For playing the score on my Fedora laptop I use Qsynth. I know if it's
> because of that but no matter what I try, the midi file is played in a
> BPM of about 72.
> 
> This is the “global” part:
> global = {
>   \key e minor
>   \numericTimeSignature
>   \time 12/8
>   \Tempo “Presto” 4 = 140

It should be \tempo (with small 't').  The 4=140 should apply to both
the printed score and the midi.


>   \dynamicUp
> 
> And this is the “score” part:
> \{
>   <<
> \melodyPart
> \leadSheetPart
>   >>
>   \layout { }
>   \}
> \temp 4=140
>   }
> 
> What do I need to do to play the midi at a different tempo (BPM=90)?
[...]

If you want the score to print one tempo but the midi play another
tempo, you'll need to to split the layout score from the midi score. For
example, here is how I usually do it:

global = {
\tag #'layout \tempo "Presto" 4 = 140 % this is what gets 
printed in the score
\tag #'midi \tempo 4 = 90 % this is what gets played in midi
...
}

mymusic = ... % insert music here

% This is for layout only, no midi.
\score {
\removeWithTag #'midi   % remove everything tagged with \tag 
#'midi
\mymusic
\layout { } % generate layout
}

% This is for midi only, it will not generate any layout
\score {
\removeWithTag #'layout % remove everything tagged with \tag 
#'layout
\mymusic
\midi { }   % generate midi
}


T

-- 
My program has no bugs! Only undocumented features...



Issue with Centering \markuplist Content (i.e. \table) on a Page

2025-03-26 Thread Edon Valdman
I’m having trouble getting a markup list table centered on a page. All I can 
get to work is to use commands that wrap the entire thing in a regular \markup, 
but then the table content won’t be able to be split onto separate pages (which 
is extremely important in this scenario). I also would rather the entire table 
be not spread out such that each column is up against the edges of the page.

I’ve tried making each row its own markup block so I can center it then put it 
in a column with the other rows, but this means that each column is sized 
differently on the X axis, because each row is a separate table, so each row 
doesn’t take the sizes of the other rows’ columns into account.

Below is a simplified version of what I have. In actuality, each string is 
instead a multi-line string split using \string-lines, which is then styled 
into a markup block as a full paragraph.

\version “2.24.3"
\markuplist {
  \override #'(padding . 2)
  \table #'(-1 1) {
    "1. Left-Aligned"
    "Right-Aligned .1"

    "2. Left-Aligned"
    "Right-Aligned .2"
  }
}

Thanks for the help in advance!

-Edon