Position coordinates fail

2024-02-21 Thread Francesco Borghetti
Hi,

After days and days of work in my file the correct correspondence between
the lines of code and the position in the score preview failed.
Because of this, by selecting a certain element of the score the cursor is
no longer set to the correct line of code and vice versa.
It is very difficult to work this way.
I attach two screenshots that refer to the same musical element in the
score and in the code in order to make the difference in coordinates
evident.
Do you know how I can solve this problem? Consider that I have no error
messages.
Thanks in advance for the help

Best regards,
Francesco Borghetti


Re: 5th anniversary conference? :)

2024-02-21 Thread Mike Blackstock
re. possible toronto conference location

I live in Toronto, in the Annex.  I'd love to help organize something here
if there's interest. I'm right
close to the  University of Toronto campus.

-Mike

On Thu, 15 Feb 2024 at 09:19, Kieren MacMillan 
wrote:

> Hey all,
>
> >> I was just waxing nostalgic about that fabulous Salzburg conference in
> 2020, and noted that in Jan 2025 — just under a year from now! — it will
> have been five years since we got together, talked music/notation, and
> raised [more than] a few pints together.
> >> Any chance for a repeat? :)
> >
> > Would be great. Count me as "will try to come if it gets organized".
>
> As I said back then, I’d be more than happy to organize a conference here
> in Toronto… but we decided that too many people would have to travel this
> direction over the Atlantic. It really does seem to be most efficient to
> hold this kind of gathering in Europe somewhere.
>
> Cheers,
> Kieren
> __
>
> My work day may look different than your work day. Please do not feel
> obligated to read or respond to this email outside of your normal working
> hours.
>
>
>

-- 
https://blackstock.media


Re: \partial and \compressMMRests don't seem to work together

2024-02-21 Thread Mats Bengtsson


  
  


On 2024-02-17 01:15, Gerardo Ballabio
  wrote:


  Hello,
I need to change the time in the middle of a bar.
I managed to do that using \partial, but it seems that after that,
\compressMMRests no longer works -- only for the group of measures
immediately following, then it resumes working normally.
See example below, attaching the output that I get.
Can you please help me fix that?

Thank you
Gerardo

%%
\version "2.24.1"

\new Staff \compressMMRests {
  \time 2/4
  R2*4 |
  \partial 4 r4 \bar "" \time 6/8 \partial 4. r4 r8 |
  R2.*4 | % these bars aren't compressed
  R2.*4 | % these are
}
%%


You have already received some responses, but for the record, the
  easiest solution is probably to do
\version "2.24.1"

\new Staff {
  \compressEmptyMeasures
  \time 2/4
  R2*4 |
  \partial 4 r4 \bar "" \time 6/8 \partial 4. r4 r8 |
  R2.*4 | % these bars are now compressed!
  R2.*4 | % these are
}


   /Mats

  




Re: \after syntax?

2024-02-21 Thread Michael Werner
Hi Matt,

On Wed, Feb 21, 2024 at 10:53 AM Matthew Pierce 
wrote:

> Hello all,
>
> For hairpin positioning within a whole note, the Manual gives the syntax
>
> \relative {
> \after 2 \< c'1
> }
>
> Is there an effective \after syntax for hairpin positioning within
> NON-whole notes, such as  the second note in this (intuitive but)
> nonviable expression?
>
>   \relative {
> \after 2 \< c'4 2.
>   }
>
> CONTEXT: I need to place an \espressivo-shaped, double-hairpin swell
> underneath a dotted half note. Also, I need it to be stretchable, so that I
> can horizontally align it with the other, more active parts/staffs in my
> orchestral score.
>

To emulate an \espressivo using actual dynamics by way of the \after
function:

\version "2.25.13"

musA = \relative c' {
  a'4 \after 8*3 \>  a2.\< a2\! a2
}

musB = \relative c' {
  a'4 \after 4. \> \after 2. \! a2.\< a2 a2
}

musC = \relative c' {
  a'4 \after 4. \> a2.\< <>\! a2 a2
}

\score {
  \new Staff {
\new Voice {
  \musA
} } }

