|
![](/i/fill.gif) |
scott wrote:
>> Now I'm wondering if I can come up with something a little more
>> accurate. (Although, obviously, accuracy is ultimately determined by
>> how good your coordination and sense of rhythm are!)
>
> Oh, I thought this was going to be about how you wrote a Haskell program
> to read from the line-in on your sound card in real time and display the
> BPM to insance accuracy... ;-)
Now come on, WHY would I do that?
...the sound is after all coming *from* my PC. ;-) The logical thing to
do with be to decode the Vorbis files back into WAV files and analyse
the resulting spectrum. Although this is far, far less trivial than
you'd imagine. (E.g., WinAmp can't reliably decide what the beat rate is
either, mainly because it can't "hear" the beats reliably.)
I was going to sit and write some elaborate Haskell thing using a GTK
front-end. But seeing how easy it is to do this with JavaScript and
HTML, it's quite obvious that this is the best way to proceed.
Post a reply to this message
|
![](/i/fill.gif) |