On Sat, 2006-09-16 at 13:41 +0200, Karl Hammar wrote:
> > In this case inexactness doesn't matter. The term 2**tolerance_exp makes
> > sure that notes that are slightly shorter than the next whole duration
> > are rounded to the whole duration instead of somethin like "c8.". In
> > some cases
[EMAIL PROTECTED]:
> On Fri, 2006-09-15 at 19:33 +0200, Han-Wen Nienhuys wrote:
> >
> > > else:
> > > - return 0
> > > + tolerance_exp = -4 # means that notes that are 1/32 or less
> > > shorter
> > > than 1/4 are quarter notes etc.
> > > + return int (math
On Fri, 2006-09-15 at 22:11 +0300, Tuukka Verho wrote:
> The attached diff for musicxml.py now has an explanatory comment.
Oops, sent a diff without the comment. Here comes the correnct version.
Tuukka
--- lilypond/python/musicxml.py 2006-08-26 01:04:08.0 +0300
+++ musicxml.py 2006-09-16
On Fri, 2006-09-15 at 19:33 +0200, Han-Wen Nienhuys wrote:
>
> > else:
> > - return 0
> > + tolerance_exp = -4 # means that notes that are 1/32 or less
> > shorter
> > than 1/4 are quarter notes etc.
> > + return int (math.ceil (-math.log(self._duration) / m
Tuukka Verho wrote:
Hi!
I noticed that musicxml2ly can't handle files that don't have tags
telling which voice a note belongs to. It seems that sigle voice scores don't
necessarily have them. I made a modification that makes the script assume that
notes without tags belong to voice 1. Previous
Hi!
I noticed that musicxml2ly can't handle files that don't have tags
telling which voice a note belongs to. It seems that sigle voice scores don't
necessarily have them. I made a modification that makes the script assume that
notes without tags belong to voice 1. Previously such situations cau