New tests for free time and repeated bars

This commit is contained in:
John Pirie 2014-08-07 09:11:25 +01:00
parent 7506e3c832
commit da4718f78f
8 changed files with 1024 additions and 18 deletions

View file

@ -28,19 +28,6 @@ Fingering::Fingering(Score* s)
setFlag(ElementFlag::HAS_TAG, true);
}
//---------------------------------------------------------
// layout
//---------------------------------------------------------
// void Fingering::layout()
// {
// Text::layout();
// /* draw fingering just to the bottom right of applied note, we
// * don't want to draw directly above as it'll get messy when
// * chords are involved */
// setPos(QPointF(15.0, 10.0));
// }
//---------------------------------------------------------
// write
//---------------------------------------------------------

View file

@ -229,10 +229,6 @@ void GuitarPro6::parseFile(char* filename, QByteArray* data)
// test to check if we are dealing with the score
if (!strcmp(filename, "score.gpif")) {
readGpif(data);
QFile file("/tmp/score.gpif");
file.open(QIODevice::WriteOnly);
file.write(*data);
file.close();
}
}

Binary file not shown.

View file

@ -0,0 +1,557 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="1.24">
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<page-layout>
<page-height>1683.78</page-height>
<page-width>1190.55</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.76389</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</showMargins>
<metaTag name="arranger"></metaTag>
<metaTag name="composer"></metaTag>
<metaTag name="copyright"></metaTag>
<metaTag name="lyricist"></metaTag>
<metaTag name="movementNumber"></metaTag>
<metaTag name="movementTitle"></metaTag>
<metaTag name="poet"></metaTag>
<metaTag name="source"></metaTag>
<metaTag name="translator"></metaTag>
<metaTag name="workNumber"></metaTag>
<metaTag name="workTitle"></metaTag>
<PageList>
<Page>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<StaffType group="pitched">
</StaffType>
</Staff>
<trackName>E-Gt</trackName>
<Instrument>
<longName pos="0">Electric Guitar</longName>
<shortName pos="0">El. Guit.</shortName>
<trackName>Electric Guitar</trackName>
<minPitchP>40</minPitchP>
<maxPitchP>86</maxPitchP>
<minPitchA>40</minPitchA>
<maxPitchA>86</maxPitchA>
<StringData>
<frets>21</frets>
<string>40</string>
<string>45</string>
<string>50</string>
<string>55</string>
<string>59</string>
<string>64</string>
</StringData>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>50</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="27"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<VBox>
<height>10</height>
<lid>0</lid>
</VBox>
<Measure number="1">
<Clef>
<concertClefType>G8vb</concertClefType>
<transposingClefType>G8vb</transposingClefType>
<lid>1</lid>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<StaffText>
<lid>3</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>4</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>5</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>6</lid>
<text>Free time</text>
</StaffText>
<TimeSig>
<lid>7</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Dynamic>
<subtype>mf</subtype>
<velocity>80</velocity>
<lid>8</lid>
</Dynamic>
<Tempo>
<tempo>2</tempo>
<lid>9</lid>
<text><sym>noteQuarterUp</sym> = 120</text>
</Tempo>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>50</pitch>
<tpc>16</tpc>
<fret>0</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>12</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>13</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>14</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="2">
<KeySig>
<lid>16</lid>
<accidental>0</accidental>
</KeySig>
<TimeSig>
<lid>17</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Chord>
<lid>18</lid>
<durationType>quarter</durationType>
<Note>
<lid>19</lid>
<pitch>62</pitch>
<tpc>16</tpc>
<fret>12</fret>
<string>3</string>
</Note>
</Chord>
<Chord>
<lid>20</lid>
<durationType>quarter</durationType>
<Note>
<lid>21</lid>
<Accidental>
<subtype>flat</subtype>
</Accidental>
<pitch>63</pitch>
<tpc>11</tpc>
<fret>8</fret>
<string>2</string>
</Note>
</Chord>
<Chord>
<lid>22</lid>
<durationType>quarter</durationType>
<Note>
<lid>23</lid>
<pitch>55</pitch>
<tpc>15</tpc>
<fret>5</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>24</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<createMultiMeasureRests>1</createMultiMeasureRests>
<page-layout>
<page-height>1683.78</page-height>
<page-width>1190.55</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.76389</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</showMargins>
<PageList>
<Page>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<linkedTo>1</linkedTo>
<StaffType group="pitched">
</StaffType>
<bracket type="0" span="2"/>
</Staff>
<Staff id="2">
<linkedTo>1</linkedTo>
<StaffType group="tablature">
<name>Tab. 6-str common</name>
<lines>6</lines>
<lineDistance>1.5</lineDistance>
<timesig>0</timesig>
<durations>0</durations>
<durationFontName>MuseScore Tab Modern</durationFontName>
<durationFontSize>15</durationFontSize>
<durationFontY>0</durationFontY>
<fretFontName>MuseScore Tab Serif</fretFontName>
<fretFontSize>9</fretFontSize>
<fretFontY>0</fretFontY>
<linesThrough>0</linesThrough>
<minimStyle>1</minimStyle>
<onLines>1</onLines>
<showRests>0</showRests>
<stemsDown>1</stemsDown>
<stemsThrough>0</stemsThrough>
<upsideDown>0</upsideDown>
<useNumbers>1</useNumbers>
</StaffType>
<bracket type="-1" span="0"/>
</Staff>
<trackName></trackName>
<Instrument>
<longName pos="0">Electric Guitar</longName>
<shortName pos="0">El. Guit.</shortName>
<trackName>Electric Guitar</trackName>
<minPitchP>40</minPitchP>
<maxPitchP>86</maxPitchP>
<minPitchA>40</minPitchA>
<maxPitchA>86</maxPitchA>
<StringData>
<frets>21</frets>
<string>40</string>
<string>45</string>
<string>50</string>
<string>55</string>
<string>59</string>
<string>64</string>
</StringData>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>50</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="27"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<VBox>
<height>10</height>
<lid>0</lid>
<Text>
<style>Instrument Name (Part)</style>
<text>Electric Guitar</text>
</Text>
</VBox>
<Measure number="1">
<Clef>
<concertClefType>G8vb</concertClefType>
<transposingClefType>G8vb</transposingClefType>
<lid>1</lid>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<StaffText>
<lid>3</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>4</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>5</lid>
<text>Free time</text>
</StaffText>
<StaffText>
<lid>6</lid>
<text>Free time</text>
</StaffText>
<TimeSig>
<lid>7</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Dynamic>
<subtype>mf</subtype>
<velocity>80</velocity>
<lid>8</lid>
</Dynamic>
<Tempo>
<tempo>2</tempo>
<lid>9</lid>
<text><sym>noteQuarterUp</sym> = 120</text>
</Tempo>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>50</pitch>
<tpc>16</tpc>
<fret>0</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>12</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>13</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>14</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="2">
<KeySig>
<lid>16</lid>
<accidental>0</accidental>
</KeySig>
<TimeSig>
<lid>17</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Chord>
<lid>18</lid>
<durationType>quarter</durationType>
<Note>
<lid>19</lid>
<pitch>62</pitch>
<tpc>16</tpc>
<fret>12</fret>
<string>3</string>
</Note>
</Chord>
<Chord>
<lid>20</lid>
<durationType>quarter</durationType>
<Note>
<lid>21</lid>
<Accidental>
<subtype>flat</subtype>
</Accidental>
<pitch>63</pitch>
<tpc>11</tpc>
<fret>8</fret>
<string>2</string>
</Note>
</Chord>
<Chord>
<lid>22</lid>
<durationType>quarter</durationType>
<Note>
<lid>23</lid>
<pitch>55</pitch>
<tpc>15</tpc>
<fret>5</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>24</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="2">
<Measure number="1">
<Clef>
<concertClefType>TAB</concertClefType>
<transposingClefType>TAB</transposingClefType>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>50</pitch>
<tpc>16</tpc>
<fret>0</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>12</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>13</lid>
<durationType>quarter</durationType>
</Rest>
<Rest>
<lid>14</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>double</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="2">
<KeySig>
<lid>16</lid>
<accidental>0</accidental>
</KeySig>
<Chord>
<lid>18</lid>
<durationType>quarter</durationType>
<Note>
<lid>19</lid>
<pitch>62</pitch>
<tpc>16</tpc>
<fret>12</fret>
<string>3</string>
</Note>
</Chord>
<Chord>
<lid>20</lid>
<durationType>quarter</durationType>
<Note>
<lid>21</lid>
<pitch>63</pitch>
<tpc>11</tpc>
<fret>8</fret>
<string>2</string>
</Note>
</Chord>
<Chord>
<lid>22</lid>
<durationType>quarter</durationType>
<Note>
<lid>23</lid>
<pitch>55</pitch>
<tpc>15</tpc>
<fret>5</fret>
<string>3</string>
</Note>
</Chord>
<Rest>
<lid>24</lid>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<name>E-Gt</name>
</Score>
</Score>
</museScore>

