Re: Chord \crossStaff question

2018-07-11 Thread Simon Albrecht

On 11.07.2018 10:05, Menu Jacques wrote:
The cross staff chord can actually be obtained with the code below, in 
which the upper part of the last two chords has been moved to the 
first staff ‘by hand' and rests set up accordingly,


The two actual voices are still independent from each other and no 
visible rests should be added to the LilyPond voice that merely serves 
for faking the cross-staff chords; use s instead. The top staff should 
only contain a \voiceOne R1 in that measure, as well as the four 
noteheads from cross-staff chords.


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord \crossStaff question

2018-07-11 Thread Simon Albrecht

On 11.07.2018 10:05, Menu Jacques wrote:
Is one among the three scores above clearly preferable for a keyboard 
player?
And what if moving notes to the first staff conflicts with other music 
already present there?


Cross-staff chords are very rarely used in keyboard music and are 
definitely more difficult to read. If anything, it’s an outdated idea. 
(Rossini’s P.te Messe solennelle uses them extensively, for example, at 
least in the Urtext edition I have, which is probably modelled after the 
sources in that respect.)
However, IIUC this is about conversion of MusicXML, so I think it’s 
completely irrelevant what is preferable: if the cross-staff chords are 
explicitly coded as such in the MusicXML, then the task of the 
conversion tool is reproducing that faithfully regardless of typographic 
desirability. For example, there may be situations where it’s relevant 
semantically, e.g. to signify hand distribution. (Rossini is not like 
that, there they merely avoid ledger lines.)


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord \crossStaff question

2018-07-11 Thread Jacques Menu Muzhic
Hello Rutger,

Fine, your solution is cleaner than the one I had come to.
I’ll make good use of that.

Thanks, and a nice day!

JM

> Le 11 juil. 2018 à 09:35, Rutger Hofman  a écrit :
> 
> Hi Jacques,
> 
> if you follow the instructions on cross-staff stems, you will arrive at 
> something like this:
> 
> \version "2.19.0"
> 
> \score {
>\new PianoStaff \with {
>\consists #Span_stem_engraver
>} <<
>\new Staff = RH <<
>{
>\clef treble
>R1
>}
>\new Voice \relative c'' {
>\autoBeamOff
>\voiceTwo
>\crossStaff {
>s4 c,8  s2 |
>}
>}
>>>
>\new Staff = LH <<
>\relative c {
>\clef bass
>\voiceTwo
>8 \change Staff = RH  \change Staff = LH  e g> g' r2 |
>}
>>>
>>>
> }
> 
> Rutger
> 
> On 10-07-18 23:16, Menu Jacques wrote:
>> Hello Mark,
>> That’s the example I was mentioning.
>> But in the image from Finale 2014, all pitched notes occur in the second 
>> staff, and I tried to achieve the same.
>> JM
>>> Le 10 juil. 2018 à 21:59, Mark Stephen Mrotek >> >> >> a écrit :
>>> 
>>> Menu Jackues
>>> Perhaps this can direct you
>>> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems
>>>  
>>> 
>>> Mark
>>> *From:*lilypond-user 
>>> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
>>> ]*On Behalf 
>>> Of*Menu Jacques
>>> *Sent:*Tuesday, July 10, 2018 12:49 PM
>>> *To:*Lilypond-User Mailing List >>  >> >>
>>> *Cc:*Menu Jacques mailto:imj-...@bluewin.ch> 
>>> >>
>>> *Subject:*Chord \crossStaff question
>>> Hello folks,
>>> How can I modify the example below in order to obtain this score, with the 
>>> staff change on the last two chords:
>>> 
>>> instead of that one:
>>> 
>>> The example in the docs didn’t give me the solution.
>>> Thanks for your help!
>>> JM
>>> %%%
>>> 
>>> \version "2.19.82"
>>> 
>>> \version "2.19.58"
>>> % automatically converted by musicxml2ly from CrossStaffChord.xml_inter.xml
>>> 
>>> 
>>> PartPOneVoiceOne =  \relative c' {
>>>   \clef "treble" \key c \major \time 4/4 | % 1
>>>   R1 \bar "|."
>>> }
>>> 
>>> PartPOneVoiceTwo =  \relative c {
>>>   \clef "bass" \key c \major \time 4/4
>>>   8 [
>>>   \change Staff="1"
>>>   8
>>>   \change Staff="2"
>>>   8
>>>   \change Staff="2"
>>>   8
>>>   ]
>>>   \change Staff="2"
>>>   r2 \bar "|."
>>> }
>>> 
>>> 
>>> % The score definition
>>> \score {
>>>   <<
>>> 
>>> \new PianoStaff
>>> <<
>>> 
>>>   \context Staff = "1" <<
>>> \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
>>> \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
>>>   >> \context Staff = "2" <<
>>> \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
>>> \context Voice = "PartPOneVoiceTwo" {  \PartPOneVoiceTwo }
>>>   >>
>>> >>
>>> 
>>>   >>
>>>   \layout {}
>>>   % To create MIDI output, uncomment the following line:
>>>   %  \midi {\tempo 4 = 100 }
>>> }
>>> 
>>> ___
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org  
>>> >
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user 
>>> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord \crossStaff question

