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

Wrong tremolo rendered duration in prior presence of Grace #108

Closed arshiacont closed 4 years ago

arshiacont commented 4 years ago

Take the following snippet:

{[ 
     \clef<"g2"> \key<2> \meter<"2/4"> \stemsUp 
   \grace( c#3/8) \stemsDown
   b2/8 a/8 a/4
  \bar 
     \trem<style="//">( {f#/2, d3/2  })
 \bar 
    \trem<style="//">( {f#2/2, d3/2  })
 ]
 }

which results to image

Now just remove the \grace( c#3/8) from the code, and you'll get correct duration for the Tremolos:

image

This will happen even if the grace note is way behind Tremolos... .

dfober commented 4 years ago

fixed ! (and pushed :-)