News for hackers. Stuff that matters.
Re:Guitar browser game with a real guitar by geofft on Sunday September 24, 2017 @04:14PM (#15326306)
I feel kinda stupid - how is this supposed to work? Microphone input?

(Does it only work in Chrome?)

Re:Guitar browser game with a real guitar by makaronich on Monday September 25, 2017 @02:59AM (#15328531)
Yep, it works only in Chrome (it should show a note in non-chrome browser).

Problem is only Chrome allows tuning FFT precision now.

More details here: http://makaroni4.com/2017/07/10/guitar-bro/

Re:Guitar browser game with a real guitar by padenot on Monday September 25, 2017 @03:45AM (#15328659)
> Problem is only Chrome allows tuning FFT precision now.

This is plain wrong.

Source: I maintain the Web Audio API in Firefox.

Re:Guitar browser game with a real guitar by makaronich on Monday September 25, 2017 @03:08PM (#15333110)
Sorry, my bad. I meant you can't set FFTSIZE higher than 2048 and we need at least 8192 to identify notes correctly (at least in Safari). Does Firefox allow higher FFTSIZE than the default?
Re:Guitar browser game with a real guitar by padenot on Saturday September 30, 2017 @03:32AM (#15371732)
Yes, up to 32768, per spec [0]. It's just that Safari does not implement this part of the spec, which has changed in early 2015 to allow for longer FFTs [1].

[0]: https://webaudio.github.io/web-audio-api/#dom-analysernode-f... [1]: https://github.com/WebAudio/web-audio-api/issues/375

Re:Guitar browser game with a real guitar by Twirrim on Sunday September 24, 2017 @06:37PM (#15326867)
Only works in Chrome, from the looks of things (not very well explained on the page), and uses microphone input.