2018-07-11 Thread Rutger Hofman

Hi Jacques,

if you follow the instructions on cross-staff stems, you will arrive at 
something like this:


\version "2.19.0"

\score {
\new PianoStaff \with {
\consists #Span_stem_engraver
} <<
\new Staff = RH <<
{
\clef treble
R1
}
\new Voice \relative c'' {
\autoBeamOff
\voiceTwo
\crossStaff {
s4 c,8  s2 |
}
}
>>
\new Staff = LH <<
\relative c {
\clef bass
\voiceTwo
8 \change Staff = RH  \change Staff = 
LH  g' r2 |

}
>>
>>
}

Rutger

On 10-07-18 23:16, Menu Jacques wrote:

Hello Mark,

That’s the example I was mentioning.

But in the image from Finale 2014, all pitched notes occur in the second 
staff, and I tried to achieve the same.


JM

Le 10 juil. 2018 à 21:59, Mark Stephen Mrotek > a écrit :


Menu Jackues
Perhaps this can direct you
http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems
Mark
*From:*lilypond-user 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org]*On Behalf 
Of*Menu Jacques

*Sent:*Tuesday, July 10, 2018 12:49 PM
*To:*Lilypond-User Mailing List >

*Cc:*Menu Jacques mailto:imj-...@bluewin.ch>>
*Subject:*Chord \crossStaff question
Hello folks,
How can I modify the example below in order to obtain this score, with 
the staff change on the last two chords:


instead of that one:

The example in the docs didn’t give me the solution.
Thanks for your help!
JM
%%%

\version "2.19.82"

\version "2.19.58"
% automatically converted by musicxml2ly from 
CrossStaffChord.xml_inter.xml



PartPOneVoiceOne =  \relative c' {
  \clef "treble" \key c \major \time 4/4 | % 1
  R1 \bar "|."
}

PartPOneVoiceTwo =  \relative c {
  \clef "bass" \key c \major \time 4/4
  8 [
  \change Staff="1"
  8
  \change Staff="2"
  8
  \change Staff="2"
  8
  ]
  \change Staff="2"
  r2 \bar "|."
}


% The score definition
\score {
  <<

    \new PianoStaff
    <<

      \context Staff = "1" <<
        \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
      >> \context Staff = "2" <<
        \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
        \context Voice = "PartPOneVoiceTwo" {  \PartPOneVoiceTwo }
      >>
    >>

  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  %  \midi {\tempo 4 = 100 }
}

___
lilypond-user mailing list
lilypond-user@gnu.org 
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Chord \crossStaff question

2018-07-10 Thread Mark Stephen Mrotek
Menu Jacques,

 

Trying to compile your code.

Not successful for the moment.

Shall try later tonight.

 

Mark

 

From: Menu Jacques [mailto:imj-...@bluewin.ch] 
Sent: Tuesday, July 10, 2018 2:17 PM
To: Mark Stephen Mrotek 
Cc: Menu Jacques ; Lilypond-User Mailing List 

Subject: Re: Chord \crossStaff question

 

Hello Mark,

 

That’s the example I was mentioning.

 

But in the image from Finale 2014, all pitched notes occur in the second staff, 
and I tried to achieve the same.

 

JM 





Le 10 juil. 2018 à 21:59, Mark Stephen Mrotek mailto:carsonm...@ca.rr.com> > a écrit :

 

Menu Jackues

 

Perhaps this can direct you

 
<http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems>
 
http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems

 

Mark

 

