lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sibelius 7 to LilyPond Conversion!


From: Jacques Menu
Subject: Re: Sibelius 7 to LilyPond Conversion!
Date: Wed, 28 Oct 2015 23:25:30 +0100

Hello Thomas,

No luck:
        - exporting from Sibelius 7.1.3 to MusicXML produces a file, but 
music2xml crashes on it;
        - save after importing those exports into Finale 2014 and re-exporting 
as MusicXML.

See below what I get. Things always end with:
            raise "More than 1 child", klass

There are messages related to slurs, and it seems Sibelius mixes slurs and ties 
happily…
Could there be such a problem in your Sibelius files?

JM



address@hidden:~/Desktop > ll *.xml
 488 -rw-r--r--  1 menu  staff   246645 Oct 28 23:14:44 2015 Sleigh Ride 
Official - Trumpet in Bb 1 from Finale 2014.xml
 472 -rw-r--r--  1 menu  staff   239577 Oct 28 23:00:40 2015 Sleigh Ride 
Official - Trumpet in Bb 1.xml
4016 -rw-r--r--  1 menu  staff  2052228 Oct 28 23:14:15 2015 Sleigh Ride 
Official from Finale 2014.xml
4184 -rw-r--r--  1 menu  staff  2140026 Oct 28 23:00:11 2015 Sleigh Ride 
Official.xml



address@hidden:~/Desktop > musicxml2ly Sleigh\ Ride\ Official\ -\ Trumpet\ in\ 
Bb\ 1.xml
musicxml2ly: Reading MusicXML from Sleigh Ride Official - Trumpet in Bb 1.xml 
...
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2986, in <module>
    main()
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2981, in main
    voices = convert (filename, options)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2892, in convert
    score = extract_score_structure (mxl_pl, staff_info)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
430, in extract_score_structure
    staff = read_score_part (el)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
383, in read_score_part
    staff.instrument_name = extract_display_text (partname)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
907, in extract_display_text
    child = el.get_maybe_exist_named_child ("display-text")
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 114, in get_maybe_exist_named_child
    return self.get_maybe_exist_typed_child (get_class (name))
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 123, in get_maybe_exist_typed_child
    raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str



address@hidden:~/Desktop > musicxml2ly Sleigh\ Ride\ Official.xml
musicxml2ly: Reading MusicXML from Sleigh Ride Official.xml ...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=15 default-y=-40>

  In: <measure width=157 number=73>

  In: <part id=P7>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=18 default-y=-30>

  In: <measure width=180 number=75>

  In: <part id=P7>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=15 default-y=-40>

  In: <measure width=160 number=89>

  In: <part id=P7>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=50 default-y=-35>

  In: <measure width=195 number=98>

  In: <part id=P7>

  In: <score-partwise version=3.0>

musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=under>

  In: <notations >

  In: <note color=#000000 default-x=122 default-y=-17>

  In: <measure width=202 number=126>

  In: <part id=P4>

  In: <score-partwise version=3.0>

musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Cannot have a slur inside another slur
  In: <slur color=#000000 type=start orientation=under>

  In: <notations >

  In: <note color=#000000 default-x=122 default-y=-17>

  In: <measure width=202 number=126>

  In: <part id=P5>

  In: <score-partwise version=3.0>

musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Cannot have two simultaneous slurs
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=18>

  In: <measure width=233 number=29>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Encountered closing slur, but no slur is open
  In: <slur color=#000000 type=stop orientation=over number=2>

  In: <notations >

  In: <note color=#000000 default-x=18 default-y=-45>

  In: <measure width=167 number=32>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Cannot have two simultaneous slurs
  In: <slur color=#000000 type=start orientation=over>

  In: <notations >

  In: <note color=#000000 default-x=18>

  In: <measure width=225 number=119>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Encountered closing slur, but no slur is open
  In: <slur color=#000000 type=stop orientation=over number=2>

  In: <notations >

  In: <note color=#000000 default-x=18 default-y=-45>

  In: <measure width=160 number=122>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2986, in <module>
    main()
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2981, in main
    voices = convert (filename, options)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2892, in convert
    score = extract_score_structure (mxl_pl, staff_info)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
430, in extract_score_structure
    staff = read_score_part (el)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
383, in read_score_part
    staff.instrument_name = extract_display_text (partname)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
907, in extract_display_text
    child = el.get_maybe_exist_named_child ("display-text")
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 114, in get_maybe_exist_named_child
    return self.get_maybe_exist_typed_child (get_class (name))
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 123, in get_maybe_exist_typed_child
    raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
address@hidden:~/Desktop > 




address@hidden:~/Desktop > musicxml2ly Sleigh\ Ride\ Official\ -\ Trumpet\ in\ 
Bb\ 1\ from\ Finale\ 2014.xml
musicxml2ly: Reading MusicXML from Sleigh Ride Official - Trumpet in Bb 1 from 
Finale 2014.xml ...
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2986, in <module>
    main()
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2981, in main
    voices = convert (filename, options)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2892, in convert
    score = extract_score_structure (mxl_pl, staff_info)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
430, in extract_score_structure
    staff = read_score_part (el)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
383, in read_score_part
    staff.instrument_name = extract_display_text (partname)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
