Is iTunes equalizer scheduling possible?

gsusguy

Registered
Hello all,

I have searched far and wide for an answer to this, but have come up empty handed. I'm hoping someone in this community may have some insight in to my situation ...

Basically what I am hoping to accomplish, is to set up an applescript that will change my selected Equalizer setting in iTunes depending on what time of the day it is.

I have come across some applescripts that will allow you to schedule the Play/Pause functionality of iTunes, so I'm hoping that gaining access to Equalizer setting will not be terribly difficult.

The need for this has come up as some of my neighbors in the condo building I live in have asked me to turn down the Bass on my music after a certain hour of the day as it seems to be traveling thru some of the walls. It does not so much have anything to do with the volume of the music itself, simply the bass that seems to travel. I could manually unplug the sub each night, but if I could find a way to automate this process I think it would be very helpful -- I wouldn't have to worry about forgetting to do so.

If anyone has some tips or tricks or knows of an existing solution, I am very interested -- it would be an amazing help!

Thanks so much in advance,
 
The hardest part here is the timing code. If you already have that, all you need to do is plug in something like this:
Code:
tell application "iTunes"
	set the current EQ preset to EQ preset "Bass reducer"
end tell

For more info on iTunes scriptability, be sure to check out iTunes' scripting dictionary. All scriptable applications have one, and you can open it with Script Editor by selecting File > Open Dictionary or by simply dragging an application icon from the Finder onto Script Editor's icon.
 
Wow, I didn't realize I had a reply to this thread ... over a month later now!

Anyways, thank you so much for the advice. I tested the applescript you suggested and it controlled iTunes perfectly.

From there I went on to figuring out how to make this run on a schedule -- I figured that setting up a crontab from the command line would be easiest (and runs in the background). I was able to write the applescript you gave me in to mine which checks what time it is and adjusts the itunes equalizer setting accordingly.

Now the cron function will call my crontab every hour on the top of the hour and run this small script. It's working like a charm :)

Hope it helps anyone else down the road who might need a similar solution ...
Thanks again,
 
Back
Top