src/MusicalScore/VoiceData/NoteType.ts
Function getNoteDurationFromType
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static getNoteDurationFromType(type: string): Fraction {
switch (type) {
case "1024th":
return new Fraction(1, 1024);
case "512th":