MuseScore/mtest/capella/io/test7.cap-ref.mscx
ws 1edd676aa7 fix #277699 Staff properties corrupted on MusicXML import after Master Palette opened
The problem is deep in the initialization of staff types in Staff.
This commit also tries to make handling of StaffType more "const correct" and adds some
assertions which may lead to crashes (and helps detecting bad code).
2018-11-08 15:50:00 +01:00

878 lines
22 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<museScore version="3.01">
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<minSystemDistance>8</minSystemDistance>
<maxSystemDistance>12</maxSystemDistance>
<measureSpacing>1</measureSpacing>
<smallStaffMag>0.666667</smallStaffMag>
<Spatium>1.8</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="originalFormat">cap</metaTag>
<metaTag name="poet"></metaTag>
<metaTag name="source"></metaTag>
<metaTag name="translator"></metaTag>
<metaTag name="workNumber"></metaTag>
<metaTag name="workTitle"></metaTag>
<Part>
<Staff id="1">
<StaffType group="pitched">
<name>stdNormal</name>
</StaffType>
<barLineSpan>1</barLineSpan>
</Staff>
<trackName>unnamed1</trackName>
<Instrument>
<trackName></trackName>
<Channel>
<program value="1"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<VBox>
<height>4</height>
</VBox>
<Measure>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>3</accidental>
</KeySig>
<TimeSig>
<sigN>4</sigN>
<sigD>4</sigD>
</TimeSig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>62</pitch>
<tpc>16</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>64</pitch>
<tpc>18</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>20</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-7</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>22</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>69</pitch>
<tpc>17</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>71</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>73</pitch>
<tpc>21</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<KeySig>
<accidental>4</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>23</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>64</pitch>
<tpc>18</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>20</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>22</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>69</pitch>
<tpc>17</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>71</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>5</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>23</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>64</pitch>
<tpc>18</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>20</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>22</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>24</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>71</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<KeySig>
<accidental>6</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>23</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>25</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>20</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>22</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>24</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>71</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>7</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>23</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>25</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>20</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>22</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>24</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>72</pitch>
<tpc>26</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>21</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<KeySig>
<accidental>-2</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>62</pitch>
<tpc>16</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>69</pitch>
<tpc>17</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>-3</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>62</pitch>
<tpc>16</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>10</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<KeySig>
<accidental>-4</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>9</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>67</pitch>
<tpc>15</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>10</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>-5</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>9</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>8</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>10</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>60</pitch>
<tpc>14</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<KeySig>
<accidental>-6</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>59</pitch>
<tpc>7</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>9</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>65</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>8</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>10</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>59</pitch>
<tpc>7</tpc>
</Note>
</Chord>
</voice>
</Measure>
<Measure>
<LayoutBreak>
<subtype>line</subtype>
</LayoutBreak>
<voice>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>-7</accidental>
</KeySig>
<Beam>
<l1>8</l1>
<l2>3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>59</pitch>
<tpc>7</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>61</pitch>
<tpc>9</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>63</pitch>
<tpc>11</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>64</pitch>
<tpc>6</tpc>
</Note>
</Chord>
<Beam>
<l1>-3</l1>
<l2>-3</l2>
</Beam>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>66</pitch>
<tpc>8</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>68</pitch>
<tpc>10</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>70</pitch>
<tpc>12</tpc>
</Note>
</Chord>
<Chord>
<durationType>eighth</durationType>
<Note>
<pitch>59</pitch>
<tpc>7</tpc>
</Note>
</Chord>
</voice>
</Measure>
</Staff>
</Score>
</museScore>