Re: Should \partial accept music instead of duration?

2022-03-19 Thread Aaron Hill
On 2022-03-19 7:53 pm, Dan Eble wrote: On Mar 19, 2022, at 20:53, Aaron Hill wrote: ... A convert-ly rule would probably not be possible given the limited power of regular expressions. As such, \partial might need to support both duration and music arguments. Initially I thought this might

Re: Should \partial accept music instead of duration?

2022-03-19 Thread Dan Eble
On Mar 19, 2022, at 20:53, Aaron Hill wrote: ... >>> A convert-ly rule would probably not be possible given the limited power >>> of regular expressions. As such, \partial might need to support both >>> duration and music arguments. Initially I thought this might not be >>> possible, given that

Re: Should \partial accept music instead of duration?

2022-03-19 Thread Kenneth Wolcott
Hi Aaron; I **LIKE** it. Thanks, Ken Wolcott On Sat, Mar 19, 2022 at 5:54 PM Aaron Hill wrote: > > On 2022-03-19 5:46 pm, Thomas Morley wrote: > > Am So., 20. März 2022 um 00:02 Uhr schrieb Aaron Hill > > : > >> > >> Here would be a possible refactoring: > >> > >> > >> \version "2.22.0"

Re: Should \partial accept music instead of duration?

2022-03-19 Thread Aaron Hill
On 2022-03-19 5:46 pm, Thomas Morley wrote: Am So., 20. März 2022 um 00:02 Uhr schrieb Aaron Hill : Here would be a possible refactoring: \version "2.22.0" partial = #(define-music-function (mus) (ly:music?) (_i "Make a partial measure.") (let* ((mom (ly:music-length mus))

Re: Should \partial accept music instead of duration?

2022-03-19 Thread Thomas Morley
Am So., 20. März 2022 um 00:02 Uhr schrieb Aaron Hill : > > Here would be a possible refactoring: > > > \version "2.22.0" > > partial = > #(define-music-function (mus) (ly:music?) >(_i "Make a partial measure.") >(let* ((mom (ly:music-length mus)) > (dur (make-duration-of-len

Should \partial accept music instead of duration?

2022-03-19 Thread Aaron Hill
Here would be a possible refactoring: \version "2.22.0" partial = #(define-music-function (mus) (ly:music?) (_i "Make a partial measure.") (let* ((mom (ly:music-length mus)) (dur (make-duration-of-length mom))) (make-music 'SequentialMusic 'elements (list (conte

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Sam Roberts
> The * syntax is described here: > > https://lilypond.org/doc/v2.22/Documentation/notation/writing-rhythms#scaling-durations Thank you, that's perfect. Sam

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Michael Gerdau
> For my more general understanding, is there documentation anywhere for > the syntax of the argument to partial? Something that will explain the > * syntax shown on this page? That is simple. The argument to \partial is a duration. > https://music.stackexchange.com/questions/106875/how-to-write

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Carl Sorensen
On Sat, Mar 19, 2022 at 2:41 PM Sam Roberts wrote: > > For my more general understanding, is there documentation anywhere for > the syntax of the argument to partial? Something that will explain the > * syntax shown on this page? > > > https://music.stackexchange.com/questions/106875/how-to-write

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Sam Roberts
On Sat, Mar 19, 2022 at 1:01 PM David Kastrup wrote: > You probably are using \partial wrong: its argument does not specify how > long it is _since_ a full bar but how long it is _to_ a full bar. Thank you, that was definitely a problem, I hadn't understood that. For my more general understandin

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread David Kastrup
Sam Roberts writes: > I tried so hard to be accurate, but I missed something: > > On Sat, Mar 19, 2022 at 12:38 PM Sam Roberts wrote: >> After experimentation, I found this worked: >> >> \time 3/4 \partial 1 c4 | > > It "works" in that pdf output looks ok, c4 is in the pickup bar, but > still wa

Re: can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Sam Roberts
I tried so hard to be accurate, but I missed something: On Sat, Mar 19, 2022 at 12:38 PM Sam Roberts wrote: > After experimentation, I found this worked: > > \time 3/4 \partial 1 c4 | It "works" in that pdf output looks ok, c4 is in the pickup bar, but still warns about the bar checks, as it sho

can someone point me to complete documentation for the partial command argument syntax?

2022-03-19 Thread Sam Roberts
I'm still baffled by it. After experimentation, I found this worked: \time 3/4 \partial 1 c4 | But "1"? 1 what? The pickup is a 2, and if I do this barcheck passes, as I expect: \time 3/4 c2 c4 | So from the doc examples I'd expect "\partial 2" to indicate a half/note pickup, but it fails. ht

Re: Wildly different horizontal spacing in two similar scores.

2022-03-19 Thread Richard Shann
On Sat, 2022-03-19 at 12:49 +, Paul Hodges wrote: > I don't use that - I specify the exact number of systems I want, and > on how many pages, using: > \paper { >   system-count = xx >   page-count = yy > } > > This forces the length to be stretched to the extent I require; then > detailed adju

Re: Wildly different horizontal spacing in two similar scores.

2022-03-19 Thread Paul Hodges
I don't use that - I specify the exact number of systems I want, and on how many pages, using: \paper {   system-count = xx   page-count = yy } This forces the length to be stretched to the extent I require; then detailed adjustments can be made with \break and \pageBreak. Paul From: Ri