Modify flat flag appearance like beamed notes

2022-12-19 Thread William Rehwinkel

Dear list,

In the following tiny example, I override some variables to do with how 
beamed notes are rendered, and also configure to use the flat-flag 
stencil. I was wondering if it was possible to modify how the unbeamed 
flag stencil was rendered so that it would look identical to the lines 
rendered for beams? My apologies, wasn't able to find anything for this 
when looking at the flag reference.


Thanks,

-Will


\version "2.24.0"
\relative g' {
    \override Flag.stencil = #flat-flag
    r8. g16 g g g g
    \override Beam.beam-thickness = #0.6 \override Beam.length-fraction 
= #1.0

    r8. g16 g g g g
}


--
William Rehwinkel


OpenPGP_signature
Description: OpenPGP digital signature


Re: Difficulty running convert-ly under Linux/Ubuntu

2022-12-19 Thread Ralph Palmer
Thanks, Michael -

I don't have time now, but I'll try in the morning!

Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


On Mon, Dec 19, 2022 at 8:21 PM Michael Werner  wrote:

> I'm also on Ubuntu here (well, to be a bit more precise I'm using the
> KUbuntu distro, but should be close enough). I tried your command and had
> it fail. But, when I altered it just a bit it worked. All I had to do was
> specify the full path to the convert.ly file, like this:
> find . -name '*.ly' -exec
> /home/michael/lilypond/lilypond-2.24.0/bin/convert-ly -e '{}' \;
> Maybe give that a shot and see what happens.
>
> Michael
>
> On Mon, Dec 19, 2022 at 9:53 PM Ralph Palmer 
> wrote:
>
>> Greetings -
>>
>> Jean Abou Samra kindly pointed me in the right direction for the
>> installation of 2.24.0 in Linux with Frescobaldi.
>>
>> I was successful. Then I tried running convert-ly for all my .ly files,
>> using
>>
>> find . -name '*.ly' -exec convert-ly -e '{}' \;
>>
>> on the command line. That was unsuccessful.
>>
>> I also tried
>>
>> convert-ly -e $(find . -name '*.ly' -print)
>>
>> but both of those commands were unsuccessful. In both cases, I got the
>> message
>>
>> 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found
>>
>> even though Python 3.10 is in the LilyPond directory. Ah, but I don't see
>> my usr/bin directory. I'm still confused.
>>
>> Any suggestions?
>>
>> All the best,
>>
>> Ralph
>> __
>> Ralph Palmer
>> Seattle
>> USA
>> (he, him, his)
>> palmer.r.vio...@gmail.com
>>
>


Re: Difficulty running convert-ly under Linux/Ubuntu

2022-12-19 Thread Michael Werner
I'm also on Ubuntu here (well, to be a bit more precise I'm using the
KUbuntu distro, but should be close enough). I tried your command and had
it fail. But, when I altered it just a bit it worked. All I had to do was
specify the full path to the convert.ly file, like this:
find . -name '*.ly' -exec
/home/michael/lilypond/lilypond-2.24.0/bin/convert-ly -e '{}' \;
Maybe give that a shot and see what happens.

Michael

On Mon, Dec 19, 2022 at 9:53 PM Ralph Palmer 
wrote:

> Greetings -
>
> Jean Abou Samra kindly pointed me in the right direction for the
> installation of 2.24.0 in Linux with Frescobaldi.
>
> I was successful. Then I tried running convert-ly for all my .ly files,
> using
>
> find . -name '*.ly' -exec convert-ly -e '{}' \;
>
> on the command line. That was unsuccessful.
>
> I also tried
>
> convert-ly -e $(find . -name '*.ly' -print)
>
> but both of those commands were unsuccessful. In both cases, I got the
> message
>
> 6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found
>
> even though Python 3.10 is in the LilyPond directory. Ah, but I don't see
> my usr/bin directory. I'm still confused.
>
> Any suggestions?
>
> All the best,
>
> Ralph
> __
> Ralph Palmer
> Seattle
> USA
> (he, him, his)
> palmer.r.vio...@gmail.com
>


Difficulty running convert-ly under Linux/Ubuntu

2022-12-19 Thread Ralph Palmer
Greetings -

Jean Abou Samra kindly pointed me in the right direction for the
installation of 2.24.0 in Linux with Frescobaldi.

