Thank you a lot all of you for your feedbacks.
I have figured it out, however it is not that straight forward thing.
First let me show you the not so MWE example in "real" context, ie in the score
i am producing for Keyboard and live elecronics. The 01.png screenshot is what
i get at first. And thanx for the crossStaff suggestion by Xavier, i adjusted
it in 02.png. Ok I admit, the score is scarry (but in rpogress), but waht the
hell... it was saturday night time :-)
[The change/hack is on the first beat of the 5/8 measure (third meas.) the 5/6
tuplet.]
So my solution as a MWE that i posted first was the following:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.25.1"
"one"=
{
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
\tempo 4 = 60
\time 4/4
\once \override Beam.positions=#'(6 . 6)
\override NoteHead.transparent=##t
\override NoteHead.no-ledgers = ##t
\override Accidental.transparent = ##t
c'8 c'8 c'8 c'8
\revert NoteHead.transparent
\revert NoteHead.no-ledgers
\revert Accidental.transparent
c'4
c'4
|
}
"two"=
{
\time 4/4
\autoBeamOff
\stemUp
\crossStaff { c'8 c'8 c'8 c'8}
\autoBeamOn
\stemNeutral
c'4
c'4
|
}
\score {
{
<<
\new PianoStaff
<<
\new Staff = "up" {
\one
}
\new Staff = "down" {
\two
}
>>
>>
}
\layout {
ragged-last = ##f
indent = 0.0
\context {\PianoStaff
\consists #Span_stem_engraver
}
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
But i must admit, i hoped a more simpler solution involving Grobs. But here I
am a novice. I mean by that, a way to override the spacing without all the
above overrides. But what the heck, it works with this solution so i will live
with that. :-)
I Thank you all a lot, and all the Lilypond community and dev team.
Love all
Best
Karim
On Tue, Aug 20, 2024 at 01:36:48AM +0200, Leo Correia de Verdier wrote:
> I’m at the hospital, far from my library, and anyways not sure about exactly
> how Karim wants them to look or behave. I was just pointing out it’s nothing
> really exotic in contemporary music.
>
> Anyway: An alternative approach, somewhat blunter but simpler
>
> \version "2.25.12"
> one = {
> s2 c'4 c'4
> }
> two = {
> \temporary \override Stem.vertical-skylines = ##f
> \temporary \override Beam.vertical-skylines = ##f
> \override Beam.positions = #'( 18 . 18 ) c'8 8 8 8
> \revert Stem.vertical-skylines
> \revert Beam.vertical-skylines
> c'4 c'4
> }
>
> \new StaffGroup
> <<
> \new Staff
> \one
> \new Staff
> \two
> >>
>
> > 19 aug. 2024 kl. 22:49 skrev Werner LEMBERG <[email protected]>:
> >
> >
> >> Common beams for both staves, sometimes pulled outside them are used
> >> in contemporary music when the resultant rhythm from both staves of
> >> a single instrument are significantly easier to grasp than the
> >> separate rhythms of the separate staves. It also hints at both
> >> staves having a common voice or musical material.
> >
> > Please provide a scan of a real-world example to show what you really
> > want to achieve.
> >
> >
> > Werner
>
--
Karim Haddad
Music Representations Team, IRCAM
Research and development manager.
email : [email protected]
webpage : http://karim.haddad.free.fr
\version "2.25.1"
"one"=
{
%%%%%%%%%%%%%%%%%%%%%%% MESURE : 1 %%%%%%%%%%%%%%%%%%%%%%%
\tempo 4 = 60
\time 4/4
\once \override Beam.positions=#'(6 . 6)
\override NoteHead.transparent=##t
\override NoteHead.no-ledgers = ##t
\override Accidental.transparent = ##t
c'8 c'8 c'8 c'8
\revert NoteHead.transparent
\revert NoteHead.no-ledgers
\revert Accidental.transparent
c'4
c'4
|
}
"two"=
{
\time 4/4
\autoBeamOff
\stemUp
\crossStaff { c'8 c'8 c'8 c'8}
\autoBeamOn
\stemNeutral
c'4
c'4
|
}
\score {
{
<<
\new PianoStaff
<<
\new Staff = "up" {
\one
}
\new Staff = "down" {
\two
}
>>
>>
}
\layout {
ragged-last = ##f
indent = 0.0
\context {\PianoStaff
\consists #Span_stem_engraver
}
}
}