Frescobaldi crashes on startup

2023-01-29 Thread Jean Bréfort
Hi, Since a python upgrade, Frescobaldi has a serious issue: Traceback (most recent call last): File "/usr/share/frescobaldi/frescobaldi_app/view.py", line 107, in event if ev.type() == QEvent.KeyPress: ^^^ TypeError: a member of enum 'StandardKey' is expected not 'QEvent' then

Re: Tweak Slur direction "neutral",Re: Tweak Slur direction "neutral"

2023-01-29 Thread Werner LEMBERG
>> When I attempt to change the "direction" property of a slur, >> whether that is with \tweak or \override, I cannot set the >> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when >> setting to 0, I get the following error:  >> >> "Assertion failed: d, file >> /home/lily/lilypond-

Re: The "R.H." instruction with 45 degree slope down and up from treble to bass clef: How?

2023-01-29 Thread Werner LEMBERG
> The "R.H." instruction with 45 degree slope down and up from treble > to bass clef: How? Look up 'staff-change lines' in the Notation Reference index to get details on the `\showStaffSwitch` command. Werner

Re: German notation

2023-01-29 Thread Andrew Bernard
Have I missed delivery of some posts? I can't see where the OP has clarified what he means. Andrew

Re: Tweak Slur direction "neutral"