I was successful. Then I tried running convert-ly for all my .ly files,
using

find . -name '*.ly' -exec convert-ly -e '{}' \;

on the command line. That was unsuccessful.

I also tried

convert-ly -e $(find . -name '*.ly' -print)

but both of those commands were unsuccessful. In both cases, I got the
message

6: exec: /home/rpalmer/lilypond/usr/bin/python3: not found

even though Python 3.10 is in the LilyPond directory. Ah, but I don't see
my usr/bin directory. I'm still confused.

Any suggestions?

All the best,

Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Re: tremolo: 3/4 time, one dotted-half note chord, double-slash tremolo question

2022-12-19 Thread Kenneth Wolcott
That helps!  Thanks.

On Mon, Dec 19, 2022 at 6:38 PM William Rehwinkel
 wrote:
>
> Hey Ken,
>
> For a tremolo on a single repeating note you can use this other syntax:
>
> \version "2.24.0"
> \relative d' {
>  \time 3/4
>  d2.:16
> }
>
> -will
>
> On 12/19/22 20:41, Kenneth Wolcott wrote:
> > Hi;
> >
> >I'm still do not understand the math (I'd like to generate a
> > formula!) for tremolos.
> >
> >I have a tremolo that I'd like to engrave in 3/4 time, one
> > dotted-half note chord, double-slashed.
> >
> >I'd like to use the repeat tremolo syntax so that I can obtain midi
> > output (without using the articulate feature).
> >
> >Please see attached screenshot.
> >
> > Thanks,
> > Ken Wolcott
> --
> William Rehwinkel



Re: tremolo: 3/4 time, one dotted-half note chord, double-slash tremolo question

2022-12-19 Thread William Rehwinkel

Hey Ken,

For a tremolo on a single repeating note you can use this other syntax:

\version "2.24.0"
\relative d' {
    \time 3/4
    d2.:16
}

-will

On 12/19/22 20:41, Kenneth Wolcott wrote:

Hi;

   I'm still do not understand the math (I'd like to generate a
formula!) for tremolos.

   I have a tremolo that I'd like to engrave in 3/4 time, one
dotted-half note chord, double-slashed.

   I'd like to use the repeat tremolo syntax so that I can obtain midi
output (without using the articulate feature).

   Please see attached screenshot.

Thanks,
Ken Wolcott

--
William Rehwinkel


OpenPGP_signature
Description: OpenPGP digital signature


tremolo: 3/4 time, one dotted-half note chord, double-slash tremolo question

2022-12-19 Thread Kenneth Wolcott
Hi;

  I'm still do not understand the math (I'd like to generate a
formula!) for tremolos.

  I have a tremolo that I'd like to engrave in 3/4 time, one
dotted-half note chord, double-slashed.

  I'd like to use the repeat tremolo syntax so that I can obtain midi
output (without using the articulate feature).

  Please see attached screenshot.

Thanks,
Ken Wolcott


Problems with musicxml2ly

2022-12-19 Thread mark damerell via LilyPond user discussion
Sorry about the length of this: In outline: I tried to use  musicxml2ly  on
a  xml  file.
This ran with no error, but when I ran  lilypond on the result,  I got a
flood of warnings
& then a fatal error & no output.  I append the (truncated) error report I
hope.

Unfortunately I do not know any way to produce a small  xml  that will give
this error.
The file I wanted was "O holy night" by Adolphe Adam (translated into
English) adapted
by P. Le Bas.
It came from this address:


https://www.cpdl.org/wiki/index.php/Minuit,_chr%C3%A9tiens_(O_Holy_Night)_(Adolphe_Charles_Adam)#In_English_translation.2C_.22O_Holy_Night.22

& it was the first item listed.  It was available in  pdf  , mid  ,  mp3 ,
xml  and  sib.
jsonformatter.org   said it is a valid  xml  file. The  pdf  looks good.  I
tried  midi2ly
& the result was really weird.  Please any advice?
rmd@rmd:~/Music/night$ musicxml2ly O\ Holy\ Night\ -\ NP.xml 
musicxml2ly: Reading MusicXML from O Holy Night - NP.xml ...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Negative skip -3/2 (from position 249/2 to 123)
musicxml2ly: warning: Negative skip -9/8 (from position 993/8 to 123)


[ 350 similar errors]


musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Negative skip -1 (from position 275/2 to 273/2)
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/usr/bin/musicxml2ly", line 2986, in 
main()
  File "/usr/bin/musicxml2ly", line 2981, in main
voices = convert (filename, options)
  File "/usr/bin/musicxml2ly", line 2892, in convert
score = extract_score_structure (mxl_pl, staff_info)
  File "/usr/bin/musicxml2ly", line 430, in extract_score_structure
staff = read_score_part (el)
  File "/usr/bin/musicxml2ly", line 383, in read_score_part
staff.instrument_name = extract_display_text (partname)
  File "/usr/bin/musicxml2ly", line 907, in extract_display_text
child = el.get_maybe_exist_named_child ("display-text")
  File "/usr/share/lilypond/2.18.2/python/musicxml.py", line 114, in 
get_maybe_exist_named_child
return self.get_maybe_exist_typed_child (get_class (name))
  File "/usr/share/lilypond/2.18.2/python/musicxml.py", line 123, in 
get_maybe_exist_typed_child
raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
rmd@rmd:~/Music/night$ 

Re: Installing 2.24.0 in Linux

2022-12-19 Thread Ralph Palmer
On Mon, Dec 19, 2022 at 2:20 PM Jean Abou Samra  wrote:

> Le 19/12/2022 à 23:17, Ralph Palmer a écrit :
> > Greetings -
> >
> > I'm feeling stupid. I've installed new versions for years, and this
> > time I'm totally floundering. I hope someone can give me some help.
> > I've looked at the documentation online,
>
>
> Does that include this part?
>
>
> https://lilypond.org/doc/v2.24/Documentation/learning/graphical-setup-under-gnu_002flinux
>
> (which is linked on the download page, BTW).
>
> Best,
> Jean
>

Thank you Thank you Thank you, Jean! What a quick response. I missed that
part of the documentation. I now have it set up and running, I think.

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Re: Installing 2.24.0 in Linux

2022-12-19 Thread Jean Abou Samra

Le 19/12/2022 à 23:17, Ralph Palmer a écrit :

Greetings -

I'm feeling stupid. I've installed new versions for years, and this 
time I'm totally floundering. I hope someone can give me some help. 
I've looked at the documentation online,



Does that include this part?

https://lilypond.org/doc/v2.24/Documentation/learning/graphical-setup-under-gnu_002flinux

(which is linked on the download page, BTW).

Best,
Jean



OpenPGP_signature
Description: OpenPGP digital signature


Installing 2.24.0 in Linux

2022-12-19 Thread Ralph Palmer
Greetings -

I'm feeling stupid. I've installed new versions for years, and this time
I'm totally floundering. I hope someone can give me some help. I've looked
at the documentation online, the documentation in Frescobaldi, and searched
in the new 2.24.0 files for a ReadMe, with no luck.

I'm currently running LilyPond version 2.23.6 and Frescobaldi 3.2.

I have a series of folders labelled
lilypond
lilypond2.20.0
lilypond2.23.6
(and now) lilypond2.24.0

The folders in  are  and , and are shown to have
been "modified" on Feb. 6 of this year (probably when I installed 2.23.6).
I thought maybe I could move  and  from the new 2.24.0
folder, but I can't find them.
I've tried to go into Frescobaldi and add lilypond-2.24.0 to "versions to
use", but I can't get Frescobaldi to accept it.
I have extracted  to lilypond2.24.0.
I do have a file , which I'm guessing set up
, but I'm not seeing any .sh file associated with 2.24.0.
I'm guessing I need to rename the  folder to  to
keep that version, but I don't know how to install 2.24.0.

I would appreciate any help.

All the best,

Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Re: LilyPond 2.24.0 released!

2022-12-19 Thread Jacques Menu
Great job, thanks to the dev folks!

JM






Re: Lily 2.24 vshape

2022-12-19 Thread Thomas Scharkowski
O.k, solved - just remove the "v" :-)

> Am 19.12.2022 um 09:00 schrieb Thomas Scharkowski :
> 
> How can I hide \vshape control points and polygons? There are always present 
> on screen and print.
> 
> Thank you,
> 
> Thomas





Lily 2.24 vshape

2022-12-19 Thread Thomas Scharkowski
How can I hide \vshape control points and polygons? There are always present on 
screen and print.

Thank you,

Thomas