Re: Separate dynamics from notes

2023-04-29 Thread Andrew Bernard

Minimum Working Example.

It's customary protocol to try to reduce your problem or query to its 
basic essence so that people on the list can help out.


MWE's are described here:

https://lilypond.org/tiny-examples.html

MWE is the term that has come into use.


Andrew


On 29/04/2023 1:47 am, Gianmaria Lari wrote:


By the way, ahem what is a MWE?




Re: Frescobaldi: Weird error with 3.3.0 (OT?)

2023-04-29 Thread Jean Abou Samra


> Le 29 avr. 2023 à 21:37, Stephan Schöll  a écrit :
> 
> 
> On one of my Windows 10 computers I updated Frescobaldi by
> 
> 1. unistalling 3.0.1.
> 
> 2. installing 3.3.0 with the installer from the Frescobaldi website
> 
> At the end of the installation process I guess the installer wants to start 
> Frescobaldi. But instead I get this message with references to folders that 
> definitely don't exist on my machine (C:\Python, D:\Users\Jones...)
> 


Don’t worry about these. They are paths on the machine of the person who built 
the installer.


> I uninstall and reinstalled again but without success.
> 
> Is there anybody who could give me some advice, either what to do or where to 
> post in case this is OT?
> 

Unfortunately, the error message is not very helpful. (I dare hope that on 
Linux you would at least have gotten the name of the missing symbol.)

Anyway. Maybe your OS is too old? What precise version of Windows 10 is this? 
Did you upgrade it recently?




Re: Frescobaldi: Weird error with 3.3.0 (OT?)

2023-04-29 Thread Valentin Petzel
Hello Stephan,

it appears like the one at fault here is the cx_Freeze package, which in 
hooks/pyqt5/add_library.py loads PyQt5.

This package does have a few similar bugs:

https://github.com/marcelotduarte/cx_Freeze/issues/504
https://github.com/marcelotduarte/cx_Freeze/issues/1408

These should be fixed with version 6.13, but considering the version used here 
is not the most recent one (the line at fault "qtcore = __import__("PyQt5", 
fromlist=["QtCore"]).QtCore" is not line 19 anymore) it might be plausible 
that this it the bug you are facing.

You might either try the fixes dicussed in the threads, or you could (if you 
have access to the python installation used by Frescobaldi) use

pip freeze

to check the version of the cx_freeze package and in case upgrade it using

pip install cx_freeze.

Finally you should consider filing a bug report on the Frescobaldi issue 
tracker so the issue can be fixed.

Cheers,
Valentin

Am Samstag, 29. April 2023, 21:36:18 CEST schrieb Stephan Schöll:
> On one of my Windows 10 computers I updated Frescobaldi by
> 
> 1. unistalling 3.0.1.
> 
> 2. installing 3.3.0 with the installer from the Frescobaldi website
> 
> At the end of the installation process I guess the installer wants to
> start Frescobaldi. But instead I get this message with references to
> folders that definitely don't exist on my machine (C:\Python,
> D:\Users\Jones...)
> 
> I uninstall and reinstalled again but without success.
> 
> Is there anybody who could give me some advice, either what to do or
> where to post in case this is OT?
> 
> TIA
> 
> Stephan



signature.asc
Description: This is a digitally signed message part.


Re: Glissando intervoices

2023-04-29 Thread Mario Moles
HI. Thanks everyone for the replies and I'm sorry if my files were long 
but it was just to show how I set everything up. Kieren's solution is 
not optimal because it is not related to the final note of the 
glissando. The others are interesting and I will keep you updated. Thank 
you very much and sorry for not responding faster.


Mario

Il 28/04/23 12:55, Paul Hodges ha scritto:
I guess we all have different styles.  While I often do the hidden 
notes thing, another approach I find useful at times is to put notes 
into the same voice when they really aren't...


%%
\version "2.25.1"
\language "english"

<<
 \new Staff = "upper" <<
   \key e \minor
   \new Voice \relative fs'' { \voiceOne fs2 s4 e8 fs g2. fs4 }
   \new Voice \relative fs' { \voiceTwo fs2
                               \voiceOne ds'4*2/1 \glissando
                               \voiceTwo b4 a b a }
 >>
 \new Staff = "lower" <<
   \key e \minor
   \new Voice \relative ds' { \voiceOne ds8 e ds cs \voiceTwo b a g fs 
e1 }

   \new Voice \relative b { \voiceTwo b2
                            \change Staff = "upper" fs'2 \glissando
                            \change Staff = "lower"  \voiceOne e2 g4 fs }
 >>
>>
%%%

Paul


*From: * Leo Correia de Verdier 
*To: * Mario Moles 
*Cc: * 
*Sent: * 28/04/2023 10:49
*Subject: * Re: Glissando intervoices

Hi Mario!

Like Kieren, I thought you were satisfied with the answers you
got, since you did not send any MWE. Anyway, here is how I would
code the passage you sent in the first mail:



\version "2.25.1"
<<

 \new Staff = "upper" <<
   \key e \minor
   \new Voice \relative fis'' { \voiceOne fis2 dis4 e8 fis
                                g2. fis4 }
   \new Voice \relative dis'' { \voiceTwo s2 \hideNotes dis4
\glissando s4
                                \unHideNotes b4 a b a}
   \new Voice \relative fis' { \voiceTwo
                               fis2 fis \glissando
                               % Here you could use
\showStaffSwitch instead of \glissando
                               \change Staff = "lower" \voiceOne
                               e g4 fis }
 >>

 \new Staff = "lower" <<
   \new Voice \relative dis' { \voiceOne dis8 e dis cis \voiceTwo
