W3C home > Mailing lists > Public > public-music-notation@w3.org > February 2017

Re: Music file format conversion possible?

From: Rafael López García <phy.development@gmail.com>
Date: Tue, 7 Feb 2017 02:10:38 +0900
Cc: Luposian <luposian@cox.net>, public-music-notation@w3.org
Message-ID: <c81844d5-77d4-db0b-3959-5a1171fe6ac9@gmail.com>
Sure XML is the approach

If you decide to use Java instead of Python

I know a Java library to represent MIDI data:
https://github.com/LeffelMania/android-midi-lib/

I have also developed a Java library to write MusicXML v2.0. I wanted to
make this library free and opensource soon, but I am very perfectionist
and I never find the time to correct the Javadoc.

I know both things work quite well because I used them in the
development of KunkunshiEditor
(https://play.google.com/store/apps/details?id=rlopezga.music.kunkunshieditor)
which also can export my propietary XML format into MIDI and MusicXML

Rafael López García
Tanaka & Tajima Laboratory <http://www.dl.kuis.kyoto-u.ac.jp/wordpress/en/>
Department of Social Informatics <http://www.soc.i.kyoto-u.ac.jp/en/>
Graduate School of Informatics <http://www.i.kyoto-u.ac.jp/en/>
Kyoto University <http://www.kyoto-u.ac.jp/en>
Yoshida Honmachi, Sakyo-ku, Kyoto 606-8501, Japan
Tel.: +81-(0)75-753-4957
Fax.: +81-(0)75-753-5979
http://www.dl.kuis.kyoto-u.ac.jp/~rafael.lopez/
<http://www.dl.kuis.kyoto-u.ac.jp/%7Erafael.lopez/>
El 07/02/17 a las 02:03, Andrew Hankinson escribió:
> Agreed. MusicXML would be overkill for this.
>
> -Andrew
>
>> On Feb 6, 2017, at 4:59 PM, L Peter Deutsch <aemusic@major2nd.com> wrote:
>>
>>> I’ve enclosed the native music format file (.gme extension) of one of my songs for comparison with a standard MusicXML format file.
>> I've looked at the file, and it's obvious that this format is just an XML
>> representation of MIDI data.  I strongly suggest converting your songs to
>> MIDI and then importing the MIDI to a score editor of your choice.
>>
>> Any good computer science undergrad :-) should be able to write the format
>> converter.  I'd guess it would only require a couple of hundred lines of
>> Python, since Python comes with a library for parsing XML and there's also
>> probably a Python library out there for representing MIDI data.
>>
>> 						L Peter Deutsch
>>
>>
>
Received on Monday, 6 February 2017 17:11:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 6 February 2017 17:11:15 UTC