y0n3l / abc4j

Automatically exported from code.google.com/p/abc4j
2 stars 0 forks source link

Computation of tuplet lengths is wrong #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The duration computation for tuplets is wrong and results in the same values 
for triplets and septuplets for example.

duration = (short)(duration * tuplet.getDefaultNoteLength() /  
tuplet.getTotalRelativeLength()); 

should actually be the correct implementation.

Original issue reported on code.google.com by fl.lett...@gmail.com on 23 Feb 2013 at 1:46