907, in extract_display_text
    child = el.get_maybe_exist_named_child ("display-text")
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 114, in get_maybe_exist_named_child
    return self.get_maybe_exist_typed_child (get_class (name))
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 123, in get_maybe_exist_typed_child
    raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str



address@hidden:~/Desktop > musicxml2ly Sleigh\ Ride\ Official\ from\ Finale\ 
2014.xml
musicxml2ly: Reading MusicXML from Sleigh Ride Official from Finale 2014.xml ...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: warning: Cannot have two simultaneous slurs
  In: <slur placement=above type=start number=1>

  In: <notations >

  In: <note default-x=25>

  In: <measure width=236 number=29>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Encountered closing slur, but no slur is open
  In: <slur type=stop number=2>

  In: <notations >

  In: <note default-x=26>

  In: <measure width=174 number=32>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Cannot have two simultaneous slurs
  In: <slur placement=above type=start number=1>

  In: <notations >

  In: <note default-x=25>

  In: <measure width=223 number=119>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: warning: Encountered closing slur, but no slur is open
  In: <slur type=stop number=2>

  In: <notations >

  In: <note default-x=26>

  In: <measure width=165 number=122>

  In: <part id=P9>

  In: <score-partwise version=3.0>

musicxml2ly: Converting to LilyPond expressions...
musicxml2ly: Converting to LilyPond expressions...
Traceback (most recent call last):
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2986, in <module>
    main()
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2981, in main
    voices = convert (filename, options)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
2892, in convert
    score = extract_score_structure (mxl_pl, staff_info)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
430, in extract_score_structure
    staff = read_score_part (el)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
383, in read_score_part
    staff.instrument_name = extract_display_text (partname)
  File "/Applications/LilyPond.app/Contents/Resources/bin/musicxml2ly", line 
907, in extract_display_text
    child = el.get_maybe_exist_named_child ("display-text")
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 114, in get_maybe_exist_named_child
    return self.get_maybe_exist_typed_child (get_class (name))
  File 
"/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/musicxml.py",
 line 123, in get_maybe_exist_typed_child
    raise "More than 1 child", klass
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
address@hidden:~/Desktop > 





> Le 28 oct. 2015 à 22:31, Thomas Wilmot <address@hidden> a écrit :
> 
> Hi Jacques,
> 
> Thanks for the offer!!
> Please see attached my full score and an extracted trumpet part for testing.
> 
> Thomas
> 
> -----Original Message-----
> From: Jacques Menu [mailto:address@hidden 
> Sent: Wednesday October 28, 2015 5:41 p.m.
> To: Thomas WillNot
> Cc: Jacques Menu; address@hidden
> Subject: Re: Sibelius 7 to LilyPond Conversion!
> 
> 
> Hello Thomas,
> 
> I’ve done this sometimes on Mac OS X.
> 
> If you can send me the .sib file, I can give it a try.
> 
> JM
> 
>> Le 28 oct. 2015 à 21:24, Thomas WillNot <address@hidden> a écrit :
>> 
>> Hello,
>> 
>> I have a multi-part band score in Sibelius 7 that I have been trying 
>> to convert to LilyPond format. (No, not the original Sibelius 7 for 
>> RISC OS, but rather the newer Sibelius 7.1.3.77 for Microsoft 
>> Windows.)
>> 
>> I have exported it into the MusicXML exchange format and attempted to 
>> use the MusicXML2LY program supplied with LilyPond with no luck. It 
>> will read the XML file but then spit out a bunch of complaints, but no 
>> LilyPond file is produced! I tried splitting a single instrument's 
>> part from the main Sibelius file, then exporting just that and running 
>> MusicXML2LY but that didn't even get rid of any of the errors, never 
>> mind produce a file! I read elsewhere someone having this same problem 
>> recently with the same versions of Sibelius and LilyPond I am using 
>> (7.1.3.77 and 2.18.2, respectively), and they were suggested to try 
>> Denemo, which apparently uses its own methods for conversion and its 
>> own of LilyPond.  I'd never used it before, but I gave it a shot, and 
>> it's a really bizzarre program in every way, especially on Windows, 
>> but I figured it out and was able to actually produce a file!  It does 
>> the conversion its own way adding a lot of strange wrappers, which can 
>> be easily removed, however my biggest problem is that everything is 
>> converted in absolute mode.  If I were using the regular LilyPond 
>> MusicXML2LY program, I would simply run it with the -r option, but I 
>> don't see how this can be done in Denemo. It also adds staccato and 
>> other markings with "-\staccato" or "-\markup" - I don't know the 
>> purpose of the hyphen, but it makes the file fail if your remove 
>> Denemo's weird wrappers and other commands.  This should be changeable 
>> with Find & Replace, but still my point is that it'd be nice if 
>> LilyPond 2.18.2's MusicXML2LY just worked! :P
>> 
>> Of course I could manually remove all the octave markings but there 
>> are about seventeen pages of music I'm working with so I'd love to 
>> hear of an easier way.
>> 
>> Thanks,
>>   Thomas
>> 
>> 
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden 
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> <Sleigh Ride Official - Trumpet in Bb 1.sib><Sleigh Ride Official.sib>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]