assets/js/main.js
/* Helper function changes alphanumerical representations to unicode representations. */
Helper function changes alphanumerical representations to unicode representations.
Helper function changes alphanumerical representations to unicode representations .
function unicoder(strinput) {
    strinput = strinput.replace("#", "&#x266F;").replace("b", "&#x266D;");
    return strinput;
}
function unicoder ( strinput ) { strinput = strinput . replace ( "#" , "&#x266F;" ) . replace ( "b" , "&#x266D;" ) ; return strinput ; }
Helper function changes alphanumerical representations to unicode representations.
Helper function changes alphanumerical representations to unicode representations .
/* Change sharps and flats to unicode */ // Temporarily unavailable due to font conflict:
 // /* Change music lengths to music notes */
 // /* 16n */
 // strinput = strinput.replace("16n", "&#119137;");
 // /* 8n or 8n. */
 // strinput = strinput.replace("8n.", "&#119136;").replace("8n", "&#119136;");
 // /* 4n or 4n. */
 // strinput = strinput.replace("4n.", "&#119135;").replace("4n", "&#119135;");
 // /* 2n or 2n. */
 // strinput = strinput.replace("2n.", "&#119134;").replace("2n", "&#119134;");
 // /* 1m (1 measure) */
 // strinput = strinput.replace("1m", "&#119133;");
