Re: Engraving a triple-stop for violin

2023-07-10 Thread David Kastrup
Valentin Petzel  writes:

> Am Sonntag, 9. Juli 2023, 09:42:52 CEST schrieb David Kastrup:
>> The latter is definitely the _natural_ way to enter this construct
>> (single voice simultaneity) but I do seem to remember that LilyPond did
>> not deal well with it?
>
> The thing is that if we combine Simultaneous Music with implicit context 
> creation Lilypond will create a context for each simultaneous music 
> expression. So doing

No, there were also typesetting problems, like head
attachments/dimensions for differently shaped heads, and consistent
duration (and beaming) depending on head order.  I don't remember the
details but do remember that this did not generally work reliably.

-- 
David Kastrup



Re: Engraving a triple-stop for violin

2023-07-10 Thread Valentin Petzel
Am Sonntag, 9. Juli 2023, 09:42:52 CEST schrieb David Kastrup:
> The latter is definitely the _natural_ way to enter this construct
> (single voice simultaneity) but I do seem to remember that LilyPond did
> not deal well with it?

The thing is that if we combine Simultaneous Music with implicit context 
creation Lilypond will create a context for each simultaneous music 
expression. So doing

<< c' e' g' >>

will create three staves, doing

\new Staff << c' e' g' >>

will create three voices, but

\new Voice << c' e' g' >>

will work. This is not necessary if the context already exists:

{ << c' e' g' >> c' } % Voice/Staff does not exist → creates separate contexts

{ c' << c' e' g' >> } % Voice/Staff do already exist → single context

Cheers,
Valentin

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


Re: Engraving a triple-stop for violin

2023-07-09 Thread Jun Tamura
Thank you, Valentin and David.

I was not aware that << >> construct can be used this way.

> I do seem to remember that LilyPond did
> not deal well with it?

“1.5.1 Single voice — Simultaneous expressions” of NR says:

This can be useful if the simultaneous sections have identical rhythms, but 
attempts to attach notes with different durations to the same stem will cause 
errors.

I think that the code

\new Voice << g4 e' e''2^. >>

is attaching notes with different durations to the same stem but I do not see 
any error message.

Jun

