Re: Beat structure after time signature change

2020-06-06 Thread David Wright
On Sun 07 Jun 2020 at 12:50:22 (+1000), Vaughan McAlley wrote:
> 
> Setting the beat structure for beam subdivision seems to persist through
> time signature changes. I think it would be preferable to reset everything
> at a change of time signature, just like what happens to beamExceptions.

Does doing it like this help at all? I've commented some of your lines
with %%.

Cheers,
David.
\version "2.20.0"

\version "2.19.49" % 2016-07-27

%% Beam compound dotted crochets separately.
%% 2.18.2 can't parse this format for beatStructure

\layout {
  \context {
\Score
\overrideTimeSignatureSettings
6/8 % timeSignatureFraction
1/8 % baseMomentFraction
3,3 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
9/8 % timeSignatureFraction
1/8 % baseMomentFraction
3,3,3 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
12/8 % timeSignatureFraction
1/8 % baseMomentFraction
3,3,3,3 % beatStructure
#'() % beamExceptions
  }
}

\version "2.19.49" % 2017-11-28

%% Beam crochets separately.
%% 2.18.2 can't parse this format for beatStructure

\layout {
  \context {
\Score
\overrideTimeSignatureSettings
2/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
3/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
4/2 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
3/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
5/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
6/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
7/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
8/4 % timeSignatureFraction
1/8 % baseMomentFraction
2,2,2,2,2,2,2,2 % beatStructure
#'() % beamExceptions
  }
}

\score {
  \relative c' {
\time 4/4
c8 d16 e f32 e d c d e f g a8 b c4 |
\bar "||"
\time 9/8
c,8^"Expected behaviour" d e e f g g a b |
\bar "||"
\break
\time 4/4
\set subdivideBeams = ##t
%%\set baseMoment = #(ly:make-moment 1/8)
%%\set beatStructure = 2,2,2,2
c,8 d16 e f32 e d c d e f g a8 b c4 |
\bar "||"
% \time 3,3,3 9/8 doesn't work
\time 9/8
\set subdivideBeams = ##f % this makes no difference
c,8^"???" d e e f g g a b |
\bar "||"
% This should be unnecessary
%%\set baseMoment = #(ly:make-moment 1/8)
%%\set beatStructure = 3,3,3
c,8^"Better" d e e f g g a b |
\bar "||"
  }
  \layout {}
}


Beat structure after time signature change

2020-06-06 Thread Vaughan McAlley
Hi,

Setting the beat structure for beam subdivision seems to persist through
time signature changes. I think it would be preferable to reset everything
at a change of time signature, just like what happens to beamExceptions.

Cheers,
Vaughan
\version "2.20.0"

\score {
  \relative c' {
\time 4/4
c8 d16 e f32 e d c d e f g a8 b c4 |
\bar "||"
\time 9/8
c,8^"Expected behaviour" d e e f g g a b |
\bar "||"
\break
\time 4/4
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = 2,2,2,2
c,8 d16 e f32 e d c d e f g a8 b c4 |
\bar "||"
% \time 3,3,3 9/8 doesn't work
\time 9/8
\set subdivideBeams = ##f % this makes no difference
c,8^"???" d e e f g g a b |
\bar "||"
% This should be unnecessary
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = 3,3,3
c,8^"Better" d e e f g g a b |
\bar "||"
  }
  \layout {}
}


openLilyLib and text fonts

2020-06-06 Thread Tiago Pereira
Hi!
I'm using openLilyLib to change the notation font of my lilypond scores. The 
problem is: when I change the notation font, the text font is automatically 
changed to a font that I don't know what it is.
Default:
\version "2.20.0"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } 
^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>
With new notation font:
\version "2.20.0"

\include "oll-core/package.ily"
\loadPackage notation-fonts
\useNotationFont "profondo"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } 
^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>
Trying to solve this, I forced lilypond to keep the default text fonts, but I 
notice that the lyric tie is not positioned properly.

\version "2.20.0"

\include "oll-core/package.ily"
\loadPackage notation-fonts
\useNotationFont \with {
  roman = "TeXGyre Schola"
  sans = "TeXGyre Heros"
  typewriter = "TeXGyre Cursor"
} "profondo"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } 
^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>
So, why the text font is automatically changed? And why the lyric tie is not 
well positioned? Is there a solution?
Thanks.


Re: Identify included files

2020-06-06 Thread Fr. Samuel Springuel
I have now updated the repository I posted earlier 
(https://github.com/rpspringuel/lilypond_make) to contain two additional 
branches:

GNUmake_dependencies: Implements dependency generation as described in the 
GNUmake manual

mad-scientist_dependencies: Implements dependency generation as described in 
the article that Matt linked.  Right now I’ve used a simple sed script in the 
recipe to add the midi file to the targets of the dly file generated by 
LilyPond, but I haven’t given up on a more general solution.

Comments from anyone willing to look these over and play around with them are 
greatly appreciated.

✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