Open ahankinson opened 8 years ago
From @ahankinson on May 28, 2015 18:7
From siggelun...@gmail.com on June 04, 2013 09:28:00
What steps will reproduce the problem? The whole input file is attached.
transforming a tune with cross staff stems lead to an exception when running mup on the result. See @@@@ in this example:
\<measure n="18" right="rptboth"> \<staff n="1"> \<layer> \<chord dur="4" stem.dir="up"> \<note pname="e" oct="4" /> \<note pname="g" oct="4" /> \</chord> \<chord dur="4" stem.dir="up"> \<note pname="c" oct="6" /> \<note pname="e" oct="5" /> \<note pname="c" oct="5" /> \</chord> \</layer> \</staff> \<staff n="2"> \<layer> \<note pname="c" oct="3" dur="4" stem.dir="up" /> \<chord dur="4" stem.dir="down"> \<note pname="g" oct="4" staff="1"/> \<!-- @@@@note in staff 1 --> \<note pname="c" oct="4" /> \</chord> \</layer> \</staff> \</measure> Please provide any additional information below. Making the correction implied in the comments below solves the problem \<xsl:if test="mei:note[@staff != ancestor::mei:staff/@n]"> \<xsl:text> with \</xsl:text> \<xsl:apply-templates select="mei:note[@staff != ancestor::mei:staff/@n]"/> \<xsl:choose> \<xsl:when test="mei:note[@staff != ancestor::mei:staff/@n][1] > ancestor::mei:staff/@n"> \<xsl:text> below</xsl:text> \<!-- changed by SL. Was above --> \</xsl:when> \<xsl:when test="mei:note[@staff != ancestor::mei:staff/@n][1] < ancestor::mei:staff/@n"> \<xsl:text> above</xsl:text> \<!-- changed by SL. Was below --> \</xsl:when> \</xsl:choose> \</xsl:if>
Attachment: kaleidakustikon_10.xml
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=158
Copied from original issue: music-encoding/music-encoding#158
From andrew.hankinson on June 04, 2013 09:57:41
Owner: pd...@virginia.edu Labels: Component-Tools Milestone-ReleaseNext
From pd...@virginia.edu on June 11, 2014 13:29:31
Labels: -Priority-Medium Priority-Low
From @ahankinson on May 28, 2015 18:7
From siggelun...@gmail.com on June 04, 2013 09:28:00
What steps will reproduce the problem? The whole input file is attached.
transforming a tune with cross staff stems lead to an exception when running mup on the result. See @@@@ in this example:
Attachment: kaleidakustikon_10.xml
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=158
Copied from original issue: music-encoding/music-encoding#158