bpmcalc
Amarok 1.x Scripts
Score 50%
Description:

Calculates BPM on song change and update Amarok's database.
Last changelog:

10 years ago

Mar 12, 2007:
* fixed so that the script works with filenames containing shell characters such as '
* increased reliabity of "stop"
* do not clobber existing BPM (MP3 only, if eyeD3 is installed)
* do not automatically double measurements that are lower than threshold. It's more likely that the real BPM is 4X measured rate, but we cannot know for sure.
* vastly improve manual BPM, using itjBPM as example for onehanded operation
* . (period): tap
* enter: set BPM
* [ : divide BPM by 2 (by 3 if triple time selected)
* ] : multiply BPM by 2 (by 3 if triple time selected)
* ' (single quote): next song
* / (slash): advance 30 seconds
* 0-9: set rating
* measure counter: click to switch between square and waltz measures
* TODO once http://bugs.kde.org/show_bug.cgi?id=142750 is fixed
* do not clobber BPM on non-MP3 files
* allow comment updating

* october 14th, 2006: Daniel Faust suggested to rounding to integers.
* october 10th, 2006: added a manual BPM dialog
* september 30th, 2006: add support for .flac decoding
* somewhere in summer 2006: initial script

sdylewski

8 years ago

This wasn't working for me either (I never got the automatic bpm detect to work) but I liked using the manual bpm calculator until it broke in my upgrade to ubuntu 8.10.

Fix:
1. install python-qt3 and python-kde3
2. edit the bpmcalc.py code:


change
setBpmByPath(self.fname, float(bpm))
to
setBpmByPath(str(self.fname),float(bpm))

i.e., add the str() call to the fname variable in every instance.

Report

staudi009

9 years ago

Hello simpoir.

First thanks for your great work, one of my fav script.

But recently it does not work anymore.
The BPM column gets not updated after song change.
I have tested the tools ffmpeg/flac and soundstretch within the bash, and they work well.
But if i manually calculate the BPM, the result gets not written back to the column.
Perhaps the error is in use of DCop?

Regards, staudi

Report

Lynoure

9 years ago

I could not get it to calculate any bpm values for my songs in Amarok 1.4.9.1.
Does it not work with that version?

Report

10 years ago

Mar 12, 2007:
* fixed so that the script works with filenames containing shell characters such as '
* increased reliabity of "stop"
* do not clobber existing BPM (MP3 only, if eyeD3 is installed)
* do not automatically double measurements that are lower than threshold. It's more likely that the real BPM is 4X measured rate, but we cannot know for sure.
* vastly improve manual BPM, using itjBPM as example for onehanded operation
* . (period): tap
* enter: set BPM
* [ : divide BPM by 2 (by 3 if triple time selected)
* ] : multiply BPM by 2 (by 3 if triple time selected)
* ' (single quote): next song
* / (slash): advance 30 seconds
* 0-9: set rating
* measure counter: click to switch between square and waltz measures
* TODO once http://bugs.kde.org/show_bug.cgi?id=142750 is fixed
* do not clobber BPM on non-MP3 files
* allow comment updating

* october 14th, 2006: Daniel Faust suggested to rounding to integers.
* october 10th, 2006: added a manual BPM dialog
* september 30th, 2006: add support for .flac decoding
* somewhere in summer 2006: initial script

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2
updated Mar 17 2007
added Dec 05 2006
downloads today
page views today