Skip to content

Commit 4218c1c

Browse files
authored
Merge pull request #264 from music-encoding/develop
Update main branch for 4.2.0 release
2 parents 67a66a4 + ff387d9 commit 4218c1c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

src/ExportConverters.mss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,13 @@ function ConvertTimeStamp (time) {
767767
// Converts a timestamp in milliseconds to an
768768
// isotime (hh:mm:ss.s) suitable for use in @tstamp.real
769769

770+
if (time < 0)
771+
{
772+
// Negative times can occur when Sibelius does not know when an event
773+
// is played. In that case, don't write a time.
774+
return ' ';
775+
}
776+
770777
mins = utils.GetMinutesFromTime(time);
771778

772779
secs = time % 60000.0 / 1000.0;

src/Initialize.mss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function InitGlobals (extensions) {
5959
BarlineAttributes[SpecialBarlineInvisible] = @Attrs('right', 'invis');
6060
BarlineAttributes[SpecialBarlineNormal] = @Attrs('right', 'single');
6161
BarlineAttributes[SpecialBarlineDotted] = @Attrs('right', 'dotted');
62-
BarlineAttributes[SpecialBarlineThick] = @Attrs('right', 'heavy');
62+
// BarlineAttributes[SpecialBarlineThick] = @Attrs('right', 'heavy');
6363
BarlineAttributes[SpecialBarlineBetweenStaves] = @Attrs('bar.method', 'mensur');
6464
BarlineAttributes[SpecialBarlineTick] = @Attrs('bar.method', 'takt');
6565
BarlineAttributes[SpecialBarlineShort] = @Attrs('bar.len', '4', 'bar.place', '2');

src/LyricHandler.mss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,6 @@ function CreateSylChild (parent, template, lyricItem, sylText) {
227227
// inserted text.
228228
lyricItem._property:currentSyllable = sylText;
229229
sylElement = MeiFactory(template, lyricItem);
230-
if (lyricItem.Color != 0)
231-
{
232-
libmei.AddAttribute(sylElement, 'color', ConvertColor(lyricItem));
233-
}
234230
libmei.AddChild(parent, sylElement);
235231
return sylElement;
236232
} //$end

0 commit comments

Comments
 (0)