Re: split chord in two staves, split multiple voices in two staves

2021-01-07 Thread Davide Bonetti

Thank you Thomas,

I'll test your code.

Cheers

Davide

Il 07/01/2021 11:55, Thomas Morley ha scritto:


Am Do., 7. Jan. 2021 um 11:28 Uhr schrieb Davide Bonetti 
:

Hi,

I am working on accordion left-hand educational scores;

I need to split chords (entered with chordmode) in two staves, and I
also need to split multiple voices (4 or more) in two staves.

I am trying to find a way to do this automatically, because I have much
material to work with.

I have tried \autochange, but the result is not what I am searching.

Attached is a minimal example, just to have an idea.

\version "2.20.0"

% autochange example with a chord
\markup "autochange example with a chord"
\score {
\new PianoStaff
\with {instrumentName = #"1"}
\autochange
\chordmode {c:/g}
}

% autochange example with multiple voices
\markup "autochange example with multiple voices"
\score {
\new PianoStaff
\with {instrumentName = #"2"}
\autochange
<<
  \autochange {e'}
  \\
  \autochange {g}
  \\
  \autochange {c'}
>>
}

% desidered result
\markup "desidered result"
\score{
\new PianoStaff
\with {instrumentName = #"3"}
\autochange
<<
  \autochange 
  \\
  \autochange {g}
>>
}

Thank you and best regards.

Davide Bonetti



--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus

Here
https://lists.gnu.org/archive/html/lilypond-user/2020-12/msg00186.html
I posted some code, with the request for testers. No reply so far.

You may be the first tester then ...

Cheers,
   Harm


--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus




Re: split chord in two staves, split multiple voices in two staves

2021-01-07 Thread Thomas Morley
Am Do., 7. Jan. 2021 um 11:28 Uhr schrieb Davide Bonetti 
:
>
> Hi,
>
> I am working on accordion left-hand educational scores;
>
> I need to split chords (entered with chordmode) in two staves, and I
> also need to split multiple voices (4 or more) in two staves.
>
> I am trying to find a way to do this automatically, because I have much
> material to work with.
>
> I have tried \autochange, but the result is not what I am searching.
>
> Attached is a minimal example, just to have an idea.
>
> \version "2.20.0"
>
> % autochange example with a chord
> \markup "autochange example with a chord"
> \score {
>\new PianoStaff
>\with {instrumentName = #"1"}
>\autochange
>\chordmode {c:/g}
> }
>
> % autochange example with multiple voices
> \markup "autochange example with multiple voices"
> \score {
>\new PianoStaff
>\with {instrumentName = #"2"}
>\autochange
><<
>  \autochange {e'}
>  \\
>  \autochange {g}
>  \\
>  \autochange {c'}
>>>
> }
>
> % desidered result
> \markup "desidered result"
> \score{
>\new PianoStaff
>\with {instrumentName = #"3"}
>\autochange
><<
>  \autochange 
>  \\
>  \autochange {g}
>>>
> }
>
> Thank you and best regards.
>
> Davide Bonetti
>
>
>
> --
> Questa e-mail è stata controllata per individuare virus con Avast antivirus.
> https://www.avast.com/antivirus

Here
https://lists.gnu.org/archive/html/lilypond-user/2020-12/msg00186.html
I posted some code, with the request for testers. No reply so far.

You may be the first tester then ...

Cheers,
  Harm



split chord in two staves, split multiple voices in two staves

2021-01-07 Thread Davide Bonetti

Hi,

I am working on accordion left-hand educational scores;

I need to split chords (entered with chordmode) in two staves, and I 
also need to split multiple voices (4 or more) in two staves.


I am trying to find a way to do this automatically, because I have much 
material to work with.


I have tried \autochange, but the result is not what I am searching.

Attached is a minimal example, just to have an idea.

\version "2.20.0"

% autochange example with a chord
\markup "autochange example with a chord"
\score {
  \new PianoStaff
  \with {instrumentName = #"1"}
  \autochange
  \chordmode {c:/g}
}

% autochange example with multiple voices
\markup "autochange example with multiple voices"
\score {
  \new PianoStaff
  \with {instrumentName = #"2"}
  \autochange
  <<
    \autochange {e'}
    \\
    \autochange {g}
    \\
    \autochange {c'}
  >>
}

% desidered result
\markup "desidered result"
\score{
  \new PianoStaff
  \with {instrumentName = #"3"}
  \autochange
  <<
    \autochange 
    \\
    \autochange {g}
  >>
}

Thank you and best regards.

Davide Bonetti



--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
\version "2.20.0"


% autochange example with a chord
\markup "autochange example with a chord"
\score {
  \new PianoStaff
  \with {instrumentName = #"1"}
  \autochange 
  \chordmode {c:/g}
}

% autochange example with multiple voices
\markup "autochange example with multiple voices"
\score {
  \new PianoStaff
  \with {instrumentName = #"2"}
  \autochange
  <<
\autochange {e'}
\\
\autochange {g}
\\
\autochange {c'}
  >>
}

% desidered result
\markup "desidered result"
\score{
  \new PianoStaff
  \with {instrumentName = #"3"}
  \autochange 
  <<
\autochange 
\\
\autochange {g}
  >>
}

autochange minimal example.pdf
Description: Adobe PDF document


Re: Remove deprecated context properties (issue 560030044 by v.villen...@gmail.com)

2021-01-07 Thread Werner LEMBERG


> https://codereview.appspot.com/560030044/

Thanks for the reminder; apparently it has been forgotten to be
applied.  Valentin, could you submit a Merge Request?


Werner



PATCHES - Countdown for January 7th

2021-01-07 Thread James

Hello,
Here is the current patch countdown list. The next countdown will be on
January 9th.


A list of all merge requests can be found here:
https://gitlab.com/lilypond/lilypond/-/merge_requests?sort=label_priority


 Push:

!590 Type-specific C++ grob acknowledgers - Dan Eble
https://gitlab.com/lilypond/lilypond/-/merge_requests/590

!588 Improve doc-markup-function-properties from document-markup.scm - 
Thomas Morley

https://gitlab.com/lilypond/lilypond/-/merge_requests/588

!583 Support -ddump-signatures in EPS backend - Dan Eble
https://gitlab.com/lilypond/lilypond/-/merge_requests/583

!580 Remove ly:parser-lexer. - Han-Wen Nienhuys
https://gitlab.com/lilypond/lilypond/-/merge_requests/580


 Countdown:

!597 convert-ly rule for nested define-music-function calls - David Kastrup
https://gitlab.com/lilypond/lilypond/-/merge_requests/597

!596 Minor regtest warning cleanup - Dan Eble
https://gitlab.com/lilypond/lilypond/-/merge_requests/596

!595 Fix Japanese Noto Serif font name - Masamichi Hosoda
https://gitlab.com/lilypond/lilypond/-/merge_requests/595

!593 Fix leaks in handling Pango fonts - Jonas Hahnfeld
https://gitlab.com/lilypond/lilypond/-/merge_requests/593

!591 Fix memory leak across files caused by session reuse. - Han-Wen 
Nienhuys

https://gitlab.com/lilypond/lilypond/-/merge_requests/591

!574 Add ly:smob-counts, a histogram of live smob types - Han-Wen Nienhuys
https://gitlab.com/lilypond/lilypond/-/merge_requests/574


 Review:

No patches in Review at this time.


 New:

No patches in New at this time.


 Waiting:

!592 Speed up -ddebug-gc-assert-parsed-dead - Han-Wen Nienhuys
https://gitlab.com/lilypond/lilypond/-/merge_requests/592


***



Regards,

James