Binary file not shown.

View file

@ -0,0 +1,462 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="1.24">
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<page-layout>
<page-height>1683.78</page-height>
<page-width>1190.55</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.76389</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</showMargins>
<metaTag name="arranger"></metaTag>
<metaTag name="composer"></metaTag>
<metaTag name="copyright"></metaTag>
<metaTag name="lyricist"></metaTag>
<metaTag name="movementNumber"></metaTag>
<metaTag name="movementTitle"></metaTag>
<metaTag name="poet"></metaTag>
<metaTag name="source"></metaTag>
<metaTag name="translator"></metaTag>
<metaTag name="workNumber"></metaTag>
<metaTag name="workTitle"></metaTag>
<PageList>
<Page>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<StaffType group="pitched">
</StaffType>
</Staff>
<trackName>E-Gt</trackName>
<Instrument>
<longName pos="0">Electric Guitar</longName>
<shortName pos="0">El. Guit.</shortName>
<trackName>Electric Guitar</trackName>
<minPitchP>40</minPitchP>
<maxPitchP>86</maxPitchP>
<minPitchA>40</minPitchA>
<maxPitchA>86</maxPitchA>
<StringData>
<frets>21</frets>
<string>40</string>
<string>45</string>
<string>50</string>
<string>55</string>
<string>59</string>
<string>64</string>
</StringData>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>50</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="27"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<VBox>
<height>10</height>
<lid>0</lid>
</VBox>
<Measure number="1">
<Clef>
<concertClefType>G8vb</concertClefType>
<transposingClefType>G8vb</transposingClefType>
<lid>1</lid>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<TimeSig>
<lid>3</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Dynamic>
<subtype>mf</subtype>
<velocity>80</velocity>
<lid>4</lid>
</Dynamic>
<Tempo>
<tempo>2</tempo>
<lid>5</lid>
<text><sym>noteQuarterUp</sym> = 120</text>
</Tempo>
<Chord>
<lid>6</lid>
<durationType>quarter</durationType>
<Note>
<lid>7</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>8</lid>
<durationType>quarter</durationType>
<Note>
<lid>9</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>12</lid>
<durationType>quarter</durationType>
<Note>
<lid>13</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
</Measure>
<Measure number="2">
<KeySig>
<lid>15</lid>
<accidental>0</accidental>
</KeySig>
<RepeatMeasure>
<lid>16</lid>
<duration z="4" n="4"/>
</RepeatMeasure>
<tick>3840</tick>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<createMultiMeasureRests>1</createMultiMeasureRests>
<page-layout>
<page-height>1683.78</page-height>
<page-width>1190.55</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>113.386</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.76389</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</showMargins>
<PageList>
<Page>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<linkedTo>1</linkedTo>
<StaffType group="pitched">
</StaffType>
<bracket type="0" span="2"/>
</Staff>
<Staff id="2">
<linkedTo>1</linkedTo>
<StaffType group="tablature">
<name>Tab. 6-str common</name>
<lines>6</lines>
<lineDistance>1.5</lineDistance>
<timesig>0</timesig>
<durations>0</durations>
<durationFontName>MuseScore Tab Modern</durationFontName>
<durationFontSize>15</durationFontSize>
<durationFontY>0</durationFontY>
<fretFontName>MuseScore Tab Serif</fretFontName>
<fretFontSize>9</fretFontSize>
<fretFontY>0</fretFontY>
<linesThrough>0</linesThrough>
<minimStyle>1</minimStyle>
<onLines>1</onLines>
<showRests>0</showRests>
<stemsDown>1</stemsDown>
<stemsThrough>0</stemsThrough>
<upsideDown>0</upsideDown>
<useNumbers>1</useNumbers>
</StaffType>
<bracket type="-1" span="0"/>
</Staff>
<trackName></trackName>
<Instrument>
<longName pos="0">Electric Guitar</longName>
<shortName pos="0">El. Guit.</shortName>
<trackName>Electric Guitar</trackName>
<minPitchP>40</minPitchP>
<maxPitchP>86</maxPitchP>
<minPitchA>40</minPitchA>
<maxPitchA>86</maxPitchA>
<StringData>
<frets>21</frets>
<string>40</string>
<string>45</string>
<string>50</string>
<string>55</string>
<string>59</string>
<string>64</string>
</StringData>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>50</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="27"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<VBox>
<height>10</height>
<lid>0</lid>
<Text>
<style>Instrument Name (Part)</style>
<text>Electric Guitar</text>
</Text>
</VBox>
<Measure number="1">
<Clef>
<concertClefType>G8vb</concertClefType>
<transposingClefType>G8vb</transposingClefType>
<lid>1</lid>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<TimeSig>
<lid>3</lid>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Dynamic>
<subtype>mf</subtype>
<velocity>80</velocity>
<lid>4</lid>
</Dynamic>
<Tempo>
<tempo>2</tempo>
<lid>5</lid>
<text><sym>noteQuarterUp</sym> = 120</text>
</Tempo>
<Chord>
<lid>6</lid>
<durationType>quarter</durationType>
<Note>
<lid>7</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>8</lid>
<durationType>quarter</durationType>
<Note>
<lid>9</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>12</lid>
<durationType>quarter</durationType>
<Note>
<lid>13</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
</Measure>
<Measure number="2">
<KeySig>
<lid>15</lid>
<accidental>0</accidental>
</KeySig>
<RepeatMeasure>
<lid>16</lid>
<duration z="4" n="4"/>
</RepeatMeasure>
<tick>3840</tick>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<Staff id="2">
<Measure number="1">
<Clef>
<concertClefType>TAB</concertClefType>
<transposingClefType>TAB</transposingClefType>
</Clef>
<KeySig>
<lid>2</lid>
<accidental>0</accidental>
</KeySig>
<Chord>
<lid>6</lid>
<durationType>quarter</durationType>
<Note>
<lid>7</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>8</lid>
<durationType>quarter</durationType>
<Note>
<lid>9</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>10</lid>
<durationType>quarter</durationType>
<Note>
<lid>11</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
<Chord>
<lid>12</lid>
<durationType>quarter</durationType>
<Note>
<lid>13</lid>
<pitch>65</pitch>
<tpc>13</tpc>
<fret>1</fret>
<string>0</string>
</Note>
</Chord>
</Measure>
<Measure number="2">
<KeySig>
<lid>15</lid>
<accidental>0</accidental>
</KeySig>
<RepeatMeasure>
<lid>16</lid>
<duration z="4" n="4"/>
</RepeatMeasure>
<tick>3840</tick>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
<name>E-Gt</name>
</Score>
</Score>
</museScore>

View file

@ -131,7 +131,9 @@ private slots:
void gpxVibrato() { gpReadTest("vibrato", "gpx"); }
void gpxVolumeSwell() { gpReadTest("volume-swell", "gpx"); }
void gpxTremoloBar() { gpReadTest("tremolo-bar", "gpx"); }
void gpxCopyright() { gpReadTest("copyright", "gpx"); }
void gpxCopyright() { gpReadTest("copyright", "gpx"); }
void gpxFreeTime() { gpReadTest("free-time", "gpx"); }
void gpxRepeatBar() { gpReadTest("repeated-bars", "gpx"); }
};
//---------------------------------------------------------

View file

@ -102,3 +102,5 @@ cp $MSCORE/slur.gpx.mscx slur.gpx-ref.mscx
cp $MSCORE/vibrato.gpx.mscx vibrato.gpx-ref.mscx
cp $MSCORE/volume-swell.gpx.mscx volume-swell.gpx-ref.mscx
cp $MSCORE/tremolo-bar.gpx.mscx tremolo-bar.gpx-ref.mscx
cp $MSCORE/free-time.gpx.mscx free-time.gpx-ref.mscx
cp $MSCORE/repeated-bars.gpx.mscx repeated-bars.gpx-ref.mscx