Category Archives: Media

Lyrics for Last.fm

Ever since I installed MobileScrobbler on my iPhone, I’ve been using Last.fm a lot … like almost every day, and for hours at a time. Here’s my profile. Last.fm “scrobbles” (keeps track of what you listen to, and uploads that info) your music, and my iPhone automatically does this when I listen to anything in the iPod feature, and so does my Mac when I listen to anything in iTunes. Why do I want to do this? For posterity, as you might imagine, but Last.fm also provides music recommendations in the form of a personalized radio station. And the personalized radio station is what I really love. I mean, you press play, and you’ve got all sorts of new stuff to listen to, and the percentage of it that I like is much higher than listening to anything else. And it’s more interactive, because I can teach the system my preferences by pressing either the “Love” or “Ban” buttons.

Anyway, MobileScrobbler lets me read lyrics while I listen to songs… Which I LOVE doing. That Mac version however, does -not- do this. I was able however, to find a Greasemonkey script that adds lyrics to the song page on Last.fm, and therefore enables a workaround. (Greasemonkey is a FireFox plugin that I use daily… it let’s you add things to, and modify websites. People make scripts to make all sorts of websites do all sorts of cool things. Check out http://userscripts.org for examples).

My workaround is this: Listen in the Last.fm app. When I want to read lyrics for the current song, just click the link in the app to open up the song page at last.fm. The greasemonkey script shows the lyrics right there for me. Works.

Oh, and then I can also comment on the song right there too, another feature I’d like to see added to the Last.fm Mac client.

Tech Gets Crazy

I’ve started a new blog… http://techgetscrazy.blogspot.com

I’ve decided to make Rex.FM more of a personal blog, while I’ll post my crazy, tech-related posts over at TechGetsCrazy. I feel like it will be a better outlet for my ideas without pushing my personal brand too much. I mean, I really want Rex.FM to be about me, not my crazy ideas. So anyway, expect some coolness over there, if you’re interested, and subscribe via Google Reader or whatever if you like… feel free to expect some awesomeness. http://techgetscrazy.blogspot.com

Applescript: Fade iTunes to Selected Track

Ever playing music for other people from iTunes? And want to change the song without everyone noticing? Trying to do a manual fade is tough. This script lets you select the next song you want to play, and then fade the volume out and in to that track. Download: itunes-fade-to-selected-track.zip


property initialVolume : null
tell application "iTunes"
set speed to 5 -- lower means slower fade
if sound volume = 0 then -- if volume is all the way down, fade in
play
set initialVolume to 60
repeat until (sound volume) is greater than or equal to (initialVolume - speed)
set sound volume to (sound volume + speed)
end repeat
set sound volume to initialVolume
else -- fade out, skip to selected track, fade in
set initialVolume to (get sound volume)
repeat until (sound volume - speed) is less than or equal to 0
set sound volume to (sound volume - speed)
end repeat
set sound volume to 0
play selection
repeat until (sound volume + speed) is greater than or equal to initialVolume
set sound volume to (sound volume + speed)
end repeat
end if
end tell