|
mp3's grouped by bpm - part two |
|
|
|
|
Written by Administrator
|
|
Tuesday, 27 November 2007 08:46 |
Well I got bpmdj working on my gentoo box. Had to build qt 4 with the qt3support use flag.
But it doesn't do what I want. The interface is pretty difficult to get a grasp of, and it seems like it wants to feed the wrong idx files to the helper applications. So it doesn't really work all that well. bpmcount does work, BUT (why is there always a but?) it only works on raw files. So I'd have to decode each of my mp3s to get the bpm count, and then manual update the id3 tag. Might end up doing that.
Also tried to build bpmdetect (its a kde app) but it failed miserably, I'll probably try and dig a little deeper into it today.
On the windoze side there's a neat little app from MixMeister called BPM analyzer which will parse the bpm in an mp3 and update the id3 tag in one step.
The BPM libs I've seen are all windoze and are not open source. So I'll be checking out bpmdetect and if that doesn't work write up an extract/analyze/update tag script. Look for part 3 :)
Technorati Tags: mp3 bpm linux bpmdj gentoo id3 bpmdetect |
|
Joomla metaweblog plugin - bug fix |
|
|
|
|
Written by Administrator
|
|
Tuesday, 27 November 2007 08:26 |
Publishing to the front page wasn't working in version 1.0 and 1.1. Php booleans don't work on anything lower than v4 php, so I switched it to a numeric. Its a friggin boolean. true and false. Oh well. Front page works now :)
Grab the new version here.
Ciao!
-- Randy
Technorati Tags: joomla xmlrpc metaweblog scribefire |
|
|
Written by Administrator
|
|
Friday, 23 November 2007 09:26 |
OK, so its not like I've got enough other stuff to do :)... I've been using my sansa mp3 player and I'm pretty happy with it. I installed rockbox, and removed it. Didn't like the UI and the mp3 player is used by everyone in my family, and the UI (ok, maybe its just an I ;) ) exposes things I don't want my sons to use, and my wife doesn't need to see (just show me how I can play the damn songs). Anyways, thats a different post.
I was listening to some songs and thought it'd be really nice to get a group of songs organized by Beats Per Minute (BPM) for skiing and working out. So... away I go. I won't bore you with ALL the links I found (besides, I don't remember where they all are - really should blog them as I'm surfing them) But I've kinda settled on bpmdj.
BPMDJ seems to be updated pretty regularly, and has a fairly active community. On the downside it uses QT (forget the old pre-gpl licensing concerns, its pretty big and I don't need something pretty big on my machine to upgrade regularly). But it appears it will do what I want, generate playlists and id3 tags with BPM information.
I found the ProAudioOverlay gentoo overlay, syned it in with layman, and away we go :). media-sound/bpmdj is hard masked (with the comment - <pre># World's most fucked up build system [tm] # If autofoo is too complicated, than what's this? lol!</pre> Doesn't look great, but muddle on, I added it to package.unmask and package.keywords. And lets start the emerge.
Build failed:
In file included from player.h++:4, from player.c++:26: ui-player.h:13:36: error: Qt3Support/Q3ButtonGroup: No such file or directory In file included from bpm-analyzer.h++:4, from ui-player.h:36, from player.h++:4, from player.c++:26: ui-bpmcounter.h:13:36: error: Qt3Support/Q3ProgressBar: No such file or directory In file included from capacity-widget.h++:1, from ui-player.h:37, from player.h++:4, from player.c++:26: ui-capacity.h:13:42: error: Qt3Support/Q3MimeSourceFactory: No such file or directory In file included from about.h++:2, from player.c++:33: ui-about.h:14:33: error: Qt3Support/Q3TextEdit: No such file or directory
hmm... looks liike a qt3 qt4 problem.
Boys are up, time to eat. This'll have to wait - look for a part to
Technorati Tags: bpm mp3 bpmdj gentoo proaudiooverlay |
|
Last Updated ( Friday, 23 November 2007 16:28 )
|
|
Written by Administrator
|
|
Friday, 23 November 2007 07:51 |
|
Sansa on GentooI recently picked up a 2G Sansa mp3 player for REAL CHEAP ($30 with shipping). And so I've been working on integrating it into my desktop. Originally I was hoping to use it with my wifes iMac and iTunes, but it looks like that would be more work than I want, and I promised my wife I wouldn't hack her machine (well, not too much anyways ;) ).
I have some mp3's on my desktop, but since I mostly listen to online radio streams while coding, I don't have a lot. So I started ripping my entire collection of CD's with GRIP, which has been INCREDIBLY easy. I just set it to automatically rip on the insert of a new cd, eject when done, and start feeding my box CD's. I really need to double check my tags now, because some of the artists end up in genre's I don't necessarily agree with (e.g. Gipsy Kings end up sometimes in Rock and sometimes in Other - and I think I'd like them in world). So for tag updates I've got EasyTAG. For my music manager/listener I'm using rhythmbox, development seems to be active and there are relatively frequent updates. To convert playlists I modified a gawk script called m3u2pla-awk. I then wrote a script to sync to my sansa using rsync:
#!/bin/bash
echo "mounting /mnt/usb"
mount /mnt/usb
echo "syncing contents to parsing directory"
rsync -rv --delete /home/rcarver/sansa/ /home/rcarver/.sansa_parse/
echo "converting playlists"
find /home/rcarver/.sansa_parse -name "*.m3u" -exec m3u2pla-awk {} \;
echo "removing m3u playlists"
find /home/rcarver/.sansa_parse -name "*.m3u" -delete
echo "syncing parsing directories to sansa"
rsync -rv --ignore-existing --delete /home/rcarver/.sansa_parse/music/ /mnt/usb/music/
rsync -rv --ignore-existing --delete /home/rcarver/.sansa_parse/PLAYLISTS/ /mnt/usb/PLAYLISTS/
echo "unmounting /mnt/usb"
umount /mnt/usb
echo "done"
Viola - its integrated :)
Technorati Tags: sansa gentoo linux |
|