Re: zero-duration s to hold marks
Raphael: > That strikes me as being a programmer's response, and I speak as a > programmer for over 50 years. Using <> works, but it is unintuitive. If > s0 is more intuitive then that should be considered for future inclusion. s1*0 works and is more or less equivalent to <> . John: > The second is for putting a mark, eg a coda, at the very end of a measure, > over the barline (not over the last note, or the first note of the next > measure). For that, see \repeat segno, or if your use case doesn't fit the possibilities of \repeat segno, use \codaMark. http://lilypond.org/doc/v2.24/Documentation/notation/long-repeats.html#segno-repeat-structure For arbitrary markup use \textMark or \textEndMark. http://lilypond.org/doc/v2.24/Documentation/notation/writing-text.html#text-marks signature.asc Description: This is a digitally signed message part
Re: zero-duration s to hold marks
On Wed, 10 Jan 2024, Raphael Mankin wrote: > That strikes me as being a programmer's response, and I speak as a programmer > for over 50 years. Using <> works, but it is unintuitive. If s0 is more > intuitive then that should be considered for future inclusion. It's intuitive to me that s0 means a spacer rest of infinite duration, because it's one whole note divided by zero. And it opens the door to using 0 as a duration denominator for other things than "s", as in "c0" and "0", let alone constructions like "s0." which would seem to be a spacer of one and one half times infinite duration. I don't think it's a good idea to open those doors. There doesn't seem to be any way to allow zero as the duration denominator except as a unique exception; it cannot be done in a way that's consistent with other syntax. -- Matthew Skala msk...@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca/
Re: zero-duration s to hold marks
On 09/01/2024 18:35, Paul Scott wrote: On 1/9/24 11:29 AM, John Asmuth wrote: Hi lilypond, I have two users for a s0 (except it tells me 0 is not a duration). <> does what I believe you want: <>_\< HTH, Paul That strikes me as being a programmer's response, and I speak as a programmer for over 50 years. Using <> works, but it is unintuitive. If s0 is more intuitive then that should be considered for future inclusion. Intuitively, I would have expected <> to generate an empty space equal to the length of the preceding note, i.e. a chord that just happens to contain no notes. First, I have a "\repeat unfold N { ... }" and I want to surround the whole thing with a crescendo. I could unpack the first and last item in the repeat, but I feel lily lilypond has some way to do an equivalent of "s0_\< \repeat unfold N { ... } s0_\!" The second is for putting a mark, eg a coda, at the very end of a measure, over the barline (not over the last note, or the first note of the next measure). Are there nice ways to do this? Thanks! - John -- Political correctness: a kind of McCarthyite movement in reverse which, in the name of tolerance proscribes all reference to gender, ethnicity, color of skin, sexual preference, social provenance and even age. It has no leaders, as far as I am aware, only terrified disciples. - John le Carre
Re: zero-duration s to hold marks
Jean Abou Samra writes: > Raphael: >> That strikes me as being a programmer's response, and I speak as a >> programmer for over 50 years. Using <> works, but it is unintuitive. If >> s0 is more intuitive then that should be considered for future inclusion. > > s1*0 works and is more or less equivalent to <> . The counterexample is \new Voice { c'4\< g' c'2 s1*0\! } \addlyrics { What is this? } This works when using <> instead. -- David Kastrup
Re: Transpose from major to minor key
On 2024-01-10 1:26 pm, Butter Cream wrote: Hi, I have a piece of music written in the key of G major and I want the pitches to transpose to e minor. How do I do this. When I use the command \transpose g e it changes to E major (all g notes are sharped) I think you'll need to use \modalTranspose to achieve what you want. -- Aaron Hill
Re: Transpose from major to minor key
On 2024-01-10 6:30 pm, Freeman Gilmore wrote: Aaron Does LP have that?That would be a trick for modes other than between major and minor and that may not work well. Thank you, ƒg Sorry for not linking the docs directly. https://lilypond.org/doc/v2.25/Documentation/notation/modal-transformations On Wed, Jan 10, 2024 at 5:20 PM Aaron Hill via LilyPond user discussion < lilypond-user@gnu.org> wrote: On 2024-01-10 1:26 pm, Butter Cream wrote: > Hi, I have a piece of music written in the key of G major and I want > the pitches to transpose to e minor. How do I do this. > > When I use the command \transpose g e it changes to E major (all g > notes are sharped) I think you'll need to use \modalTranspose to achieve what you want. -- Aaron Hill
Transpose from major to minor key
Hi, I have a piece of music written in the key of G major and I want the pitches to transpose to e minor. How do I do this. When I use the command \transpose g e it changes to E major (all g notes are sharped) Steve