Skip to content

How to use mei.midi.chan #4021

Closed Answered by craigsapp
andre2007 asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a demo testing with MEI Friend (https://mei-friend.mdw.ac.at) which is producing the desired results.

Summary:

<staffDef>
   <instrDef midi.channel="0" midi.instrnum="68" midi.instrname="Oboe" />
</staffDef>

Only one of @midi.instrnum or @midi.instrname should be needed.

Full example:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/5.1/mei-all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/5.1/mei-all.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" meiversion="5.1">
 <me…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by andre2007
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants