Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 04-28-2018, 09:23 AM   #1
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default MusicXML export is broken (proof) (FIXED)

I've tried exporting a simple MIDI item from Reaper to XML using part or time. Both have data in the files but import as blank pages in MuseScore, Finale, and Sibelius. Why is this?

Is this v2 or v3? How are people able to use export MusicXML from Reaper, I can't find any usable setting that actually allows practical use in other programs. Is there a workaround? Is this feature working as intended? Not on Windows at least.

Creating a MusicXML file from within Musescore, Finale, and Sibelius all function correctly outside their programs. Reaper creating the XML is indeed the problem.

What is it in the file that is causing the broken blank pages?
__________________
47.8% of statistics are made up.

Last edited by lowellben; 04-28-2018 at 09:39 AM.
lowellben is offline   Reply With Quote
Old 04-28-2018, 09:36 AM   #2
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

In case you have doubts, I can assure you. It's broken outside of Reaper. I have a snapshot for you. Can someone please help me? I need XML export to work outside of Reaper as I'm sure many do too.
This happens with a simple cmajor scale quarter note MIDI item export from Reaper. Time or score.




__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 04-28-2018, 06:19 PM   #3
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

70 views and nobody has a clue why MusicXML is borked?
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 04-28-2018, 11:07 PM   #4
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Argentina
Posts: 1,329
Default

Hi!

I´m not being able to reproduce the problem here with v5.80. Would you mind sharing a test project to see if we can discern the causes?
Soli Deo Gloria is offline   Reply With Quote
Old 04-29-2018, 04:27 AM   #5
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

DTD did not contain element declaration for document type name.


A "timewise" file is referencing the "partwise" DTD.


I think.
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-29-2018, 04:44 AM   #6
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

Quote:
Originally Posted by jrk View Post
DTD did not contain element declaration for document type name.


A "timewise" file is referencing the "partwise" DTD.


I think.
I don't understand. I have tried combinations of both types of export. The errors messages do not change at all.
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 04-29-2018, 05:55 AM   #7
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

OK.

Post a couple of minimal examples. Perhaps just an empty bar.

Save one as timewise, and one partwise. (name them accordingly).
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-29-2018, 10:45 AM   #8
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

... and, possibly, the MusicXML DTD is broken.
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-30-2018, 12:35 AM   #9
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

Ah, what about the "MusicXML Preferences" in Finale?
(File > Import > MusicXML Preferences )
Is it set to "validate against DTD"?
Maybe change this to "validate against XSD"

Does this make any difference?
__________________
it's meant to sound like that...

Last edited by jrk; 04-30-2018 at 12:54 AM.
jrk is offline   Reply With Quote
Old 04-30-2018, 03:31 AM   #10
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

OK, so in the absence of further input from the OP, I did a bit of testing myself.

If Finale is configured to "validate against DTD"
AND
you attempt to import (into Finale) a file exported from reaper as "timewise"

then these errors will occur.


It appears to me that this is because Reaper exports "timewise" with the wrong DOCTYPE:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-timewise version="3.0">
  <identification>
    <encoding>
      <software>REAPER 5.79/x64</software>
      <encoding-date>2018-03-30</encoding-date>
    </encoding>
i.e. the document root is score-timewise
but the DTD doesn't define this - the DTD root is score-partwise

This appears to be a Reaper bug, and should be reported in the appropriate place.

Workaround: configure Finale to "validate against XSD"
(I believe this is the default? Perhaps the OP changed this inadvertently.)
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-30-2018, 03:41 AM   #11
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

Sorry. Was out of town. I will check the validate setting, but keep in mind please that I tried Finale, Sibelius, and MuseScore and all programs showed the error. So maybe Reaper's default XML output configuration needs to be looked at? Seems not so universal? Thanks for your help with this. I am not experienced with bugs reportings.

Quote:
Originally Posted by jrk View Post
OK, so in the absence of further input from the OP, I did a bit of testing myself.

If Finale is configured to "validate against DTD"
AND
you attempt to import (into Finale) a file exported from reaper as "timewise"

then these errors will occur.


It appears to me that this is because Reaper exports "timewise" with the wrong DOCTYPE:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-timewise version="3.0">
  <identification>
    <encoding>
      <software>REAPER 5.79/x64</software>
      <encoding-date>2018-03-30</encoding-date>
    </encoding>
i.e. the document root is score-timewise
but the DTD doesn't define this - the DTD root is score-partwise

This appears to be a Reaper bug, and should be reported in the appropriate place.

Workaround: configure Finale to "validate against XSD"
(I believe this is the default? Perhaps the OP changed this inadvertently.)
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 04-30-2018, 03:52 AM   #12
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

I believe that partwise is the standard musicxml format, and timewise is not consistently supported by many programs. As such, timewise export is not tested much on our side. It does look like REAPER is not setting the doctype correctly. We'll fix that, but partwise is the default, not timewise, right?
schwa is offline   Reply With Quote
Old 04-30-2018, 04:02 AM   #13
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

Quote:
Originally Posted by schwa View Post
I believe that partwise is the standard musicxml format, and timewise is not consistently supported by many programs. As such, timewise export is not tested much on our side. It does look like REAPER is not setting the doctype correctly. We'll fix that, but partwise is the default, not timewise, right?
I've only used score-partwise in my experience, I would assume that's the default across programs if that's what you mean. But in my tests I tried both just to narrow down what the issue was as best I could.
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Old 04-30-2018, 04:08 AM   #14
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

Quote:
Originally Posted by schwa View Post
I believe that partwise is the standard musicxml format, and timewise is not consistently supported by many programs. As such, timewise export is not tested much on our side. It does look like REAPER is not setting the doctype correctly. We'll fix that, but partwise is the default, not timewise, right?
Both need to be supported to be conformant I should think. And given both are offered, the appropriate DTD should be referenced. Unless you opt to do away with the DOCTYPE and just reference the schema. It's been many years since I was up to speed on xml, so I'm afraid I'm no help there.

Thanks for your prompt response. I'm sure the OP will be grateful. I just posted in the bugs forum as well. Sorry. :-)
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-30-2018, 04:11 AM   #15
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,978
Default

Quote:
Originally Posted by lowellben View Post
I've only used score-partwise in my experience, I would assume that's the default across programs if that's what you mean. But in my tests I tried both just to narrow down what the issue was as best I could.

If you can show something unexpected happening for "partwise", post an example here. Quickly! Before my trial of Finale expires :-)
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 04-30-2018, 04:21 AM   #16
lowellben
Human being with feelings
 
lowellben's Avatar
 
Join Date: Aug 2010
Location: They put me in a home.
Posts: 3,433
Default

Quote:
Originally Posted by jrk View Post
If you can show something unexpected happening for "partwise", post an example here. Quickly! Before my trial of Finale expires :-)
I was just going to type a reply to remind that this error is occurring in part and time, in the applications I already mentioned. So the only common thread I found was the ole' Reaper Let me try something. Will report back.
__________________
47.8% of statistics are made up.
lowellben is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.