This is an example of a simple conversion system as mentioned earlier in a comment about conversion and renaming digits.
Made the code a lot smaller by adding the note value to the note list and doing all the conversions in one block, and added a system that reads from the code list.