This commit is contained in:
2026-01-26 20:01:13 +01:00
parent 717b32cece
commit 4797000ca3
2 changed files with 59 additions and 4 deletions

View File

@@ -28,7 +28,9 @@ makeHdr = #(define-scheme-function
makeScore = #(define-scheme-function
(instrument midi music)
(string? string? ly:music?)
#{
(let ((moment (if (defined? 'sqCustomMoment) sqCustomMoment #(ly:make-moment 1/3))))
(display "MOMENT=")(display moment)(newline)
#{
\score {
\new Staff \with {
instrumentName = $instrument
@@ -38,14 +40,15 @@ makeScore = #(define-scheme-function
\layout {
\context {
\Score
\override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/3)
\override SpacingSpanner.common-shortest-duration = #moment
}
}
\midi {
}
}
#}
)
)
)
makeScoreVI = #(define-scheme-function
(music)