getVexflowDuration = function(duration, type) {
        switch (duration) {
            case "whole":
                switch (type) {
                    case 0: return "w"; break;        // 0 is normal note