Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you mind elaborating a little or pointing us toward where we can read more about this?

I just (more-or-less blindly, not grokking the actual math behind it) ported the yin algorithm from someone else's implementation this year and tau was defined as a range where tau min is samplerate / freq_max and tau max is samplerate / freq_min where freq_min and freq_max are the bounds of the detection algorithm, at least as I understood it. My port works but I never really understood tau (except as I described) -- if there's a way I can refactor this with a fixed tau that would be very interesting!



There's some more or less serious discussion, that instead of using π = 3.14... (Pi) in formulas, we should adopt τ = 6.28... (Tau). Proponents claim, that it would simplify many formulas that include the term "2π".

For example the circumference on the unit circle is 2π and would become just τ if we adopted it as a constant.


To add to this, it's specifically because 2*pi (and forms of it like 4*pi^2) show up so frequently.


Ah, OK I was on the completely wrong track. Thanks for explaining!


The Tau Manifesto by Michael Hartl: https://tauday.com/tau-manifesto




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: