


In the updateNotesSVG() the codes in that array are joined to a single string and sent to the svgNotesForPlaineEasieCode() function.

The updatePreviewWithNote() function takes the last played note in Plaine and Easie format and appends it to the plaineEasieCodes array. This creates a piano keyboard in the keyboardContainer and adds a callback function updatePreviewWithNote() that is called whenever a key is pressed on the keyboard.