\score {
  \new Staff {
\new Voice {
  \musB
} } }

\score {
  \new Staff {
\new Voice {
  \musC
} } }

will produce:

[image: image.png]

Three different ways of accomplishing the same thing. The first showing
that you can indeed use scaling in the \after function (i.e. the 8*3
meaning 3 8th notes worth) and terminating the decrescendo on the following
note. The second using \after to do the termination.  The third uses the
empty chord construct (i.e. the <> ) to attach the termination to. You are,
of course, free to mix and match whichever method suits you.
-- 
Michael


Re: \after syntax?

2024-02-21 Thread Hans Aikema


> On 21 Feb 2024, at 14:30, Matthew Pierce  wrote:
> 
> Hello all, 
> 
> For hairpin positioning within a whole note, the Manual gives the syntax
> \relative {
> \after 2 \< c'1
> }
> Is there an effective \after syntax for hairpin positioning within NON-whole 
> notes, such as  the second note in this (intuitive but) nonviable expression?
> 
>   \relative {
> \after 2 \< c'4 2.
>   }
> 
> CONTEXT: I need to place an \espressivo-shaped, double-hairpin swell 
> underneath a dotted half note. Also, I need it to be stretchable, so that I 
> can horizontally align it with the other, more active parts/staffs in my 
> orchestral score. 
> 
> Thanks, Matt

If I interpret your nonviable snippet you want the hairpin to start halfway 
through the measure and thus 1/3 into the dotted half note. Which means your 
crescendo should apply to the c’2. rather than the c’4, which means the logical 
snippet would be:

  \relative {
 c'4 \after 4 \< \after 2.\! 2.
 % or
 c'4 \after 4 \< 2. <>\! 
  }

Note: The explicit crescendo-end (either with another \after, or by an empty 
chord is required in this small snippet as without it Lilypond complains 
(warning) about an unterminated crescendo and completely omits the hairpin. 
Depending on where the crescendo needs to end in your actual music you may or 
may not need it, but for this snippet it is required to add.



Re: \after syntax?

2024-02-21 Thread Knute Snortum
On Wed, Feb 21, 2024 at 7:53 AM Matthew Pierce 
wrote:

> Hello all,
>
> For hairpin positioning within a whole note, the Manual gives the syntax
>
> \relative {
> \after 2 \< c'1
> }
>
> Is there an effective \after syntax for hairpin positioning within
> NON-whole notes, such as  the second note in this (intuitive but)
> nonviable expression?
>
>   \relative {
> \after 2 \< c'4 2.
>   }
>
> CONTEXT: I need to place an \espressivo-shaped, double-hairpin swell
> underneath a dotted half note. Also, I need it to be stretchable, so that I
> can horizontally align it with the other, more active parts/staffs in my
> orchestral score.
>

Well, neither of those snippets compile without an error because the
hairpin is not terminated, but I don't see why you couldn't put the "after"
before the dotted half note and terminate it:

\relative {
  c'4 \after 2 \< 2. c4\!
}

Am I missing what you're trying to accomplish?


How to get more accidentials?

2024-02-21 Thread Johannes Koch

Hi,

I was trying to extend the example at



. The emmentaler font currently contains single-arrowed 
flat/natural/sharp accidentials. I'd like to use more accidentials, like 
the double/triple arrow flat/natural/sharp accidentials shown in




. Is there a way to "extend" the font? Or put the SVGs for the missing 
glphs in a separate file so I can reference them somehow?


--
Johannes Koch



\after syntax?

2024-02-21 Thread Matthew Pierce
Hello all,

For hairpin positioning within a whole note, the Manual gives the syntax

\relative {
\after 2 \< c'1
}

Is there an effective \after syntax for hairpin positioning within NON-whole 
notes, such as  the second note in this (intuitive but) nonviable expression?

  \relative {
\after 2 \< c'4 2.
  }

CONTEXT: I need to place an \espressivo-shaped, double-hairpin swell underneath 
a dotted half note. Also, I need it to be stretchable, so that I can 
horizontally align it with the other, more active parts/staffs in my orchestral 
score.

Thanks, Matt