473,809 Members | 2,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5842
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

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

Similar topics

12
16155
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", pygame.mixer.get_num_channels() pygame.mixer.music.set_volume(1.0) pygame.mixer.music.load('file1.mp3)
20
4437
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 new pages from its links. Although that's the only solution that I know of. Does anyone have another solution?
2
2087
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 the drive. This desktop is referred as DESKTOPDIRECTORY However, if I try to develop a path to Shared Music I get to Desktop/My Computer.
4
3886
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 music. The music plays okay until the viewer clicks to cause some JavaScript code to execute. When the JavaScript code runs it stops the music even though the coding is just used to resize pictures and divs on the page (viz, it is not supposed...
14
4022
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 the site moves to a different page the music starts again. The artist would like the music to play continuously. I can only think of three possible ways to solve this, and I am not happy with any of them.
2
3929
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 entire piece with a spoiler in the background so users can not record them freely. The files must be secure! My original request was to have them build an application that merged the two files (spoiler and original music) into a single mp3 file and have...
2
4619
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 ShadowWraith Music file's resource fork. You can download a copy of ShadowWraith here: http://mac.the-underdogs.info/index.php?show=game&id=1282 What you'll want to do is open the music file using a resource fork editor, such as Rezilla. You'll know...
2
3160
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 SEO. Is it possible to achieve it via cookies/sessions?
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10633
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10375
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3860
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.