> ```
> \version "2.25.18"
>
> foo =
> #(define-music-function () ()
> #{
> <<
> c'4
> \new Voice { g''4 }
> >>
> #})
>
> {
> \override Staff.NoteColumn.ignore-collision = ##t
> c'4 \foo \stemUp \foo \stemDown \foo
> }
> ```
>
> As can be seen, the `\new Voice` doesn't
I want to find the interval size of a two-note chord in a music
function, and I came up with the following solution.
```tex
showInterval =
#(define-music-function (ev-chord)
(ly:music?)
(define (interval-string a b)
(number->string (1+ (ly:pitch-steps (- b a)
(let* ((notes (ex
> Also, I’m sure you didn’t mean it that way, but the improvement to
> the LSR snippet is worthwile regardless, I think.
Yep.
> Going to greater lengths though—while reading your code I wondered
> whether it wouldn’t make sense to go the step of not taking strings
> as arguments (specifying the
Hi Werner,
On 13.07.24 06:36, Werner LEMBERG wrote:
I came across LSR #304https://lsr.di.unimi.it/LSR/Item?id=304 and I
think we should suggest a coding with variables there, like this:
[...]
Yes, LilyPond should be both more supportive and more 'user friendly'
here; this is tracked as
htt
As far as I can understand, the automatic beaming algorithm is
not clever enough to be able to handle the requested behavior,
i.e. to distinguish between full groups of 4 8th notes and
patterns like "r8 c c c".
I'm afraid that it would be fairly complicated t
On Mon, 15 Jul 2024 at 14:26, Masaki, Akikazu <
masaki-0.56714...@zeus.eonet.ne.jp> wrote:
>
> Hello,
>
> \set Timing.baseMoment seems not to work in the latter half of a measure.
> Is it a bug, or some setting is missing?
>
> %
> \version "2.24.3"
> {
>\set Timing.baseMoment = #(ly:mak
Hello,
\set Timing.baseMoment seems not to work in the latter half of a measure.
Is it a bug, or some setting is missing?
%
\version "2.24.3"
{
\set Timing.baseMoment = #(ly:make-moment 1/8)
\set beamExceptions = #'()
\repeat unfold 32 { a32 }
}
Adapting my previous code to work with spanners:
%
#(define (outside-staff-collecting-engraver context)
(let* ((span_up #f) (span_down #f))
(make-engraver
((initialize engraver)
(set! span_up (ly:engraver-make-grob engraver 'TextSpanner '()))
(ly:grob-set-property! span_up
The way to change the beaming behaviour in LilyPond is described at:
https://lilypond.org/doc/v2.25/Documentation/notation/setting-automatic-beam-behavior
For the case of quavers in 4/4 time, Gould starts with the grouping used in the
LilyPond default, but also suggests (page 154) situations whe
On Mon, 15 Jul 2024 at 09:18, Werner LEMBERG wrote:
>
> If you use `\abs-fontsize`, you get a font size (in markups) in points
> regardless of the selected staff size.
Hello,
And the default text font size is 11pt for a default staff size (20pt), as
documented by Werner in NR 1.8.2
https://lilyp
> Tell me where you can find out or see how the font sizes in
> lilypond and Word correspond. For example, \SetFontSize = #1,
What is `\SetFontSize`?
> \abs-font size #1, how do they match the font size in Word?
If you use `\abs-fontsize`, you get a font size (in markups) in points
regardl
11 matches
Mail list logo