code: function getAbcNote(prevNote, curNote) {
    var _accidental = '';
    if (typeof curNote.pitch.accidental !== 'undefined' && parseInt(curNote.pitch.accidental) !== 0) {
      _accidental = accidental.json[curNote.pitch.accidental];
    }
    var _pitch = pitches.json[parseInt(curNote.pitch.octave)][curNote.pitch.step];
    var _duration = parseInt(curNote.duration);
    if (typeof prevNote !== 'undefined') {
      if (prevNote.dot) {
        _duration = _duration * 2;
      }
    }
    var _dotted = '';
    if (curNote.dot === true || curNote.dot === 'true') {
      _duration = _duration / 1.5;
      _dotted = '>';
    }
  
    // check if rest
    if (curNote.rest === true || curNote.rest === 'true') {
      // return rest as abc
      return "z" + _duration + _dotted;
    } else {
      // return note as abc
      return _accidental + _pitch + _duration + _dotted;
    }
  }
docs: Returns a note in abc notation from given note object (JSON)
  NOTE: min duration is 2
  @param {object} prevNote - The previous note
  @param {object} curNote - The note that should be transformed to abc
  @returns {string}