display notes as freq

master
Matthew Huntington 1 year ago
parent b2a458e0dc
commit f89b611b42

@ -55,8 +55,8 @@ generateNoteButton.addEventListener('click', () => {
const randomPitchNote = randomPitch % 12 const randomPitchNote = randomPitch % 12
newTone = notes[randomPitchNote][0] + randomPitchOctave newTone = notes[randomPitchNote][0] + randomPitchOctave
toneDisplay.innerHTML = newTone
newTone = teoria.note(newTone).fq() newTone = teoria.note(newTone).fq()
toneDisplay.innerHTML = newTone
}) })
playButton.addEventListener('click', ()=>{ playButton.addEventListener('click', ()=>{

Loading…
Cancel
Save