I was listening to Survivor - "Eye of the Tiger" and writing some documentation in Vim and noticed that the cursor not flashing to the beat started to annoy me. Can this be fixed?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Check out my Rhythmbox plugin, rbpitch for changing the pitch/tempo/speed of the playing song. I know it's a hack, and you'll have to manually work out the correct tempo to set to get it to flash in sync with your cursor, but for this extremely important and practical task, I thought it would be important to give you a temporary workaround until someone figures out how to work a gstreamer pipeline using the beat detection plugin into
bash or whatever virtual terminal you're using.
You know, now that you mention it, doing this wouldn't be all that extremely hard, and I could probably code it up in about a day using SoundTouch's BPMDetect class.
Stop giving me ideas for how to look busy coding while actually wasting time.
Beat detection is a task in the field of
Music information retrieval. Usually vocals are stripped, the arrangement is classified in ~7 frequency buckets to create a key, the arrangement is discretised in those and local maxima are denoted as beat locations. The resulting sequence is smoothed to get a rythm with constant frequency.
From there on your question is no longer an open research question but a purely technical one about
X or whoever draws the cursor.