def val_to_note(val, scale="<STR_LIT:C>"):
val %= <NUM_LIT:12><EOL>return SCALE_VAL_DICT[scale][val]<EOL>
Convert int to note

    >>> val_to_note(0)
    "C"
    >>> val_to_note(11, "D")
    "D#"

    :type val: int
    :param str scale: key scale
    :rtype: str