Menu

#43 Collision of notes in chord from two voices

v1.0_(example)
pending
None
1
2017-03-07
2017-03-05
Arshia Cont
No

Close notes in a chord, when they are written down from two voices lead to collisions. Example:

{ [ \staff<2>  
\clef<"g2"> \key<-1> \meter<"4/4">  _/4 \stemsUp \beamsOff g/2 ]
, [ \staff<2> 
empty/4 \stemsDown \beamsOff f/4 \beamsOff e/4 ]
 }

Tried also with the\splitChord tag which gives the same result.

Discussion

  • Dominique Fober

    Dominique Fober - 2017-03-06
    • status: open --> pending
    • assigned_to: Dominique Fober
     
  • Dominique Fober

    Dominique Fober - 2017-03-06

    The problem is that there is no chord but only multi voices on a single staff. There is currently no contextual information to solve this kind of issue. The standard solution is use the \noteFormat tag e.g.:
    {
    [
    \clef<"g2"> \key<-1> \meter<"4/4"> _/4 \stemsUp \beamsOff \noteFormat<dx=-0.85>(g/2)
    ]

    ,
    [ \staff<1>
    empty/4 \stemsDown \beamsOff \noteFormat<dx=0.85>(f/4) \beamsOff e/4
    ]

    }
    but that's clearly not a solution for automatic translation from musicxml.
    Maybe a strategy similar to lyrics collisions could be applied (i.e. afterhand collision detection). However, space insertion won't be the solution and I suspect the potential solution will be far more complex to implement.

     
  • Arshia Cont

    Arshia Cont - 2017-03-07

    Dominique,

    Looking into details, I think there's enough contextual information in MusicXML which might be sufficient, combined with \noteFormat in my case. It'll require a lot of book-keeping on the LibMusicXML side since MXML's default-x for note is relative to the beginning of the measure and \noteFormat dx is relative to note position. But I'm willing to look into this at some point.

    This means that we can ignore this Bug and close it for now!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.