![]() Registered Member ![]()
|
This is a quick and dirty shell script to automatically add BPM values to your music collection. I wrote it in a couple of minutes, but it works great.
Have fun.
Last edited by aroedl on Fri Sep 01, 2006 8:15 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
A plugin for this would be nice.I don`t like the taught that I would need to run a bash script everytime I add something to my collection.But nice work.
|
![]() Registered Member ![]()
|
Modified script to do BPM for AAC (for those of use that moved from itunes).
Last edited by iqon on Fri Sep 01, 2006 7:33 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
A plugin for Amarok would probably be the best way to do this - you don't necessarily need to calculate BPMs for your whole collection, but to select a bunch of tracks and have Amarok go off and work through them is fine.
I don't have soundstretch installed, but I do have bpmdetect (RPM from PackMan), which has the advantage that it can work directly from MP3s, and therefore the decoding step can be skipped (sorry, don't know if it'll work with AAC). A couple of other things - I added a "test && exit" to the script in case the script gets called while the player is on a track other than the first one. This way it'll stop once the player runs out of tracks to play. However, the counter is still needed, in case the user has "repeat" enabled. (And if the user has "repeat track" enabled, the script will probably loop on that - this really isn't a perfect solution!) Also, I ran into problems with cross-fading, which I normally have activated. Amarok would end up crashing because it was being asked to cross-fade too often. So disable that.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]