b a g fis e1 }
   \new Voice { \voiceTwo b2 }
 >>

>>



It’s a bit messy, but with complex voice structures I usually end
up there…
In a real world situation you will, depending on what the music
looks like either have to create parallel structures and new
voices on the fly as they appear or keep empty voices ”alive” with
spacer rests.

I think the staff switch line actually looks better than the
glissando, but they look different, so I’d stick with the glissando.

Developing team: Could something like this (this is not the first
time I see this kind of notation) be a reason for a mechanism
allowing to create VoiceFollowers within one staff? Unless it
already exists and I’m just unaware of it.

HTH
/Leo

> 27 apr. 2023 kl. 23:54 skrev Mario Moles :
>
> No idea? From no one? Ok! Thank you!
>
> Il 26/04/23 01:13, Mario Moles ha scritto:
>> I apologize because I explained myself badly. I use the
glissando to indicate the sliding of the same finger of the left
hand on the same string of the guitar. The blue lines I drew with
Gwenview. The score posted as an example is a transcription of a
"passemezzo" by VIncenzo Galilei for Renaissance lute. I
transcribed on two staves for greater clarity of what I think is
the polyphony of the piece. I am attaching the two files as an
example. The "gui.ly" file is a general configuration file for my
scores. Thank you!
>>
>> Il 25/04/23 12:57, Andrew Bernard ha scritto:
>>> My thoughts exactly, for musical reasons. The lower is not a
gliss in my opinion, but a voice follower. And I agree with Jean
regarding the top one also. I think that's also an indicator of
voice leading. But musicians can follow this sort of score without
help. I'd leave them out. Ant way, just see the NR re voice
follower if you want.
>>>
>>> Andrew
>>>



Building on Ferora 38

2023-04-29 Thread Andrew Bernard
I have never had difficulty locating build dependencies on linux ever 
before. But I can't work out this:


ERROR: Please install required programs:  texi2pdf texindex epsf.tex 
pltotf lh CTAN package (texlive-lang-cyrillic or texlive-texmf-fonts)


I'm using Fedora 38. Where is this stuff? What is this cryptic reference 
to CTAN (I know what CTAN is but I don't understand what this error is 
saying).



Andrew






Re: Building on Ferora 38

2023-04-29 Thread Jean Abou Samra
Le dimanche 30 avril 2023 à 16:29 +1000, Andrew Bernard a écrit :

> I have never had difficulty locating build dependencies on linux ever 
> before. But I can't work out this:
> 
> ERROR: Please install required programs:  texi2pdf texindex epsf.tex 
> pltotf lh CTAN package (texlive-lang-cyrillic or texlive-texmf-fonts)
> 
> I'm using Fedora 38. Where is this stuff? What is this cryptic reference 
> to CTAN (I know what CTAN is but I don't understand what this error is 
> saying).

The error's wording is a bit awkward and could use commas.

It's just saying that you need texi2pdf, texindex, epsf.tex, pltotf, and the lh 
CTAN package. The latter can be installed via `texlive-lh` on Fedora, and the 
other ones are part of these packages:

```
~/repos/lilypond $ dnf provides '*/texi2pdf'
Last metadata expiration check: 7 days, 8:08:10 ago on Sun Apr 23 00:41:51 2023.
texinfo-tex-7.0.2-2.fc38.x86_64 : Tools for formatting Texinfo documentation 
files using TeX
Repo: @System
Matched from:
Filename: /usr/bin/texi2pdf

texinfo-tex-7.0.2-2.fc38.x86_64 : Tools for formatting Texinfo documentation 
files using TeX
Repo: fedora
Matched from:
Filename: /usr/bin/texi2pdf

~/repos/lilypond $ dnf provides '*/texindex'
Last metadata expiration check: 7 days, 8:08:33 ago on Sun Apr 23 00:41:51 2023.
texinfo-tex-7.0.2-2.fc38.x86_64 : Tools for formatting Texinfo documentation 
files using TeX
Repo: @System
Matched from:
Filename: /usr/bin/texindex

texinfo-tex-7.0.2-2.fc38.x86_64 : Tools for formatting Texinfo documentation 
files using TeX
Repo: fedora
Matched from:
Filename: /usr/bin/texindex

~/repos/lilypond $ dnf provides '*/epsf.tex'
Last metadata expiration check: 7 days, 8:08:46 ago on Sun Apr 23 00:41:51 2023.
texlive-epsf-10:svn21461.2.7.4-65.fc38.noarch : Simple macros for EPS inclusion
Repo: @System
Matched from:
Filename: /usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex

texlive-epsf-10:svn21461.2.7.4-65.fc38.noarch : Simple macros for EPS inclusion
Repo: fedora
Matched from:
Filename: /usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex

~/repos/lilypond $ dnf provides '*/pltotf'
Last metadata expiration check: 7 days, 8:08:59 ago on Sun Apr 23 00:41:51 2023.
texlive-fontware-10:svn62387-69.fc38.x86_64 : fontware package
Repo: fedora
Matched from:
Filename: /usr/bin/pltotf

texlive-fontware-10:svn62387-71.fc38.x86_64 : fontware package
Repo: @System
Matched from:
Filename: /usr/bin/pltotf

texlive-fontware-10:svn62387-71.fc38.x86_64 : fontware package
Repo: updates
Matched from:
Filename: /usr/bin/pltotf
```


This is all stuff needed for compiling the documentation, not for compiling 
LilyPond itself, so if you don't care about the documentation, you can also 
pass `--disable-documentation` and it should stop complaining.


signature.asc
Description: This is a digitally signed message part