From: lilypond-user [ 
<mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org> 
mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Menu 
Jacques
Sent: Tuesday, July 10, 2018 12:49 PM
To: Lilypond-User Mailing List < <mailto:lilypond-user@gnu.org> 
lilypond-user@gnu.org>
Cc: Menu Jacques < <mailto:imj-...@bluewin.ch> imj-...@bluewin.ch>
Subject: Chord \crossStaff question

 

Hello folks,

 

How can I modify the example below in order to obtain this score, with the 
staff change on the last two chords:

 



 

instead of that one:

 



 

The example in the docs didn’t give me the solution.

Thanks for your help!

 

JM

 

%%%

 

\version "2.19.82"

\version "2.19.58"
% automatically converted by musicxml2ly from CrossStaffChord.xml_inter.xml


PartPOneVoiceOne =  \relative c' {
  \clef "treble" \key c \major \time 4/4 | % 1
  R1 \bar "|."
}

PartPOneVoiceTwo =  \relative c {
  \clef "bass" \key c \major \time 4/4
  8 [
  \change Staff="1"
  8
  \change Staff="2"
  8
  \change Staff="2"
  8
  ]
  \change Staff="2"
  r2 \bar "|."
}


% The score definition
\score {
  <<

\new PianoStaff
<<

  \context Staff = "1" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
  >> \context Staff = "2" <<
\mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
\context Voice = "PartPOneVoiceTwo" {  \PartPOneVoiceTwo }
  >>
>>

  >>
  \layout {}
  % To create MIDI output, uncomment the following line:
  %  \midi {\tempo 4 = 100 }
}




___
lilypond-user mailing list
 <mailto:lilypond-user@gnu.org> lilypond-user@gnu.org
 <https://lists.gnu.org/mailman/listinfo/lilypond-user> 
https://lists.gnu.org/mailman/listinfo/lilypond-user

 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord \crossStaff question

2018-07-10 Thread Simon Albrecht

On 10.07.2018 23:16, Menu Jacques wrote:
But in the image from Finale 2014, all pitched notes occur in the 
second staff, and I tried to achieve the same.


What do you mean? They are cross-staff chords, so some of the note heads 
are on the upper staff.
LilyPond doesn’t currently have any notion of cross-staff chords or way 
to properly represent them in the source, you have to fake it using 
cross-staff stems.


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord \crossStaff question

2018-07-10 Thread Menu Jacques
Hello Mark,

That’s the example I was mentioning.

But in the image from Finale 2014, all pitched notes occur in the second staff, 
and I tried to achieve the same.

JM 

> Le 10 juil. 2018 à 21:59, Mark Stephen Mrotek  a écrit :
> 
> Menu Jackues
>  
> Perhaps this can direct you
> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems
>  
> 
>  
> Mark
>  
> From: lilypond-user 
> [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
> ] On Behalf Of 
> Menu Jacques
> Sent: Tuesday, July 10, 2018 12:49 PM
> To: Lilypond-User Mailing List  >
> Cc: Menu Jacques mailto:imj-...@bluewin.ch>>
> Subject: Chord \crossStaff question
>  
> Hello folks,
>  
> How can I modify the example below in order to obtain this score, with the 
> staff change on the last two chords:
>  
> 
>  
> instead of that one:
>  
> 
>  
> The example in the docs didn’t give me the solution.
> Thanks for your help!
>  
> JM
>  
> %%%
>  
> \version "2.19.82"
> 
> \version "2.19.58"
> % automatically converted by musicxml2ly from CrossStaffChord.xml_inter.xml
> 
> 
> PartPOneVoiceOne =  \relative c' {
>   \clef "treble" \key c \major \time 4/4 | % 1
>   R1 \bar "|."
> }
> 
> PartPOneVoiceTwo =  \relative c {
>   \clef "bass" \key c \major \time 4/4
>   8 [
>   \change Staff="1"
>   8
>   \change Staff="2"
>   8
>   \change Staff="2"
>   8
>   ]
>   \change Staff="2"
>   r2 \bar "|."
> }
> 
> 
> % The score definition
> \score {
>   <<
> 
> \new PianoStaff
> <<
> 
>   \context Staff = "1" <<
> \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
> \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
>   >> \context Staff = "2" <<
> \mergeDifferentlyDottedOn\mergeDifferentlyHeadedOn
> \context Voice = "PartPOneVoiceTwo" {  \PartPOneVoiceTwo }
>   >>
> >>
> 
>   >>
>   \layout {}
>   % To create MIDI output, uncomment the following line:
>   %  \midi {\tempo 4 = 100 }
> }
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user