Re: Problem with blackpetrucci

2021-08-04 Thread Lukas-Fabian Moser

Hi Kees,

Am 04.08.21 um 21:54 schrieb Kees van den Doel:
In black notation minim looks like modern 1/4 note and semiminim looks 
like modern 1/8 note.


It is not correct though, semiminim and shorter notes are one flag 
short, so Minim and Semiminim look identical. See example.


Unless I'm missing something this is a bug, is there a workaround?


This is documented in 
https://lilypond.org/doc/v2.22/Documentation/notation/typesetting-mensural-music.html#mensural-note-heads:


The |blackpetrucci| style produces note heads usable in black mensural 
notation or coloratio sections in white mensural notation. Because 
note head style does not influence flag count, in this style a 
semiminima should be notated as |a8*2|, not |a4|, otherwise it will 
look like a minima. The multiplier can be different if coloratio is 
used, e.g., to notate triplets. 
One might write an engraver that automatically turns 4 into 8*2, 8 into 
16*2 etc., see below. But there's also blackmensural.ly by Lukas 
Pietsch; it's quite old (and to be honest I don't know it at all and 
can't say how it deals with your problem), but maybe it's of use to you: 
http://www.lukas-pietsch.de/Music/


\version "2.20.0"

flag_change_engraver =
#(lambda (ctx)
   (make-engraver
    (listeners
 ((note-event engraver event)
  (let* ((dur (ly:event-property event 'duration))
 (dur-log (ly:duration-log dur))
 (dur-dots (ly:duration-dot-count dur))
 (dur-factor (ly:duration-scale dur)))
    (if (>= dur-log 2)
    (ly:event-set-property!
 event 'duration (ly:make-duration
  (1+ dur-log)
  dur-dots
  (* dur-factor 2)


\layout {
  \context {
    \Voice
    \consists #flag_change_engraver
  }
}

\score {
  \new Voice {
    \autoBeamOff
    \override Flag.style = #'mensural
    a1 a2 a4 a8 a16 r
    \override NoteHead.style = #'blackpetrucci
    a1 a2 a4 a8 a16 r
    \override NoteHead.style = #'petrucci
    a1 a2 a4 a8 a16 r
  }
}

Lukas



Problem with blackpetrucci

2021-08-04 Thread Kees van den Doel
In black notation minim looks like modern 1/4 note and semiminim looks like
modern 1/8 note.

It is not correct though, semiminim and shorter notes are one flag short,
so Minim and Semiminim look identical. See example.

Unless I'm missing something this is a bug, is there a workaround?

Thanks,
Kees
\version "2.22.1"

\score {
  \new Voice {
\override Flag.style = #'mensural
a1 a2 a4 a8 r
\override NoteHead.style = #'blackpetrucci
a1 a2 a4 a8 r
\override NoteHead.style = #'petrucci
a1 a2 a4 a8 r
  }
}

testdur.pdf
Description: Adobe PDF document


Re: Help!

2021-08-04 Thread Karlin High

On 8/4/2021 12:39 PM, David Niles wrote:
I successfully downloaded Frescobaldi but I can’t get to the default 
page.  What am I doing wrong?


If you have Frescobaldi running, click the menu for File -> New ->, and 
there should be options for a few templates and the Score Wizard to help 
set things up.

--
Karlin High
Missouri, USA



Special notes

2021-08-04 Thread Kees van den Doel
I'm trying to reproduce the notes caudatae, as in image.
Attached minimal code is as far as I got, but I can't get
\mergeDifferentlyHeadedOn to do anything which would make it work I think.

Or is there a smarter way?

Thanks,
Kees
\version "2.22.1"

whitenote = \once \override NoteHead.style = #'petrucci
nohead = \once \override NoteHead.transparent = ##t
sstem = \once \override Stem.length = #4
rednote = {
  \once \override Stem.color = #red
  \once \override Flag.color = #red
  \once \override NoteHead.color = #red
}
mrg = \mergeDifferentlyHeadedOn % doesn't seem to do anything??

\score {
  \new Voice {
\autoBeamOff
\stemUp a' 
<<{ \stemDown \nohead \sstem \rednote \mrg c''8 }\\{\stemUp \whitenote \rednote c''2*1/4}>>
\stemUp 
a'2
  }
  
  \layout{ 
\context {
  \Voice
  \override NoteHead.style = #'blackpetrucci
  \override Flag.style = #'mensural
}
  }
}

teststem.pdf
Description: Adobe PDF document


Help!

2021-08-04 Thread David Niles
I successfully downloaded Frescobaldi but I can’t get to the default page.  
What am I doing wrong?
David Niles
ekj...@gmail.com

Re: incipits

2021-08-04 Thread Jean Abou Samra

Le 04/08/2021 à 03:37, Kees van den Doel a écrit :
I have a score with different key signatures in the voices. The 
incipit does not align properly as the flat takes space and shifts 
things.
See attached. I've simply added the incipits to each voice as in the 
example in the docs.


I've tried adding key signature to top incipit voice and setting
  \once \override KeySignature.transparent = ##t
but this does not hide the flat.



\override without a context applies to the bottommost context,
which is a MensuralVoice in this case. The KeySignature object
is created in MensuralStaff, so the \override does not reach
it. This will hide the key signature:

\override MensuralStaff.KeySignature.transparent = ##t

However, the transparent property is meant to hide objects
but keep them taking space. To remove an object, rather
set stencil:

\override MensuralStaff.KeySignature.stencil = ##f

This can be shortened as

\omit MensuralStaff.KeySignature

(whereas the first override would be equivalent to
\hide MensuralStaff.KeySignature).

Please see

http://lilypond.org/doc/v2.23/Documentation/learning/visibility-and-color-of-objects#the-stencil-property

and

http://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects


Maybe related I would like to hide the mensural time signature as it's 
not in the original. Again

  \override TimeSignature.transparent = ##t
has no effect.




Similarly, you want

\omit MensuralStaff.TimeSignature

Best,
Jean



Re: simple question 1 where's the pdf for all the manuals for 2.22?

2021-08-04 Thread Silvain Dupertuis

If you are on Windows, you can use *7-zip *
to open/pack/unpack tar archives.
It even integrates into the file explorer in the context menu.

Of course, in Linux, it's all integrated in the system...

Le 04.08.21 à 13:11, jh a écrit :
Thank you David etal, I've often been unable to find a tool to open/access tarballs?  
But I used a linux laptop and got in.
I did find the quantity of material to be overwhelming and it took me a couple of days 
to find a way to just find the pdfs in that file but find them I did.

Thank you for the help.

jay



--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org 


Re: Testers wanted

2021-08-04 Thread Andrew Culver
Hello Michael Hendry

FWIW - I installed Lilypond 2.22.1 on Catalina using MacPorts. “nerdling" has 
also amiably posted version 2.23.3 there as of now.

I made a little cheatsheet after my own successful install. Here it is:

Installing and using Macports for LilyPond
==
https://www.macports.org/install.php
https://guide.macports.org/#installing #better
# Xcode must be up to date (see link immediately above)
# keep macports up to date
sudo port -v selfupdate
# search for lilypond ports available
port search lilypond*
# search for all ports related to lilypond
port search lilypond
# installing a port help
https://guide.macports.org/#using.port.install
# installing lilypond
sudo port install lilypond
# also see port clean and port uninstall
https://guide.macports.org/#using.port.clean
https://guide.macports.org/#using.port.uninstall

Best

Andrew Culver



> On Jul 29, 2021, at 13:28, Michael Hendry  wrote:
> 
> On 29 Jul 2021, at 09:57, Knut Petersen  wrote:
>> 
>> On 29.07.21 02:41, Michael Hendry wrote:
>>> 
>>> Hi, Knut.
>>> 
>>> Now that I’ve settled in to my new iMac (64-bit, X86 processor, Mac OS 
>>> 11,5.1) I’ve got all my usual utilities running in the new environment 
>>> except lilypond and Frescobaldi.
>>> 
>>> Pre-compiled binaries for this computer aren’t available, so I’ve cloned 
>>> the source code into my ~/git_stuff directory as follows...
>>> 
>>> 
>>> checking how to run the C++ preprocessor... /lib/cpp
>>> configure: error: in `/Users/michaelhendry/git_stuff/lilypond':
>>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>>> See `config.log' for more details
>>> **
>>> 
>>> Am I naive to think this should “just work”?
>> 
>> Well, to build lilypond  you need a working toolchain, and a working cpp is 
>> definitely part of that toolchain needs.
>> 
>> Maybe you should have a look at 
>> https://gitlab.com/marnen/lilypond-mac-builder if you want to build lilypond 
>> on your mac
>> 
>> Knut
>> 
>> 
> 
> I do, in fact, have a working copy of cpp, but in /usr/bin/cpp, not in 
> /lib/cpp.
> 
> I should be able to create a /lib directory and put a link in it, but Big Sur 
> is very protective about the root directory, and I haven’t worked out how to 
> do that.
> 
> In any case, it’s usual for git compilations to use the path on the local 
> machine to establish that the necessary tools are present and not to enforce 
> an absolute location for any given tool.
> 
> Unfortunately, widespread gripping hasn’t revealed a suitable place to 
> specify the location of cpp. I have a feeling there’s a facility to override 
> default locations when running .configure (for instance) with a command-line 
> argument.
> 
> Meanwhile, I’ll have a look at mac-builder.
> 
> Thanks, 
> 
> Michael




Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread Knute Snortum
On Wed, Aug 4, 2021 at 2:45 AM Jean Abou Samra  wrote:
> Have a look at the recent thread
>
> https://lists.gnu.org/archive/html/bug-lilypond/2021-07/msg00012.html
>
> Workaround:
>
> \version "2.22.1"
>
> \new Voice \relative c' {
>$(add-grace-property 'Voice 'Slur 'direction UP)
>\acciaccatura { d8 } c4
>$(remove-grace-property 'Voice 'Slur 'direction)
>\acciaccatura { d8 } c4
>\acciaccatura { d8 } c4 \acciaccatura { d8 } c4
> }

Thanks, that works great!  I saw that thread, but I didn't know how it
related to me.  Thanks for clarifying it.

--
Knute Snortum



Re: simple question 1 where's the pdf for all the manuals for 2.22?

2021-08-04 Thread jh
Thank you David etal, I've often been unable to find a tool to 
open/access tarballs?  But I used a linux laptop and got in.
I did find the quantity of material to be overwhelming and it took me a 
couple of days to find a way to just find the pdfs in that file but find 
them I did.

Thank you for the help.

jay



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread David Kastrup
David Kastrup  writes:

> Knute Snortum  writes:
>
>> I've run into what I think is a bug (and I couldn't find it in gitlab
>> Issues). If an acciaccatura or appoggiatura is the first note in a
>> piece, a \slurUp is not honored (it stays a down slur). Subsequent
>> notes work fine. MWE:
>>
>> %%%
>> \version "2.23.3"
>>
>> \relative c' {
>>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>> }
>>
>> \relative c' {
>>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>> }
>> %%%
>>
>> Is there a work-around?
>
> Start your contexts explicitly with \new Voice { ... }.

Huh, that doesn't actually help.  I wonder why.  Have to look more thoroughly.

-- 
David Kastrup



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread Jean Abou Samra

Le 04/08/2021 à 02:18, Knute Snortum a écrit :

I've run into what I think is a bug (and I couldn't find it in gitlab
Issues). If an acciaccatura or appoggiatura is the first note in a
piece, a \slurUp is not honored (it stays a down slur). Subsequent
notes work fine. MWE:

%%%
\version "2.23.3"

\relative c' {
   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
}

\relative c' {
   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
}
%%%

Is there a work-around?

--
Knute Snortum



Have a look at the recent thread

https://lists.gnu.org/archive/html/bug-lilypond/2021-07/msg00012.html

Workaround:

\version "2.22.1"

\new Voice \relative c' {
  $(add-grace-property 'Voice 'Slur 'direction UP)
  \acciaccatura { d8 } c4
  $(remove-grace-property 'Voice 'Slur 'direction)
  \acciaccatura { d8 } c4
  \acciaccatura { d8 } c4 \acciaccatura { d8 } c4
}


Best,
Jean



Re: slurUp not honored for acciaccatura/appoggiatura if first note

2021-08-04 Thread David Kastrup
Knute Snortum  writes:

> I've run into what I think is a bug (and I couldn't find it in gitlab
> Issues). If an acciaccatura or appoggiatura is the first note in a
> piece, a \slurUp is not honored (it stays a down slur). Subsequent
> notes work fine. MWE:
>
> %%%
> \version "2.23.3"
>
> \relative c' {
>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
>   \acciaccatura { \slurUp d8 } c4 \acciaccatura { \slurUp d8 } c4
> }
>
> \relative c' {
>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
>   \appoggiatura { \slurUp d8 } c4 \appoggiatura { \slurUp d8 } c4
> }
> %%%
>
> Is there a work-around?

Start your contexts explicitly with \new Voice { ... }.

-- 
David Kastrup



Re: incipits

2021-08-04 Thread Kees van den Doel
Here's a minimal example showing the problem.

On Tue, Aug 3, 2021 at 6:37 PM Kees van den Doel  wrote:

> I have a score with different key signatures in the voices. The incipit
> does not align properly as the flat takes space and shifts things.
> See attached. I've simply added the incipits to each voice as in the
> example in the docs.
>
> I've tried adding key signature to top incipit voice and setting
>   \once \override KeySignature.transparent = ##t
> but this does not hide the flat.
>
> Maybe related I would like to hide the mensural time signature as it's not
> in the original. Again
>   \override TimeSignature.transparent = ##t
> has no effect.
>
> Is there a proper way to do this?
> [image: Image1.jpg]
>
\version "2.22.1"

\score {
  \new StaffGroup <<
\new Staff \with { instrumentName = "" } <<
  \new Voice {
\incipit {a}
a
  }
>>
\new Staff \with { instrumentName = "" } <<
  \new Voice {
\incipit {\key f \major a}
a
  }
>>
  >>
  \layout{ 
indent = 4\cm
%indent = 4\cm % aligns notes but now clefs are off
  }
}



testincipit.pdf
Description: Adobe PDF document