> 2023/07/09 16:42、David Kastrup のメール:
> 
> Valentin Petzel mailto:valen...@petzel.at>> writes:
> 
>> Hello Pierre,
>> 
>> I think this should rather be
>> 
>> { <\tweak duration-log #2 g \tweak duration-log #2 e' e''>2^. }
>> 
>> Alternatively one can simply do
>> 
>> \new Voice << g4 e' e''2^. >>
>> 
>> (the \new Voice is necessary as there has been no music before this, so 
>> there 
>> does not exist a voice, and Lilypond will then create one Voice for each 
>> parallel music).
> 
> The latter is definitely the _natural_ way to enter this construct
> (single voice simultaneity) but I do seem to remember that LilyPond did
> not deal well with it?
> 
> -- 
> David Kastrup



Re: Engraving a triple-stop for violin

2023-07-09 Thread Pierre Perol-Schneider
Thank you Valentin

Le dim. 9 juil. 2023 à 09:26, Valentin Petzel  a écrit :

> Hello Pierre,
>
> I think this should rather be
>
> { <\tweak duration-log #2 g \tweak duration-log #2 e' e''>2^. }
>
> Alternatively one can simply do
>
> \new Voice << g4 e' e''2^. >>
>
> (the \new Voice is necessary as there has been no music before this, so
> there
> does not exist a voice, and Lilypond will then create one Voice for each
> parallel music).
>
> Cheers,
> Valentin
>
> Am Sonntag, 9. Juli 2023, 07:07:53 CEST schrieb Pierre Perol-Schneider:
> > Hi Jun,
> > I'd do:
> >
> > { ^. }
> >
> > For some reason I couldn't find the dedicated documentation.
> > Cheers,
> > Pierre
> >
> > Le dim. 9 juil. 2023 à 06:54, Jun Tamura  a écrit :
> > > Hello!
> > >
> > > Is there a recommended practice to engrave a triple-stop for the
> violin as
> > > in the attached example - notes with different durations in a single
> > > triple-stop? The example is from the 1st violin part, bar 24, 1st
> > > movement,
> > > piano concerto no. 3 by Beethoven. This quite often appears in music
> for
> > > string instruments. I’ve looked through LSR but cannot find a good
> > > example.
> > > Your kind advice is appreciated.
> > >
> > > Jun
>
>


Re: Engraving a triple-stop for violin

2023-07-09 Thread David Kastrup
Valentin Petzel  writes:

> Hello Pierre,
>
> I think this should rather be
>
> { <\tweak duration-log #2 g \tweak duration-log #2 e' e''>2^. }
>
> Alternatively one can simply do
>
> \new Voice << g4 e' e''2^. >>
>
> (the \new Voice is necessary as there has been no music before this, so there 
> does not exist a voice, and Lilypond will then create one Voice for each 
> parallel music).

The latter is definitely the _natural_ way to enter this construct
(single voice simultaneity) but I do seem to remember that LilyPond did
not deal well with it?

-- 
David Kastrup



Re: Engraving a triple-stop for violin

2023-07-09 Thread Valentin Petzel
Hello Pierre,

I think this should rather be

{ <\tweak duration-log #2 g \tweak duration-log #2 e' e''>2^. }

Alternatively one can simply do

\new Voice << g4 e' e''2^. >>

(the \new Voice is necessary as there has been no music before this, so there 
does not exist a voice, and Lilypond will then create one Voice for each 
parallel music).

Cheers,
Valentin

Am Sonntag, 9. Juli 2023, 07:07:53 CEST schrieb Pierre Perol-Schneider:
> Hi Jun,
> I'd do:
> 
> { ^. }
> 
> For some reason I couldn't find the dedicated documentation.
> Cheers,
> Pierre
> 
> Le dim. 9 juil. 2023 à 06:54, Jun Tamura  a écrit :
> > Hello!
> > 
> > Is there a recommended practice to engrave a triple-stop for the violin as
> > in the attached example - notes with different durations in a single
> > triple-stop? The example is from the 1st violin part, bar 24, 1st
> > movement,
> > piano concerto no. 3 by Beethoven. This quite often appears in music for
> > string instruments. I’ve looked through LSR but cannot find a good
> > example.
> > Your kind advice is appreciated.
> > 
> > Jun



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


Re: Engraving a triple-stop for violin

2023-07-09 Thread Jun Tamura
Thank you, Pierre!

I’ve realized that an example is in "5.3.4 The \tweak command” in NR by 
searching “duration-log”.

Thanks again.

> 2023/07/09 14:11、Pierre Perol-Schneider 
> のメール:
> 
> PS. Added to the LSR: https://lsr.di.unimi.it/LSR/Item?id=1170
> 
> Le dim. 9 juil. 2023 à 07:07, Pierre Perol-Schneider 
> mailto:pierre.schneider.pa...@gmail.com>> 
> a écrit :
>> Hi Jun,
>> I'd do:
>> 
>> { ^. }
>> 
>> For some reason I couldn't find the dedicated documentation.
>> Cheers,
>> Pierre
>> 
>> Le dim. 9 juil. 2023 à 06:54, Jun Tamura > > a écrit :
>>> Hello!
>>> 
>>> Is there a recommended practice to engrave a triple-stop for the violin as 
>>> in the attached example - notes with different durations in a single 
>>> triple-stop? The example is from the 1st violin part, bar 24, 1st movement, 
>>> piano concerto no. 3 by Beethoven. This quite often appears in music for 
>>> string instruments. I’ve looked through LSR but cannot find a good example. 
>>> Your kind advice is appreciated.
>>> 
>>> Jun
>>> 



Re: Engraving a triple-stop for violin

2023-07-08 Thread Pierre Perol-Schneider
PS. Added to the LSR: https://lsr.di.unimi.it/LSR/Item?id=1170

Le dim. 9 juil. 2023 à 07:07, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> a écrit :

> Hi Jun,
> I'd do:
>
> { ^. }
>
> For some reason I couldn't find the dedicated documentation.
> Cheers,
> Pierre
>
> Le dim. 9 juil. 2023 à 06:54, Jun Tamura  a écrit :
>
>> Hello!
>>
>> Is there a recommended practice to engrave a triple-stop for the violin
>> as in the attached example - notes with different durations in a single
>> triple-stop? The example is from the 1st violin part, bar 24, 1st movement,
>> piano concerto no. 3 by Beethoven. This quite often appears in music for
>> string instruments. I’ve looked through LSR but cannot find a good example.
>> Your kind advice is appreciated.
>>
>> Jun
>>
>>


Re: Engraving a triple-stop for violin

2023-07-08 Thread Pierre Perol-Schneider
Hi Jun,
I'd do:

{ ^. }

For some reason I couldn't find the dedicated documentation.
Cheers,
Pierre

Le dim. 9 juil. 2023 à 06:54, Jun Tamura  a écrit :

> Hello!
>
> Is there a recommended practice to engrave a triple-stop for the violin as
> in the attached example - notes with different durations in a single
> triple-stop? The example is from the 1st violin part, bar 24, 1st movement,
> piano concerto no. 3 by Beethoven. This quite often appears in music for
> string instruments. I’ve looked through LSR but cannot find a good example.
> Your kind advice is appreciated.
>
> Jun
>
>