getDurationIn64th = function(duration) {
        switch (duration) {
            case "whole":
                return 64; break;
            case "half":