grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
152 stars 34 forks source link

lower part with half note #164

Closed guandi156 closed 1 year ago

guandi156 commented 1 year ago

Hello, The lower part is a half note, but coincides with the upper part. This shows only quarter notes. How can I make the lower part become half notes?

33333

This shows only quarter notes. How can I make the lower part become half notes? Thank you!

2222

dfober commented 1 year ago

There is a workaround: don't draw the notehead e.g.:

{
[
    \meter<"4/4"> 
    \stemsUp \beam(c1/8 e g c2)
    % workaround : using notehead style
    \stemsUp \beam(\noteFormat<style="none">(c1/8) e g c2)
]
, [
    \staff<1> 
    \stemsDown c/2
    \stemsDown c/2
]
}

but it is not the ideal solution. In fact that should be automatic. I'll look into it.

guandi156 commented 1 year ago

It works with \noteFormat Thank you very much!

dfober commented 1 year ago

fixed. There is now an automatic detection of this kind of issue that is solved by hiding the note head.