Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-staff Octava Rendering Error when going through new system #134

Closed
arshiacont opened this issue Oct 28, 2021 · 1 comment
Closed

Comments

@arshiacont
Copy link

Take the following sample which renders correctly as shown below:

{[ \staff<1> \accol<id=0, range="1-2"> \barFormat<style= "system", range="1-2"> 
   (* meas. 1 *)  \clef<"g2"> \key<-3> \meter<"2/4"> 
   \beamBegin:1 b&2/16 d3/16  f3/16  a&3/16 \beamEnd:1 \oct<1>  \beamBegin:1 b&3/16  d4/16  f4/16  a&4/16 \beamEnd:1 \bar<measNum=2> 
   (* meas. 2 *)   \beamBegin:1 b&4/16  a&4/16  f4/16 \oct<0>  d3/16 \beamEnd:1  \beamBegin:1 b&3/16  a&3/16  f3/16  d3/16 \beamEnd:1 ]
 , 
[ \staff<2> \set<autoHideTiedAccidentals="on"> \barFormat<style= "system", range="2"> 
   (* meas. 1 *)  \clef<"g2"> \key<-3> \meter<"2/4", autoBarlines="off", autoMeasuresNum="system">  \beamBegin:1 b&1/16  d2/16  f2/16  a&2/16 \beamEnd:1 \oct<1>  \beamBegin:1 b&2/16  d3/16  f3/16  a&3/16 \beamEnd:1 \bar<measNum=2> 
   (* meas. 2 *)   \beamBegin:1 b&3/16  a&3/16  f3/16 \oct<0>  d2/16 \beamEnd:1  \beamBegin:1 b&2/16  a&2/16  f2/16  d2/16 \beamEnd:1 ]
  }

image

Now, I add a few measure in the beginning so that the Octavas go through the next system. The octava rendering becomes erroneous (rendering on guidoeditor.grame.fr):

{[ \staff<1>  \accol<id=0, range="1-2"> \barFormat<style= "system", range="1-2"> 
   (* meas. 1 *)  \clef<"g2"> \key<-3> \meter<"2/4">  \beamBegin:1 b&0/16  d1/16  f1/16  a&1/16 \beamEnd:1  \beamBegin:1 b&1/16  d2/16  f2/16  a&2/16 \beamEnd:1 \bar<measNum=2> 
   (* meas. 2 *)   \beamBegin:1 b&2/16  d3/16  f3/16  a&3/16 \beamEnd:1 \oct<1>  \beamBegin:1 b&3/16  d4/16  f4/16  a&4/16 \beamEnd:1 \bar<measNum=3> 
   (* meas. 3 *)   \beamBegin:1 b&4/16  a&4/16  f4/16 \oct<0>  d3/16 \beamEnd:1  \beamBegin:1 b&3/16  a&3/16  f3/16  d3/16 \beamEnd:1 \bar<measNum=4> 
   (* meas. 4 *)   \beamBegin:1 b&2/16  a&2/16  f2/16  d2/16 \beamEnd:1  \beamBegin:1 b&1/16  a&1/16  f1/16  d1/16 \beamEnd:1 \bar<measNum=5> 
   (* meas. 5 *)   \beamsOff b&0/2 ]
 , 
[ \staff<2> 
   (* meas. 1 *)  \clef<"f4"> \key<-3> \meter<"2/4">  \beamBegin:1 b&-1/16  d0/16  f0/16  a&0/16 \beamEnd:1 \clef<"g2">  \beamBegin:1 b&0/16  d1/16  f1/16  a&1/16 \beamEnd:1 \bar<measNum=2> 
   (* meas. 2 *)   \beamBegin:1 b&1/16  d2/16  f2/16  a&2/16 \beamEnd:1 \oct<1>  \beamBegin:1 b&2/16  d3/16  f3/16  a&3/16 \beamEnd:1 \bar<measNum=3> 
   (* meas. 3 *)   \beamBegin:1 b&3/16  a&3/16  f3/16 \oct<0>  d2/16 \beamEnd:1  \beamBegin:1 b&2/16  a&2/16  f2/16  d2/16 \beamEnd:1 \bar<measNum=4> 
   (* meas. 4 *)   \beamBegin:1 b&1/16  a&1/16  f1/16  d1/16 \beamEnd:1 \clef<"f4">  \beamBegin:1 b&0/16  a&0/16  f0/16  d0/16 \beamEnd:1 \bar<measNum=5> 
   (* meas. 5 *)   \beamsOff b&-1/2 ]
  }

image

@dfober
Copy link
Member

dfober commented Dec 9, 2021

fixed

@dfober dfober closed this as completed Dec 9, 2021
arshiacont added a commit to Antescofo/guidolib that referenced this issue Mar 18, 2022
…2.4.0

* commit '5c48275e70f4dddefdcb18ce2b39f469e48271d7':
  changelog
  cleanup + add support for dx
  add regression test
  fix issue grame-cncm#134 (tellPosition and OnDraw completely redesigned)
  move version num to 1.7.2
  add const qualifier
  update compile options (optimisation)
  update version to fix emcc compiler issue
  update npm package
  trying to embed bitcode on IOS
  deprecated constant
  QPrinter : conditional include
  no more pattern matching in samples install
  misc.
  remove unused function
  fix use of PREFIX variable
  android libs renamed
  fix iOS support with inscore
  Qt6 support

# Conflicts:
#	build/CMakeLists.txt
#	src/engine/graphic/GREvent.h
#	src/engine/graphic/GROctava.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants