fixed vtest on Windows

Use msvc.install by default.
To use it with mingw, you need to run "gen.bat win32install"
Replace mistaken .mscz with .mscx
This commit is contained in:
anatoly-os 2018-08-18 13:08:23 +02:00
parent 652a5b3dc2
commit c27d0e62d5
4 changed files with 228 additions and 2 deletions

View file

@ -20,4 +20,8 @@ Add a new test
mscore xxx.mscx -o -r 130 xxx-ref.png
- add the file to `gen` and `gen.bat`
How to use on Windows
---
- Install *Image Magick*, add it to PATH
- Run `gen.bat`. It will use msvc.install as a default folder to search MuseScore.exe. If you use mingw build, specify the path to install folder manually:
`gen.bat win32install`

207
vtest/chord-layout-17.mscx Normal file
View file

@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="3.00">
<programVersion>3.0.0</programVersion>
<programRevision>3543170</programRevision>
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Synthesizer>
</Synthesizer>
<Division>480</Division>
<Style>
<pageWidth>3.93701</pageWidth>
<pageHeight>1.96851</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>
<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>
<dynamicsFontItalic>0</dynamicsFontItalic>
<Spatium>1.764</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="creationDate">2013-09-17</metaTag>
<metaTag name="lyricist"></metaTag>
<metaTag name="movementNumber"></metaTag>
<metaTag name="movementTitle"></metaTag>
<metaTag name="platform">X11</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>
</Staff>
<Staff id="2">
<StaffType group="pitched">
<name>stdNormal</name>
</StaffType>
<defaultClef>F</defaultClef>
</Staff>
<trackName>Piano</trackName>
<Instrument>
<shortName>Pno.</shortName>
<trackName>Piano</trackName>
<minPitchP>21</minPitchP>
<maxPitchP>108</maxPitchP>
<minPitchA>21</minPitchA>
<maxPitchA>108</maxPitchA>
<Articulation>
<velocity>100</velocity>
<gateTime>70</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>40</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="0"/>
<synti>Fluid</synti>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<Measure number="1" len="8/4">
<TimeSig>
<sigN>4</sigN>
<sigD>4</sigD>
</TimeSig>
<Chord>
<dots>1</dots>
<durationType>whole</durationType>
<Note>
<pitch>79</pitch>
<tpc>15</tpc>
</Note>
</Chord>
<Rest>
<durationType>half</durationType>
</Rest>
<move>0/1</move>
<Chord>
<track>1</track>
<dots>2</dots>
<durationType>whole</durationType>
<Note>
<track>1</track>
<pitch>62</pitch>
<tpc>16</tpc>
</Note>
</Chord>
<Rest>
<track>1</track>
<durationType>quarter</durationType>
</Rest>
</Measure>
<Measure number="2" len="8/4">
<Chord>
<dots>1</dots>
<durationType>whole</durationType>
<Note>
<pitch>62</pitch>
<tpc>16</tpc>
</Note>
</Chord>
<Rest>
<durationType>half</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
</BarLine>
</Measure>
</Staff>
<Staff id="2">
<Measure number="1" len="8/4">
<TimeSig>
<sigN>4</sigN>
<sigD>4</sigD>
</TimeSig>
<Chord>
<dots>1</dots>
<durationType>quarter</durationType>
<Note>
<pitch>59</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Rest>
<durationType>eighth</durationType>
</Rest>
<Chord>
<dots>1</dots>
<durationType>quarter</durationType>
<Note>
<pitch>41</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Rest>
<durationType>eighth</durationType>
</Rest>
<Rest>
<durationType>whole</durationType>
</Rest>
</Measure>
<Measure number="2" len="8/4">
<Chord>
<dots>2</dots>
<durationType>whole</durationType>
<Note>
<pitch>59</pitch>
<tpc>19</tpc>
</Note>
</Chord>
<Rest>
<durationType>quarter</durationType>
</Rest>
<BarLine>
<subtype>end</subtype>
</BarLine>
<move>0/1</move>
<Chord>
<track>5</track>
<dots>2</dots>
<durationType>whole</durationType>
<Note>
<track>5</track>
<pitch>41</pitch>
<tpc>13</tpc>
</Note>
</Chord>
<Rest>
<track>5</track>
<durationType>quarter</durationType>
</Rest>
</Measure>
</Staff>
</Score>
</museScore>

Binary file not shown.

View file

@ -38,7 +38,20 @@ set SRC=mmrest-1,bravura-mmrest,gonville-mmrest,mmrest-2,mmrest-4,mmrest-5,mmres
slashed_chord-layout-12, slashed_chord-layout-7, slashed_grace-3, slashed_noteheadposition-1, ^
drumset-custom-1, read-206-custom-drumset-1
set MSCORE=..\win32install\bin\musescore.exe
IF NOT "%1"=="" (
SET INSTALL_PATH=%1
) ELSE (
SET INSTALL_PATH=msvc.install
)
set MSCORE=..\%INSTALL_PATH%\bin\musescore.exe
IF NOT EXIST ..\%INSTALL_PATH%\nul (
echo "Current folder: ..\%INSTALL_PATH%"
echo "MuseScore install folder not found"
goto :ERROR
)
set DPI=130
set F=vtest.html
@ -91,3 +104,5 @@ echo ^</html^> >> %F%
%F%
cd ..
@echo on
:ERROR