useup');
          };

          window.addEventListener('keydown', (e) => {
            var value = e.key.length === 1 ? e.key.charCodeAt(0) : e.keyCode;
            byte2frequencies(value).forEach(press);
            trace(value, e.key);
          });
          window.addEventListener('keyup', (e) => {
            frequencies.forEach(release);
          });
        })();

        // config behaviour
        for (input of document.querySelectorAll('input')) {
          console.log(input);
          const s