let note = notes[i % notes.length];
            if (note === 'C') octave++;
            let domElement = createDomElement(frequencies[i], note, octave);
            domContainer.appendChild(domElement);
          }
        })();

        (function bindHtmlKeyboard() {
          const trace = (state, label) => {
            let str = state.toString(2);
            let pad = "0b00000000"
            let text = pad.substring(0, pad.length - str.length) + str;
            document.querySelector('code.trace-bina