Old 11-25-2017, 07:45 AM   #1
Masi
Human being with feelings
 
Join Date: Sep 2015
Posts: 667
Default Support of compressed MusicXML files .mxl

Yes I know I can use a zip tool to extract the embedded .xml file *, but of course it is more convenient if Reaper would just open the .mxl file.

Masi

* a compressed MusicXML file is just a zip archive which contains a plain MusicXML file.
Masi is offline   Reply With Quote
Old 12-03-2017, 02:25 PM   #2
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,561
Default

I see, to make file size smaller, as xml has lots of weight for all those tags.
TonE is offline   Reply With Quote
Old 12-04-2017, 03:40 AM   #3
Masi
Human being with feelings
 
Join Date: Sep 2015
Posts: 667
Default

Quote:
Originally Posted by TonE View Post
I see, to make file size smaller, as xml has lots of weight for all those tags.
Correct. Many of todays file formats are compressed XML-files, eg MS office documents. XML compresses very well as repeatedly use tags are optimized to take only a few bit.

Masi
Masi is offline   Reply With Quote
Old 01-31-2018, 07:36 AM   #4
shady
Human being with feelings
 
Join Date: Jun 2017
Posts: 110
Default

wait, how do you extract the xml?
shady is offline   Reply With Quote
Old 02-02-2018, 12:49 PM   #5
Masi
Human being with feelings
 
Join Date: Sep 2015
Posts: 667
Default

Quote:
Originally Posted by shady View Post
wait, how do you extract the xml?
Simply open it with a an archive programe (eg 7-zip, etc). Or change the file extension from .mxl to .zip. Then Windows will open it without any troubles.

Inside the archive you'll find a folder named META-INF and an arbitrariliy .xml file. That is the one you need.

Note to Cockos: the format is simply a JAR-file (see http://www.musicxml.com/tutorial/com...d-file-format/).

Masi
Masi is offline   Reply With Quote
Old 02-03-2018, 10:01 AM   #6
shady
Human being with feelings
 
Join Date: Jun 2017
Posts: 110
Default

Cheers, seems so simple now that you lay it out
shady is offline   Reply With Quote
Old 09-16-2018, 10:03 AM   #7
freixas
Human being with feelings
 
Join Date: Jun 2015
Posts: 30
Default

Just tried loaded my first MusicXML file and the first problem I ran into is the lack of support for MXL files.

I don't know what language REAPER is written in; most coding languages today have built-in support for reading compressed files. In many cases, the change is as simple as adding a modifier when opening the file and adding the MXL suffix to the list accepted by the Insert Media File command.

The OP's suggestion was made almost a year ago. Maybe REAPER's programming language has no support for ZIP files. That would be the only reasonable excuse for not adding MXL support. OK, actually there are other possible reasons, such as not being really interested in supporting MusicXML except as a check-mark on the features list.
freixas 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 02:18 PM.


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