From f89b611b42b8edfaf2c2ceb53f8a92f8fa7a8434 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sun, 22 Dec 2024 19:12:40 -0500 Subject: [PATCH] display notes as freq --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 451cf33..6768802 100644 --- a/app.js +++ b/app.js @@ -55,8 +55,8 @@ generateNoteButton.addEventListener('click', () => { const randomPitchNote = randomPitch % 12 newTone = notes[randomPitchNote][0] + randomPitchOctave - toneDisplay.innerHTML = newTone newTone = teoria.note(newTone).fq() + toneDisplay.innerHTML = newTone }) playButton.addEventListener('click', ()=>{