|
@@ -59,9 +59,10 @@ export class VexFlowConverter {
|
|
|
const dur: number = fraction.RealValue;
|
|
|
|
|
|
if (dur === 2) { // Breve
|
|
|
- return "1/4";
|
|
|
+ return "1/2";
|
|
|
}
|
|
|
- if (dur >= 1) { // TODO consider long (4) and maxima (8)
|
|
|
+ // TODO consider long (dur=4) and maxima (dur=8), though Vexflow doesn't seem to support them
|
|
|
+ if (dur >= 1) {
|
|
|
return "w";
|
|
|
} else if (dur < 1 && dur >= 0.5) {
|
|
|
// change to the next higher straight note to get the correct note display type
|