Skip to content

Commit

Permalink
Merge pull request #6 from rettinghaus/develop
Browse files Browse the repository at this point in the history
Update test files
  • Loading branch information
lpugin authored Nov 18, 2024
2 parents 1cc1ca9 + b45bf3b commit b8db10e
Show file tree
Hide file tree
Showing 62 changed files with 10,829 additions and 9,320 deletions.
448 changes: 427 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

This repository holds the content of a static website documenting the MEI support in [MuseScore](https://musescore.org).

The website is accessible at https://music-encoding.org/musescore-doc
The website is accessible at <https://music-encoding.org/musescore-doc>.

## Examples

The example images in `./tests` have been generated with [Verovio](https://verovio.org) with the command:
```bash

```shell
verovio --adjust-page-height -o test-file.mei.svg test-file.mei
```

Expand All @@ -20,4 +21,3 @@ The content of the repo is licensed under a

[cc-by-sa]: http://creativecommons.org/licenses/by-sa/4.0/
[cc-by-sa-image]: https://licensebuttons.net/l/by-sa/4.0/88x31.png
[cc-by-sa-shield]: https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg
14 changes: 12 additions & 2 deletions docs/features/other-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parent: "Features"
### Ottava lines

Relevant tests:
{% include test file="octava-01" %}
{% include test file="octave-01" %}

### Hairpins

Expand Down Expand Up @@ -57,4 +57,14 @@ Relevant tests:
### Bow tremolo

Relevant tests:
{% include test file="btrem-01" %}
{% include test file="btrem-01" %}

### Measure Repeat

Relevant tests:
{% include test file="measure-repeat-01" %}

### Colors

Relevant tests:
{% include test file="color-01" %}
3 changes: 2 additions & 1 deletion docs/features/slurs-and-ties.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ Relevant tests:
{% include test file="tie-01" %}

Known limitations:
* The is no distinction in the export between dashed and wide-dashed slur and both are exported with `@lform="dashed"`.

* There is no distinction in the export between dashed and wide-dashed slur and both are exported with `@lform="dashed"`.
14 changes: 8 additions & 6 deletions docs/input-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ Additional lower-level feedback might be provided in the logs

## Metadata

The following metadata tags from the score properties are exported to the MEI header:
The following metadata tags from the [Project properties](https://musescore.org/en/handbook/4/project-properties) are exported to the MEI header:

* Work title
* Subtitle
* Arranger
* Composer
* Copyright
Expand All @@ -49,7 +50,8 @@ The following metadata tags from the score properties are exported to the MEI he
<meiHead>
<fileDesc>
<titleStmt>
<title>Work title</title>
<title type="main">Work title</title>
<title type="subordinate">Subtitle</title>
<respStmt>
<persName role="arranger">Arranger is me</persName>
<persName role="composer">Composer is me</persName>
Expand All @@ -67,21 +69,21 @@ The following metadata tags from the score properties are exported to the MEI he
{: .warning }
The tags `Creation date`, `Platform` and `Source` are currently **not preserved** since no appropriate place in MEI-Basic has been found

When importing and MEI file, the values in the MEI header (if found) as set back as score properties. The entire MEI header is also preserved. When exporting again to MEI, the original header is re-exported as such and the score properties are ignored. However, the original MEI header can be deleted from the score properties dialog.
When importing an MEI file, the values in the MEI header (if found) as set back as score properties. The entire MEI header is also preserved. When exporting again to MEI, the original header is re-exported as such and the score properties are ignored. However, the original MEI header can be deleted from the score properties dialog.

## Command-line

The conversion from and to MEI through the MuseScore is possible with standard MuseScore command-line options.
The conversion from and to MEI through MuseScore is possible with standard MuseScore command-line options.

For example, converting a MuseScore file to MEI:

```bash
```shell
mscore file.mscz -o file.mei
```

Converting an MEI file to MuseScore:

```bash
```shell
mscore file.mei -o file.mscz
```

Expand Down
2 changes: 1 addition & 1 deletion docs/structure/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The layout option in the export dialog and the import preferences (see above) tr

When writing, all page and line (system) breaks are encoded into the MEI. The ones manually entered in MuseScore have a `@type="mscore-manual"`.

When reading the MEI, only `pb` and `sb` with `@type="mscore-manual` are set as page and line breaks and all the others are ignored.
When reading the MEI, only `pb` and `sb` with `@type="mscore-manual"` are set as page and line breaks and all the others are ignored.

Relevant tests:
{% include test file="breaks-01" %}
150 changes: 75 additions & 75 deletions tests/accid-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 73 additions & 73 deletions tests/accid-02.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
276 changes: 138 additions & 138 deletions tests/arpeg-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
494 changes: 247 additions & 247 deletions tests/artic-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
242 changes: 121 additions & 121 deletions tests/beam-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 136 additions & 136 deletions tests/beam-02.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
298 changes: 149 additions & 149 deletions tests/beam-03.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
432 changes: 216 additions & 216 deletions tests/breaks-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
282 changes: 141 additions & 141 deletions tests/breath-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
264 changes: 132 additions & 132 deletions tests/btrem-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
296 changes: 148 additions & 148 deletions tests/chord-label-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
913 changes: 649 additions & 264 deletions tests/clef-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
536 changes: 271 additions & 265 deletions tests/color-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
224 changes: 112 additions & 112 deletions tests/cross-staff-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 51 additions & 51 deletions tests/dir-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
150 changes: 75 additions & 75 deletions tests/dynamic-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
667 changes: 325 additions & 342 deletions tests/ending-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
444 changes: 222 additions & 222 deletions tests/fermata-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
172 changes: 86 additions & 86 deletions tests/fig-bass-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
274 changes: 137 additions & 137 deletions tests/gracenote-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
296 changes: 148 additions & 148 deletions tests/gracenote-02.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
397 changes: 198 additions & 199 deletions tests/hairpin-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 60 additions & 60 deletions tests/jump-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
306 changes: 153 additions & 153 deletions tests/jump-02.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
238 changes: 119 additions & 119 deletions tests/key-signature-01.mei.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 41 additions & 41 deletions tests/label-01.mei.svg
Loading

0 comments on commit b8db10e

Please sign in to comment.