, 415.3, 440, 466.16, 493.88, 523.25, 554.37, 587.33, 622.25, 659.26, 698.46, 739.99, 784, 830.61, 880, 932.33, 987.77, 1046.5, 1108.73, 1174.66, 1244.51, 1318.5, 1396.91, 1479.98, 1568, 1661.22, 1760, 1864.7, 1975.53, 2093, 2217.46, 2349.32, 2489.02, 2637, 2793.83, 2959.96, 3135.96, 3322.44, 3520, 3729.31, 3951.07, 4186.01];
          let keys = [];

          let domContainer = document.querySelector('#piano');
          let octave = 0;
          for (let i = 0; i < frequencies.length; i++) {
            