KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  . 

bpm calc 4 amarok (Version 1 and 2)


KDE Sound Application

Score 53%
Link:  Link
Minimum required   Gambas 2.x
Downloads:  288
Submitted:  Oct 27 2008
Updated:  Feb 7 2010


New with support for Amarok 2


Detecting the BPM's (beat per minute) from amaroks song database.

Because the amarok script bpmcalc is not working on my computer and it is handy for me to calculate the bpm at ones, I have wrote this application.

The application is using the amarok database, but only mySQL.
And also depends on:
- apt-get flac ffmpeg soundstretch

The bpm is calculated with the tool soundstretch and the resulting bpm go written back into the database.
To finding the bpm's, there are two parameters for the analysis: the starting point and length, both in second.
Not discovered bpm's are serialized with -9 and they can later be re-analyzed repeatedly with diffrent parameters.

There are 4 scan methods (based on the information in amarok mySQL database):
- songs in which the bpm was not found. these are the songs previously serialized with -9. I discover that changing startpoint and lenght can detect many of them.
- songs in which the bpm is outside of a range. bmp below 50 and bpm above 200 seem suspicious to me. it is possible to "correct" them with some parameters.
- repeating the bpm detection process for all songs
- the default is to process only song without bpm information.

How to use it:
Open a shell window, type "bpmcalc4amarok.gambas" and hit enter to see help. Add parameters as expected to process.

Many parameters are avaiable to control.
A in-depth description of the opportunities come maybe later.
Here the applications help text:
ouput to logfile
--o=-filename (default=no log)
sql login:
--l=host address (default=localhost)
--t=port number (default=3306)
--d=databasename (default=amarok)
bpm detection specific, optional:
--k=skip seconds, default=0 (point at start bpm analyzing)
--g=read seconds, default=60 (bpm analyzing)
song selection, optional (sql select limit):
--b=start at row (default=0)
--m=max rows to read (default=all)
--c=sql-where-clause, over fields in table tags:
song scan options, optional. no parameter is default=only undedected songs:
--f full rescan of all songs
--r rescan failed bpm detection
--j out of range bpm scan (see x,y and a,z)
bpm range accept, defaults=all (recomended: min=50, max=200
--x=min bpm;
--y=max bpm
--i round detected bpm
bpm \"correction\" when less(x) or bigger(y), optional:
--a=multiplier (a*bpm= corrected bpm
--z=divider (bpm/z= corrected bpm
other options, optional:
--v verbose information
--h this help


Version 0.1.4-1
- Support for Amarok2;
Use Parameter "--s=# Version" to Amarok-Version or run with --h to geht Parameterlist-

Version 0.1.2-1
- Fixed missing Schema when not default Databasename amarok is used (thanks noerg)

Version 0.1.1-1
- Databasename as parameter
- SQL Where-clause as parameter
- Fixed tagging when "Couldn't detect BPM rate"

Send to a friend
Other  Apps  from staudi009
Report inappropriate content


 Looks promising but...

 by EinfachToll on: Mar 28 2010
Score 50%

... all I get is the error “Main.?.0: Cannot find driver for database: mysql”
An yes, I have mysql installed and uses it with amarok ;)
Any ideas?

Reply to this


 Re: Looks promising but...

 by hefee on: Aug 22 2010
Score 50%

just install gambas-gb-mysql

Reply to this


 Re: Re: Looks promising but...

 by EinfachToll on: Aug 22 2010
Score 50%

Thank you! Now the error does not appear. But everytime I run the program it just puts out “calculate BPM for 0 files .... Done”, no matter what I tell it what files to scan. Are you sure it works with Amarok 2?

Reply to this


 Re: Re: Re: Looks promising but...

 by hefee on: Aug 23 2010
Score 50%

I don't know - thats the same behavavor for me and i tried it with amarok 1.4 database but also get only “calculate BPM for 0 files .... Done”.

Reply to this

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.