473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Transforming Music XML

Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer. Most music notation programs can export to Music XML
these days, but I've had a hard time finding XSL/FO stylesheets or
utilities that can transform it back to engraver quality musical scores
in PDF. Thanks for any help on this, it's my first post here. (Nice
business opportunity here for such a utility, for any enterprising
programmers out there).

The DTD is here at the creators site:

http://www.recordare.com/xml.html

Thanks
Rick

Mar 23 '06 #1
11 5799
Suggestion: Transform it to ABC notation (another texual description of
music). Tools already exist to render ABC into many other
representations, including both "chicken tracks" and MIDI.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Mar 23 '06 #2
.... and if you're really looking for "engraver quality", start with a
tool that specializes in this -- Finale or Sibelius -- and see if they
can import MusicML. (If not, they can definitely import MIDI and may be
able to import ABC, but then you'll probably have to recreate some of
the details you expressed in MusicML.)

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Mar 23 '06 #3

Joseph Kesselman wrote:
Suggestion: Transform it to ABC notation (another texual description of
music). Tools already exist to render ABC into many other
representations, including both "chicken tracks" and MIDI.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden


I need an easy way to intelligently "batch process" render thousands of
submitted MusicXML text files directly to engraver quality print PDF
files. So it's probably not a simple stylesheet transform solution as
the fonts and graphics for standard music notation are, shall we say,
unique.

I'll look into ABC utilities, but I think my main issues are going to
be with the print quality of a robot doing the rendering, and not
text/xml standards.

Thanks

Mar 23 '06 #4

Joseph Kesselman wrote:
... and if you're really looking for "engraver quality", start with a
tool that specializes in this -- Finale or Sibelius -- and see if they
can import MusicML. (If not, they can definitely import MIDI and may be
able to import ABC, but then you'll probably have to recreate some of
the details you expressed in MusicML.)

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden


Thanks Joseph

Oh I'm quite familiar with all those editors I use dozens of them every
day, that's why I came here for a programming solution if someone did
one already.

This has to be an automated process that simply takes in MusicXML files
and outputs PDF files with the best print quality possible by a robot.

Finale, etc. all import MusicXML but I would have to find a way to
automate the process (maybe those programs have some command line
interface).

Mar 23 '06 #5
RickH wrote:
Finale, etc. all import MusicXML but I would have to find a way to
automate the process (maybe those programs have some command line
interface).


They might well have one. Ask them?

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Mar 23 '06 #6
RickH wrote:
I'll look into ABC utilities, but I think my main issues are going to
be with the print quality of a robot doing the rendering, and not
text/xml standards.


Probably, but that isn't an XML question.
--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Mar 23 '06 #7
RickH wrote:
Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer.


There is a stylesheet to convert from MusicXML to LilyPond:

http://www.nongnu.org/xml2ly/

And LilyPond can produce decently engraved scores in batch mode.
Setting it up may be painful, but once you get past it - the quality is
there.

Regards,
Nikolai


Mar 23 '06 #8

Nikolai Grigoriev wrote:
RickH wrote:
Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer.


There is a stylesheet to convert from MusicXML to LilyPond:

http://www.nongnu.org/xml2ly/

And LilyPond can produce decently engraved scores in batch mode.
Setting it up may be painful, but once you get past it - the quality is
there.

Regards,
Nikolai


Thanks Nikolai I'll check it out.

Mar 23 '06 #9

Nikolai Grigoriev wrote:
RickH wrote:
Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer.


There is a stylesheet to convert from MusicXML to LilyPond:

http://www.nongnu.org/xml2ly/

And LilyPond can produce decently engraved scores in batch mode.
Setting it up may be painful, but once you get past it - the quality is
there.

Regards,
Nikolai


Thanks again Nikolai, this is going to work fine. I'm going to write a
little program that writes out a batch file of command line
transactions, then rrun that to convert all the Music XML to PDF in one
run.

Mar 24 '06 #10
RickH wrote:
Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer. Most music notation programs can export to Music XML
these days, but I've had a hard time finding XSL/FO stylesheets or
utilities that can transform it back to engraver quality musical scores
in PDF. Thanks for any help on this, it's my first post here. (Nice
business opportunity here for such a utility, for any enterprising
programmers out there).


Have a look at Lilypond. I think the authors were considering an XML
component at some stage.

Otherwise write a transformation to MusixTeX. Complex, but it will
certainly get you engraver-quality.

///Peter
Mar 25 '06 #11

Peter Flynn wrote:
RickH wrote:
Does anyone have any XSL style sheets or know of a program/editor that
can simply transform standard Music XML files to a printed score?
Note, not a full-fledged notation program just a, XML to print
transformer. Most music notation programs can export to Music XML
these days, but I've had a hard time finding XSL/FO stylesheets or
utilities that can transform it back to engraver quality musical scores
in PDF. Thanks for any help on this, it's my first post here. (Nice
business opportunity here for such a utility, for any enterprising
programmers out there).


Have a look at Lilypond. I think the authors were considering an XML
component at some stage.

Otherwise write a transformation to MusixTeX. Complex, but it will
certainly get you engraver-quality.

///Peter


Yes I found a MusicXML to lp converter. So I wrote a program to loop
through all the XML files in a folder and output a BAT command file
that will convert to lp and invoke lily pond for each file. Then I
just run that BAT file that my program created to generate all the
PDF's. It's Windows.

Mar 25 '06 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels",...
20
by: gallery | last post by:
Our client insists on having a music loop playing as the visitor travels throughout his new HTML website. We will not be doing this in frames and I would prefer not to have the home page spawn...
2
by: Just Me | last post by:
If I use the shell32q.NameSpace(k) and the Parent property I can develop, for example, the path to My Music. Actually it ends with Desktop but Desktop can also be traced by using Parent to...
4
by: Doug van Vianen | last post by:
Hi, I am using Visual Basic 6 to generate web pages that can be used by the members of our seniors' computer club to create e-cards that include their own pictures. I wish to include background...
14
by: gnarl | last post by:
Hello all, I'm developing a site in PHP4 for a music artist, who wants music to play across all their pages. I have loaded a simple flash applet to play the music, but every time the visitor to...
2
by: FlashForumKB | last post by:
Here is a chance for you to make my developers look bad. I have hired these guys to development my website which, in part, has music demos available to my users. These demos must include the...
2
pbmods
by: pbmods | last post by:
At the request from MacMan247, I am hereby posting the 'how I did it' to get the music from ShadowWraith. Here's what I did. Turns out that the music is stored in MOD format inside the...
2
by: Suresh P | last post by:
Hi All, Is there any way other than frames to play music in the background of the website without restart while navigating to different pages of the website. Because, frames will affect the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.