News for hackers. Stuff that matters.
Re:Show HN: How to Tune a Guitar by JimiofEden on Monday May 07, 2018 @02:58PM (#17015419)
Really cool. Audio didn't work for me on chrome though
Re:Show HN: How to Tune a Guitar by mathisonian on Monday May 07, 2018 @03:01PM (#17015448)
Sorry to hear about the audio issues! I tested on chrome and macOS, and didn't encounter anything like that. I'm curious what OS you're using, or maybe its just Google's new 'smart' autoplay policy.
Re:Show HN: How to Tune a Guitar by thefifthsetpin on Monday May 07, 2018 @03:21PM (#17015628)
It absolutely is that. I experienced the problem, captured

    options.context = new window.AudioContext();
from index.js at line 224, and then just bound a user-action (I went with document.body.addEventListener('click')) and used that to call options.context.resume().

After which point, it was cool. =)

Re:Show HN: How to Tune a Guitar by JimiofEden on Monday May 07, 2018 @03:02PM (#17015458)
Looks like Google Chrome 66, and on windows 7. I'd wager it's the new auto play being funky.

Went to firefox instead and was able to go through it. Again, very cool. =)

Re:Show HN: How to Tune a Guitar by morganvachon on Tuesday May 08, 2018 @07:38AM (#17020241)
Not OP, but chiming in to say that on Waterfox on Windows 10, the initial guitar that is supposed to be out of tune is perfectly in tune (I'm a guitarist and it was obvious). I scrolled down to the tuning part anyway, and moving the knobs changed the frequency display but never changed the sound of the string being tuned.