Re: Some fixes to musicxml2ly

2006-09-15 Thread Tuukka Verho
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

Re: Some fixes to musicxml2ly

2006-09-15 Thread Han-Wen Nienhuys
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

Some fixes to musicxml2ly

2006-09-15 Thread Tuukka Verho
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