fix vtest emmentaler-10

This commit is contained in:
Werner Schweer 2017-12-19 15:41:37 +01:00
parent d8d5bac743
commit 4d9b5fed69
4 changed files with 34 additions and 79 deletions

View file

@ -1236,6 +1236,7 @@ void Note::read(XmlReader& e)
bool Note::readProperties(XmlReader& e)
{
const QStringRef& tag(e.name());
if (tag == "pitch")
_pitch = e.readInt();
else if (tag == "tpc") {

View file

@ -476,8 +476,10 @@ QVariant getProperty(P_ID id, XmlReader& e)
case P_TYPE::SYMID:
return QVariant::fromValue(Sym::name2id(e.readElementText()));
break;
case P_TYPE::HEAD_GROUP:
return QVariant::fromValue(NoteHead::name2group(e.readElementText()));;
case P_TYPE::HEAD_GROUP: {
QString s = e.readElementText();
return QVariant::fromValue(NoteHead::name2group(s));
}
case P_TYPE::HEAD_TYPE:
return QVariant::fromValue(NoteHead::name2type(e.readElementText()));
case P_TYPE::POINT_MM: // not supported

View file

@ -690,6 +690,7 @@ static NoteHead::Group convertHeadGroup(int i)
case 13:
val = NoteHead::Group::HEAD_BREVIS_ALT;
break;
case 0:
default:
val = NoteHead::Group::HEAD_NORMAL;
}

View file

@ -9,19 +9,26 @@
</Synthesizer>
<Division>480</Division>
<Style>
<pageWidth>3.93701</pageWidth>
<pageHeight>3.54331</pageHeight>
<pagePrintableWidth>3.77953</pagePrintableWidth>
<pageEvenLeftMargin>0.0787403</pageEvenLeftMargin>
<pageOddLeftMargin>0.0787403</pageOddLeftMargin>
<pageEvenTopMargin>0</pageEvenTopMargin>
<pageEvenBottomMargin>0</pageEvenBottomMargin>
<pageOddTopMargin>0</pageOddTopMargin>
<pageOddBottomMargin>0</pageOddBottomMargin>
<pageTwosided>0</pageTwosided>
<staffDistance>1</staffDistance>
<lyricsMinBottomDistance>4</lyricsMinBottomDistance>
<clefLeftMargin>0.64</clefLeftMargin>
<clefKeyRightMargin>1.75</clefKeyRightMargin>
<barNoteDistance>1.2</barNoteDistance>
<pedalPosBelow>0</pedalPosBelow>
<trillPosAbove>0</trillPosAbove>
<showMeasureNumber>0</showMeasureNumber>
<showFooter>0</showFooter>
<page-layout>
<page-height>510.236</page-height>
<page-width>566.929</page-width>
<page-margins type="both">
<left-margin>11.3386</left-margin>
<right-margin>11.3386</right-margin>
<top-margin>0</top-margin>
<bottom-margin>0</bottom-margin>
</page-margins>
</page-layout>
<dynamicsFontItalic>0</dynamicsFontItalic>
<Spatium>1.5</Spatium>
</Style>
<showInvisible>1</showInvisible>
@ -41,18 +48,11 @@
<metaTag name="translator"></metaTag>
<metaTag name="workNumber"></metaTag>
<metaTag name="workTitle"></metaTag>
<PageList>
<Page>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<StaffType group="pitched">
<name>stdNormal</name>
</StaffType>
<bracket type="-1" span="0"/>
</Staff>
<Staff id="2">
<StaffType group="pitched">
@ -125,14 +125,10 @@ p, li { white-space: pre-wrap; }
</Part>
<Staff id="1">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="-5" y="-5.5"/>
@ -177,7 +173,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -223,21 +218,15 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="2">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -282,7 +271,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -295,7 +283,7 @@ p, li { white-space: pre-wrap; }
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
<head>triangle</head>
<head>triangle-down</head>
</Note>
</Chord>
</Measure>
@ -305,7 +293,7 @@ p, li { white-space: pre-wrap; }
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
<head>triangle</head>
<head>triangle-down</head>
</Note>
</Chord>
<Chord>
@ -313,7 +301,7 @@ p, li { white-space: pre-wrap; }
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
<head>triangle</head>
<head>triangle-down</head>
</Note>
</Chord>
<Chord>
@ -321,28 +309,22 @@ p, li { white-space: pre-wrap; }
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
<head>triangle</head>
<head>triangle-down</head>
</Note>
</Chord>
<Rest>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="3">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -387,7 +369,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -433,21 +414,15 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="4">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -492,7 +467,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -538,21 +512,15 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="5">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -597,7 +565,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -643,21 +610,15 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="6">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -702,7 +663,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -748,21 +708,15 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="7">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<TimeSig>
<sigN>8</sigN>
<sigD>4</sigD>
<showCourtesySig>0</showCourtesySig>
<showCourtesy>0</showCourtesy>
</TimeSig>
<StaffText>
<pos x="0" y="-2.5"/>
@ -807,7 +761,6 @@ p, li { white-space: pre-wrap; }
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
@ -871,8 +824,6 @@ p, li { white-space: pre-wrap; }
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>