Difference between revisions of "Replaced graphics"

From MMS Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
<p>To create such an exercise: <br>1) Create a normal exercise with exactly the same line breaks as in the graphics which you plan to use as the replacement <br>
 
<p>To create such an exercise: <br>1) Create a normal exercise with exactly the same line breaks as in the graphics which you plan to use as the replacement <br>
 
2) Convert the new graphics to svg (you'll need a good quality source file). In Linux, use the pdf_to_svg.sh script that Margus wrote. <br>
 
2) Convert the new graphics to svg (you'll need a good quality source file). In Linux, use the pdf_to_svg.sh script that Margus wrote. <br>
3) Use the <a href=https://www.dropbox.com/s/pqs9f0vvtk4b01i/svgcropper.zip?dl=0>MMS svg cropper</a> to cut the new svg into slices<br>
+
3) Use the [https://www.dropbox.com/s/pqs9f0vvtk4b01i/svgcropper.zip?dl=0]MMS svg cropper to cut the new svg into slices<br>
 
4) Open the exercise and replace the word 'exercise' with 'replace_images' in the URL<br>
 
4) Open the exercise and replace the word 'exercise' with 'replace_images' in the URL<br>
 
5) Load replacements line by line and map the noteheads by clicking on the svg file. Note! You'll have to make the first click somewhere far left on the score.
 
5) Load replacements line by line and map the noteheads by clicking on the svg file. Note! You'll have to make the first click somewhere far left on the score.
  
 
</p>
 
</p>

Latest revision as of 03:36, 30 October 2018

Normally, MMS uses the MuseScore graphics to display musical notation. However, for specific graphics like some children method books, we have developed a method to replace the MuseScore graphics with another svg file. The coordinates of the notes are then marked manually. Examples are found in the collection 395 (Alfred's Premier Piano Course Lesson 1A).

To create such an exercise:
1) Create a normal exercise with exactly the same line breaks as in the graphics which you plan to use as the replacement
2) Convert the new graphics to svg (you'll need a good quality source file). In Linux, use the pdf_to_svg.sh script that Margus wrote.
3) Use the [1]MMS svg cropper to cut the new svg into slices
4) Open the exercise and replace the word 'exercise' with 'replace_images' in the URL
5) Load replacements line by line and map the noteheads by clicking on the svg file. Note! You'll have to make the first click somewhere far left on the score.