[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Converting from MusicXML to Lilypond format
From: |
Charles Cave |
Subject: |
Re: Re: Converting from MusicXML to Lilypond format |
Date: |
Thu, 08 Jun 2006 11:54:19 +1000 |
Another thing you can do is to create a batch file called musicxml2ly.bat
and save it in the "bin" directory of your LilyPond installation
(for example, d:/program files/lilypond/usr/bin)
The contents of this file will be:
@echo off
echo Converting MusicXML to Lilypond
call python "d:/program files/lilypond/usr/bin/musicxml2ly.py" %1%
echo completed
When you want to convert a file, the command line is easier:
> musicxml2ly -v DebuMandSample.xml
Reading MusicXML...
Converting to LilyPond expressions...
Converting to LilyPond expressions...
Converting to LilyPond expressions...
Output to `DebuMandSample.ly'
Printing as .ly...
> Charles Cave <address@hidden> wrote:
>
>
> David,
>
> I am one of the (few, it seems!) Windows users of LilyPond.
>
> This is how you can achieve what you want to do:
>
> 1. Start a Command Shell
>
> Choose the Start > Run menu item and type in cmd then click OK
>
> or
>
> Choose the Command Prompt icon on the Start Menu
>
>
> 2. Change directory to where your XML file is. In my example, the
> directory is D:\Charles The > sign indicates the command prompt
>
> > d:
> > cd charles
>
> 3. Run the MusicXML converter
>
> You will have to change part of the path name to where you installed
> Lilypond.
>
> > python "d:/program files/lilypond/usr/bin/musicxml2ly.py"
> DebuMandSample.xml
>
>
> Charles
>
>
> > David Bolton <address@hidden> wrote:
> >
> > I would like to convert MusicXML files to lilypond format on Microsoft
>
> > Windows.
> >
> > About a year ago when I was starting to familiarize myself with
> > lilypond, the
> > program opened up a command-line screen where you could type something
>
> > like:
> >
> > musicxml --output=C:\example_music.xml C:\example_music.lp
> >
> > and it would convert the file. Now the program does not come up with a
>
> > command=line screen (it has a welcome screen instead), so where do I
> go
> > to
> > type the information above?
> >
> > The documentation is of no help:
> >
> >
> http://lilypond.org/doc/v2.8/Documentation/user/lilypond/Converting-from-
>
> > other-
> > formats.html#Converting-from-other-formats
> >
> > I appreciate any help,
> >
> > David Bolton
> >
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
>
> ---------------------------------------
> Charles Cave
> Sydney, NSW, Australia
> --------------------------------------
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
---------------------------------------
Charles Cave
Sydney, NSW, Australia
--------------------------------------