2023-01-29 Thread Ahanu Banerjee
Thank you so much! -Ahanu On Sun, Jan 29, 2023, 20:36 Jean Abou Samra wrote: > On 30/01/2023 02:20, Ahanu Banerjee wrote: > > When I attempt to change the "direction" property of a slur, whether > that is with \tweak or \override, I cannot set the direction to neutral > (0). UP (1) and DOWN (-1

Re: Tweak Slur direction "neutral"

2023-01-29 Thread Jean Abou Samra
On 30/01/2023 02:20, Ahanu Banerjee wrote: > When I attempt to change the "direction" property of a slur, whether that is > with \tweak or \override, I cannot set the direction to neutral (0). UP (1) > and DOWN (-1) work fine, but when setting to 0, I get the following error:  > > "Assertion fai

Tweak Slur direction "neutral"

2023-01-29 Thread Ahanu Banerjee
When I attempt to change the "direction" property of a slur, whether that is with \tweak or \override, I cannot set the direction to neutral (0). UP (1) and DOWN (-1) work fine, but when setting to 0, I get the following error: "Assertion failed: d, file /home/lily/lilypond-2.24.0/release/binaries

Re: Define "tweak" function

2023-01-29 Thread David Kastrup
Ahanu Banerjee writes: > Never mind, it appears that adding "\etc" does what I am trying to do: > > makeRed = -\tweak color "red" \etc Pretty much the primordial use case for \etc . -- David Kastrup

Re: Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
Never mind, it appears that adding "\etc" does what I am trying to do: makeRed = -\tweak color "red" \etc On Sun, Jan 29, 2023 at 5:53 PM Ahanu Banerjee wrote: > Thanks for the quick reply. I am looking to create a function that can > apply to more than one type of object, in this instance, slu

Re: Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
Thanks for the quick reply. I am looking to create a function that can apply to more than one type of object, in this instance, slurs, articulations, and possibly fingerings. All the examples I have seen require specifying the object. Is it possible to have a function behave like "-\tweak" that act

Re: Define "tweak" function

2023-01-29 Thread Jean Abou Samra
On 29/01/2023 23:45, Ahanu Banerjee wrote: > How can I define a function that applies one or more tweaks to the object > that comes after it?  > > example: I want the following expression to be a function called "\makeRed": > -\tweak color "red" > > so that I can type \makeRed \downbow instead o

Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
How can I define a function that applies one or more tweaks to the object that comes after it? example: I want the following expression to be a function called "\makeRed": -\tweak color "red" so that I can type \makeRed \downbow instead of -\tweak color "red" \downbow Thanks, -Ahanu

Re: Tuning description at beginning of TabStaff

2023-01-29 Thread Federico Bruni
Il giorno dom 29 gen 2023 alle 22:20:14 +0100, Stefan E. Mueller ha scritto: What I would like to know is whether it is possible to give the tuning notes right before the first Tabstaff, vertically aligned to the tablature lines. I tried accomplish this using "instrumentName", but it does not

Re: Tuning description at beginning of TabStaff

2023-01-29 Thread Valentin Petzel
Hi Stefan, The markup command \column uses the property baseline-skip for the minmal distance between two baselines. You need to reduce this value to the actual distance between two tab lines, which is by default 1.5 for a TabStaff. So this will align more or less: \score { << \new TabStaff \

Tuning description at beginning of TabStaff

2023-01-29 Thread Stefan E. Mueller
Hi, I am using Lilypond for writing guitar tablature, and sometimes open or special tunings are used (e.g. DADGAD). I know how to specify the tuning in Lilypond using \stringTuning , so the tablature comes out nice and correct. What I would like to know is whether it is possible to give the tun

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Mats Bengtsson
On 2023-01-29 18:19, Lukas-Fabian Moser wrote: Am 29.01.23 um 17:54 schrieb David Kastrup: Valentin Petzel writes: Hello David, in most cases definitely, but I suppose t

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread David Kastrup
Valentin Petzel writes: >> The lower voice could not possibly be autobeamed anyway since it starts >> behind the beat. You need to add all of the skips manually, and I don't >> think that adding the single beam you want would be enough effort to >> warrant autobeaming. > > Why would this be so?

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Valentin Petzel
> The lower voice could not possibly be autobeamed anyway since it starts > behind the beat. You need to add all of the skips manually, and I don't > think that adding the single beam you want would be enough effort to > warrant autobeaming. Why would this be so? Lilypond does not have issues aut

Re: German notation

2023-01-29 Thread Wol
On 29/01/2023 18:03, Christian wrote: As a trombone player myself: yes, bass clef in anything else than concert pitch is weird... to us. But it's pretty common with bass clarinet (bass clef in b/flat or in a) and low horn parts (bass clef in f). Bass clef in F? Just pull the trigger and keep i

Re: German notation

2023-01-29 Thread Wol
On 29/01/2023 17:46, Lukas-Fabian Moser wrote: Bass clef for bass clarinet is not mentioned in Strauss-Berlioz (Study of instrumentation), but e.g. Rachmaninoff uses it routinely (2nd symphony, Symphonic Dances, Isle of the Dead). I'm certain Werner will be able to provide more details 😄. Bas

Re: German notation

2023-01-29 Thread Christian
As a trombone player myself: yes, bass clef in anything else than concert pitch is weird... to us. But it's pretty common with bass clarinet (bass clef in b/flat or in a) and low horn parts (bass clef in f). Best regards, Christian Wol schrieb am So., 29. Jän. 2023, 18:21: > On 29/01/2023 10:03

Re: German notation

2023-01-29 Thread Lukas-Fabian Moser
Am 29.01.23 um 18:20 schrieb Wol: On 29/01/2023 10:03, Mark Knoop wrote: I think Wim may be referring to the various standards of transposing the B-flat bass clarinet. - either in bass clef a major 2nd higher than sounding (as in this    Strauss excerpt) IME (I'm a trombone player) this is

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread David Kastrup
Lukas-Fabian Moser writes: > Am 29.01.23 um 17:54 schrieb David Kastrup: >> Valentin Petzel writes: >> >>> Hello David, >>> >>> in most cases definitely, but I suppose there might be some cases in >>> say piano music where something like this would make sense. >> I'd say that proportion seems lo

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Lukas-Fabian Moser
Am 29.01.23 um 17:36 schrieb Valentin Petzel: Hello David, in most cases definitely, but I suppose there might be some cases in say piano music where something like this would make sense. Additionally, Schenker graphs would be an obvious example where beaming over skips is useful. (But of c

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread David Kastrup
Lukas-Fabian Moser writes: > Am 29.01.23 um 17:54 schrieb David Kastrup: >> Valentin Petzel writes: >> >>> Hello David, >>> >>> in most cases definitely, but I suppose there might be some cases in >>> say piano music where something like this would make sense. >> I'd say that proportion seems lo

Re: German notation

2023-01-29 Thread Wol
On 29/01/2023 10:03, Mark Knoop wrote: I think Wim may be referring to the various standards of transposing the B-flat bass clarinet. - either in bass clef a major 2nd higher than sounding (as in this Strauss excerpt) IME (I'm a trombone player) this is extremely unusual. I've met maybe tw

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Lukas-Fabian Moser
Am 29.01.23 um 17:54 schrieb David Kastrup: Valentin Petzel writes: Hello David, in most cases definitely, but I suppose there might be some cases in say piano music where something like this would make sense. I'd say that proportion seems low enough that providing automatisms for it is mor

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread David Kastrup
Valentin Petzel writes: > Hello David, > > in most cases definitely, but I suppose there might be some cases in > say piano music where something like this would make sense. I'd say that proportion seems low enough that providing automatisms for it is more likely to cause confusion than help. -

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Valentin Petzel
Hello David, in most cases definitely, but I suppose there might be some cases in say piano music where something like this would make sense. Valentin Am Sonntag, 29. Jänner 2023, 15:37:23 CET schrieb David Kastrup: > Beaming over skips seems like it would produce incomprehensible results. s

Re: Override baseline-skip according layout-staff-size

2023-01-29 Thread Rip _Mus
Thank you Valentin, the version 2 will be VERY useful! Thanks a lot! Il giorno dom 29 gen 2023 alle ore 14:23 Valentin Petzel ha scritto: > Hello, > > Basically you want to scale the baseline-skip along with the staff size > (the > reason for this is that measurement is in global staff spaces,

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread David Kastrup
Valentin Petzel writes: > Hello Werner, > > I felt it a bit inconsistent to make rests optionally auto beamable > and to leave skips untouched ... Beaming over skips seems like it would produce incomprehensible results. -- David Kastrup

Re: Override baseline-skip according layout-staff-size

2023-01-29 Thread Valentin Petzel
Hello, Basically you want to scale the baseline-skip along with the staff size (the reason for this is that measurement is in global staff spaces, not in layout staff spaces). You can achieve this in multiple ways: Version 0: Simply use the staff space as baseline-skip Version 1: Add a little

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Mark Knoop
At 10:27 on 29 Jan 2023, Valentin Petzel wrote: > Hello Werner, > this would not be hard to get done. Here’s an experimental commit: > https://gitlab.com/vpetzel/lilypond/-/commit/5267b574d27316b7c5d45080b32200dabc5d37dc[1] > Using this test: > { > c'8 d' r e' r f' g' r | r r r a' b' s s c'

Re: Override baseline-skip according layout-staff-size

2023-01-29 Thread Rip _Mus
Oh, it works very well! Sometimes I get lost in a glass of water.. Thank you!! Il giorno dom 29 gen 2023 alle ore 12:09 Aaron Hill < lilyp...@hillvisions.com> ha scritto: > On 2023-01-29 1:16 am, Rip _Mus wrote: > > in "\override #'(baseline-skip . 0.8)" I'm trying to scale the > > baseline-skip

Re: autobeaming over rests,Re: autobeaming over rests,Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Werner LEMBERG
>> Veeery nice, thanks! I only wonder what situation you envision to >> add a special property for skips... > > \version "2.24.0" > > \new Staff \relative > << >   { c'8[ s s c] } >   \\ >   { s c c s } >>> > > doesn't seem unreasonable to me (for example in piano music). OK, thanks. Wer

Re: Override baseline-skip according layout-staff-size

2023-01-29 Thread Aaron Hill
On 2023-01-29 1:16 am, Rip _Mus wrote: in "\override #'(baseline-skip . 0.8)" I'm trying to scale the baseline-skip according to the part staff size (16), in fact 16/20 = 0.8. I'd like to make this snippet more generic. I tried to point, from within the markup, to the Clef grob staff-symbol prope

Re: autobeaming over rests, Re: autobeaming over rests, Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Lukas-Fabian Moser
Hi Werner, Am 29.01.23 um 11:30 schrieb Werner LEMBERG: IMHO, there are definitely valid situations where automatic beaming over rests does make sense. this would not be hard to get done. Here’s an experimental commit: [...] Veeery nice, thanks! I only wonder what situation you envision to ad

Re: autobeaming over rests,Re: autobeaming over rests,Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Werner LEMBERG
> > IMHO, there are definitely valid situations where > > automatic beaming over rests does make sense. > > this would not be hard to get done. Here’s an experimental commit: > [...] Veeery nice, thanks! I only wonder what situation you envision to add a special property for skips... Werner

Re: German notation

2023-01-29 Thread Damian leGassick
If it’s bass clarinet notation we’re talking about then all that’s needed is transpose up one octave and make the clef treble throughout. hth Damian > On 29 Jan 2023, at 09:55, Thomas Scharkowski > wrote: > > Hi Wim, > > I looked at the score of the Menuet - I do not find anything extraord

Re: German notation

2023-01-29 Thread Mark Knoop
I think Wim may be referring to the various standards of transposing the B-flat bass clarinet. - either in bass clef a major 2nd higher than sounding (as in this Strauss excerpt) - or in treble clef a major 9th higher than sounding (which is what he wants) But Wim, we need some of your LilyP

Re: German notation

2023-01-29 Thread Thomas Scharkowski
Hi Wim, I looked at the score of the Menuet - I do not find anything extraordinary there. The Bass clarinet in B flat (Si b) is transposed as usual. I still do not understand what you mean by „German“ and „French notation“. Thomas BTW: The French Horn parts (4 Corni) are also transposed, these

Re: German notation

2023-01-29 Thread Andrew Bernard
We can only guess at what you possibly mean. Can you please make yourself clear? If there is a problem with English, perhaps you could write in your own language. Even though this is an English language list, there is sure to be somebody here who will understand. I mean no disrespect here in a

Re: German notation

2023-01-29 Thread Michael Gerdau
Hi Wim, not sure what you mean by „proper french notation“. If you are referring to note names then you could try Frescobaldi. It has built in functionality to convert between the various note names. Kind regards, Michael Mobil gesendet > Am 29.01.2023 um 09:44 schrieb Wim van Dommelen : >

Re: autobeaming over rests,Re: autobeaming over rests

2023-01-29 Thread Valentin Petzel
Hello Werner, this would not be hard to get done. Here’s an experimental commit: https://gitlab.com/vpetzel/lilypond/-/commit/5267b574d27316b7c5d45080b32200dabc5d37dc[1] Using this test: { c'8 d' r e' r f' g' r | r r r a' b' s s c'' | r r r r s s s s \break \set autoBeamRests = ##t c'8 d'

Override baseline-skip according layout-staff-size

2023-01-29 Thread Rip _Mus
Hello, please, take a look: %%% \version "2.24.0" xclefon = { \set Staff.clefPosition = #3 \override Staff.Clef.stencil = #(lambda (grob) (parenthesize-stencil (grob-interpret-markup grob

Re: German notation

2023-01-29 Thread Valentin Petzel
Hello Wim, may you please take the effort to provide enough information for your question to be comprehesible? If this is about german lute tablature then as far as I know there has not been done anything on this, but then I don’t understand how the key should make problems. Cheers, Valentin

Re: German notation

2023-01-29 Thread Thomas Scharkowski
Hi Wim, could you provide short example? Thomas PS: I do not unterstand this sentence: << I want to play it properly notation (which is „French“ >> > > Am 29.01.2023 um 09:43 schrieb Wim van Dommelen : > > I encountered a piece written in so-called "German notation" and I want to > play it

German notation

2023-01-29 Thread Wim van Dommelen
I encountered a piece written in so-called "German notation" and I want to play it properly notation (which is "French" I can do the basic transposes but the key is always interfering and produces strange results. Is there a quick Lilypond recipe to convert this (from "German" to "French" wri