Skip to content

Commit

Permalink
v2.0.3 added sample encodings
Browse files Browse the repository at this point in the history
New sample encodings have been added.
  • Loading branch information
axelberndt authored Jun 3, 2020
2 parents 82be8e4 + a81aeb0 commit 9f3c232
Show file tree
Hide file tree
Showing 20 changed files with 1,904 additions and 2 deletions.
60 changes: 60 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
language: generic

branches:
only:
- master

before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libxml2-utils

script:
# Merge single ODD files to one monolithic ODD
- xmllint --xinclude src/mpm.odd > mpm-monolithic.odd

# Get RNG file
- curl -s -o mpm_rng.zip -F upload=@mpm-monolithic.odd https://oxgarage-humanum.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/ODDC%3Atext%3Axml/relaxng%3Aapplication%3Axml-relaxng/conversion
- unzip -p mpm_rng.zip document.rng >mpm.rng

# Get DTD file
#- curl -s -o mpm_dtd.zip -F upload=@mpm-monolithic.odd https://oxgarage-humanum.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/ODDC%3Atext%3Axml/dtd%3Aapplication%3Axml-dtd/conversion
#- unzip -p mpm_dtd.zip document.dtd >mpm.dtd

# Get XSD file
- curl -s -o mpm_xsd.zip -F upload=@mpm-monolithic.odd https://oxgarage-humanum.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/ODDC%3Atext%3Axml/xsd%3Aapplication%3Axml-xsd/conversion
- unzip -p mpm_xsd.zip document.xsd >mpm.xsd

# Build docs for GitHub Pages
- mkdir -p docs
- curl -s -o docs.zip -F upload=@mpm-monolithic.odd https://oxgarage-humanum.tei-c.org/ege-webservice/Conversions/ODD%3Atext%3Axml/ODDC%3Atext%3Axml/TEI%3Atext%3Axml/xhtml%3Aapplication%3Axhtml%2Bxml/conversion
- unzip docs.zip -d docs
- mv docs/document.html docs/index.html
- sed -i -e 's/href="http:/href="https:/g' docs/index.html

# Set git tag for release
- export VERSION=`xmllint --xpath 'string(//*[local-name()="edition"]/@n)' src/mpm.odd`
- export DATE=`date +'%Y-%m-%d_%H-%M-%S'`
- git tag "v${VERSION}_${DATE}"

deploy:
- provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
on:
branch: master
name: "MPM v$VERSION"
file:
- "mpm.rng"
- "mpm.dtd"
- "mpm.xsd"
- "mpm-monolithic.odd"
- "docs.zip"

- provider: pages
github_token: $GITHUB_TOKEN
skip_cleanup: true
on:
branch: master
keep_history: true
target_branch: gh-pages
local_dir: docs
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://github.com/axelberndt/MPM/releases/latest/download/mpm.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://github.com/axelberndt/MPM/releases/latest/download/mpm.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mpm xmlns="http://www.cemfi.de/mpm/ns/1.0">
<metadata>
<author>Pablo Carra</author>
<comment>Little demo of the mpm format using the Minuet No 2 by Johann Sebastian Bach from the first Cello Suite (BWV 1007). Heinrich Schiff's performance was used as inspiration, but this is in no way an attempt at reconstruction.</comment>
<comment>This MPM describes a performance of the Minuet No 2 by Johann Sebastian Bach from the first Cello Suite (BWV 1007). Heinrich Schiff's performance was used as inspiration, but this is in no way an attempt at reconstruction.</comment>
</metadata>
<relatedResources>
<resource uri="BWV 1007 Minuet No 2.mid" type="midi"/>
<resource uri="BWV 1007 Minuet No 2.msm" type="msm"/>
<resource uri="BWV 1007 Minuet No 2.pdf" type="pdf"/>
</relatedResources>
<performance name="like Heinrich Schiff" pulsesPerQuarter="480">
<global>
Expand Down
Binary file not shown.
564 changes: 564 additions & 0 deletions sample encodings/Melchior Vulpius - Die helle Sonn/Die helle Sonn.mpm

Large diffs are not rendered by default.

198 changes: 198 additions & 0 deletions sample encodings/Melchior Vulpius - Die helle Sonn/Die helle Sonn.msm

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/mpm.odd
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
<tei:p>An articulation shapes a tone. While the note symbol gives only rough information about how the corresponding tone should be played (pitch and rhythmical indication) articulations provide information about how the tone is shaped in terms of duration, dynamics, timing, and tuning. In contrast to all other performance features in MPM articulations are discrete, i.e. an articulation instruction does not span over a certain time frame. It takes effect only at the symbolic time position where it is positioned in the <tei:gi>articulationMap</tei:gi> and only on those notes that are placed at this same date. An articulation that does not coincide with a note has no effect.</tei:p>

<tei:div type="chapter">
<tei:head>Note Associtation</tei:head>
<tei:head>Note Association</tei:head>

<tei:p>The <tei:gi>articulationMap</tei:gi>, just as all maps in MPM, is child of the <tei:gi>dated</tei:gi> environment. Let us start with the following incomplete code snippet.</tei:p>

Expand Down

0 comments on commit 9f3c232

Please sign in to comment.