The MusicXML I'm importing to Sibelius was created using PDFtoMusic Pro which did a great job in capturing the music/lyrics but missed on the chord symbols, often putting them in other lyrics fields. I've been able to strip the chords in Sibelius using the Advanced Filter, but I'd rather comment out all the XML files for the lyric tags except lyric number="1" in one go using Perl. The problem is the closing tags for lyric number="2", lyric number="3" and lyric number="4" are all the same, i.e.
</lyric>.
Change this:
<lyric number="1" justify="center" default-y="-78.58">
<syllabic>single</syllabic>
<text font-family="Times New Roman" font-size="10"
+ font-weight="normal" font-style="normal" xml:lang="en-gb">love</text
+>
<extend/>
</lyric>
<lyric number="3" justify="left" default-y="-162.40">
<syllabic>single</syllabic>
<text font-family="Krinitsky" font-size="13" font-
+weight="normal" font-style="normal" xml:lang="en-gb">ƒ5</text>
</lyric>
<lyric number="4" justify="right" default-y="-180.32">
<syllabic>single</syllabic>
<text font-family="Krinitsky" font-size="13" font-
+weight="normal" font-style="normal" xml:lang="en-gb">MI</text>
<extend/>
</lyric>
to this:
<lyric number="1" justify="center" default-y="-78.58">
<syllabic>single</syllabic>
<text font-family="Times New Roman" font-size="10"
+ font-weight="normal" font-style="normal" xml:lang="en-gb">love</text
+>
<extend/>
</lyric>
<!--<lyric number="3" justify="left" default-y="-162.4
+0">
<syllabic>single</syllabic>
<text font-family="Krinitsky" font-size="13" font-
+weight="normal" font-style="normal" xml:lang="en-gb">ƒ5</text>
</lyric>-->
<!--<lyric number="4" justify="right" default-y="-180.
+32">
<syllabic>single</syllabic>
<text font-family="Krinitsky" font-size="13" font-
+weight="normal" font-style="normal" xml:lang="en-gb">MI</text>
<extend/>
</lyric>-->
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.