qiuxiang / tuner

Online tuner based on web audio api
https://qiuxiang.github.io/tuner/app/
MIT License
334 stars 122 forks source link

A small change In css changes the pitch recognition result #19

Open MrDrone-ru opened 1 year ago

MrDrone-ru commented 1 year ago

Hi. It's good tuner, but I met 2 problem with adapting it to my site.

  1. When I remove the position property from the class .notes, this element remains in the center of the page, but the A4 base note moves to the left and the letter D5 appears in the center of the element. And all further notes come with an offset. image
  2. How to change the frequency-bars scale correctly? I changed its width, but apparently now the high and low frequencies are not visible. And where in the code is it better to unlink them if I need to remove them? Can you help with this?
MrDrone-ru commented 1 year ago

I added external div with position: relative and it it worked again. )