Monday, May 07, 2007

Air Tunes + Alarm Clock = Trouble

Occasionally, someone asks me about waking up to music on their Airport Express connected speakers using Air Tunes. Is this something you can add to Alarm Clock?

As I'm sure most people already know, Alarm Clock does not depend on iTunes to play it's music in the morning. This is one of those features that makes Alarm Clock stand out from the rest, and gives it rock solid stability. For more information on why it's important that an alarm clock application not depend on iTunes, check out my FAQ, question #2.
http://www.robbiehanson.com/alarmclock/faq.html

Now, concerning Air Tunes:

Unfortunately, the API to play music wirelessly over Airport Express is kept secret by Apple. In other words, they have decided to use the functionality only within iTunes, and not allow 3rd party developers to use the technology. So, for the time being, this is not a built-in feature of Alarm Clock.

However, this is one of those features that may not actually be a good idea for an alarm clock. Sending the music wirelessly to a set of speakers adds a degree of uncertainty. If another computer is connected to the speakers, it will fail. If the network has problems, it will fail. If there is some kind of radio interference, it will fail. These are all problems you won't see if you use your built-in speakers, or a set of speakers that are hardwired to your computer. Also, many people who use Air Tunes (maybe not you, but many other users) have their Airport Express connected to a home theater system. This also means that before you go to bed you have to make sure to switch your audio receiver from TV or DVD over to the correct setting to allow music from your computer to play. A problem that most users never have to worry about when using a set of speakers dedicated to their computer.

Now, it may be possible for Alarm Clock to recover from some of the above scenarios. If the connection to the speakers fails, it could just play the audio on the built-in speakers. But herein lies the problem. Anybody who would go through all the extra trouble and effort to configure their alarm clock to play to another set of speakers wirelessly probably has a reason to do so. And that reason is probably because their computer speakers aren't loud enough to wake them up, or their computer is in another room, and too far away to be loud in the bedroom. So if the Air Tunes failed in either of the above scenarios, it means disaster for the user. If the computer isn't in your bedroom, or doesn't have built-in or attached speakers loud enough to wake you up, it's probably not a good idea to use it as an alarm clock anyway. (And then there are those users who would use the feature just because of the cool factor...)

So even if Apple decided to make public the API to use Air Tunes, I would have to think long and hard before implementing it in Alarm Clock. In many aspects, it's like giving users a gun to shoot themselves in the foot with. There are many other software alarm clocks on the market that put the importance of features far and above stability and dependability. Alarm Clock 2 is not one of them.

I should point out that there IS an application on the market that will allow you to use Alarm Clock and have the audio play wirelessly via Air Tunes. The product is called Airfoil, and you can find out more about it here:
http://www.rogueamoeba.com/airfoil/mac/

But please remember that Apple's API is still private. Which means that this application works because they've managed to hack Apple's API (as far as I know). If Apple decides to change anything in the future, this product may stop working. And then there are all the other problems with playing music wirelessly that I pointed out above.

As always, I'm welcome to criticism. So if you disagree with anything I said, or you just have a different perspective about something, feel free to let me know.

36 comments:

Mark Sullivan said...

i'll get around to donating, i promise... cool little app. Maybe you address this somewhere, but it'd be nice if the scaling duration could be longer than 14 min.

Robbie Hanson said...

Hi ncohrnt,

You must really like using easy wake. How long would you want the scaling duration to be?

The reason the scaling duration maxes out at 14 minutes is because the "kill alarm" duration starts at 15 minutes. This guarantees that any alarm you set will reach full volume before the alarm is possibly killed.

I also get requests to decrease the minimum snooze duration. Whatever is decided will necessarily be a compromise.

Anonymous said...

Your program is awesome and you are definitely right about keeping it independent.

Anonymous said...

My Source-list in AlarmClock is empty, might be because I have all my songs on a external drive.

Is there a solution?

Besides that it's a really handy app!

Anonymous said...

I figured it out, it's the a tip in the previous post (silly me, should've read that before posting):
in Terminal
defaults write com.digitallity.alarmclock2 'XMLPath' 'Path to library.xml'

Anonymous said...

i too missed this feature (play through Airtunes) initially, but the explanation is reasonable...especially since i have had one instance where i did not wake up because of one of the mentioned problems... :))

Anonymous said...

About streaming radio, etc. not being safe.... why not just have a default alarm? The browser opens correctly to a 404 error, but nothing is being downloaded, right? When this happens, have it trigger a default alarm.

I like your program but would LOVE it with streaming radio functionality.

Jonathan said...

Hi!

First of all - thanks for a GREAT program! I just found it, and I love it.
I found no way to contact you, so I guess this will have to do :)

See, I have a little feature request.

I want the first alarm to be on "Easy wake", and I use 6 minutes for that, but when I snooze, I want it to go with 100% volume immediatley after the snooze finished, I don't want to wait another 6 minutes until it's to 100% again. :P

Is this possible in some way? Ie., not use "Easy wake" for snoozes, just initial alarm.

Thanks again!

Regards,
Jonathan

SMF said...

Any Leopard updates planned? I get some crashes that prevent the alarm from going off. Can anyone else confirm? If I come up with any rhyme or reason it might be doing this I'll let you know.

Anonymous said...

It seems Alarm Clock 2 has become abandonware, which is a real shame since it's the best such software I've come across. I've suffered an iTunes update which makes "Library" (the default) end up not playing *any* music, rather than *all* music. Open source AC2, if not for your users, then for your own reputation.

-- 11 Feb 2008

Daniel Tenner said...

The whole "airtunes isn't reliable" argument is a fallacy. I don't know why all mac alarm clock users buy into it.

I have other alarms in case my mac alarm doesn't work. Anyone who relies 100% on their mac to wake them up every morning is foolish to say the least. I prefer to wake up to the sound of music streaming through my bedroom speakers than to a harsh beeping noise. This is not an either-or situation though - Just because I use a mac alarm clock doesn't mean I have to disable all my other alarms.

Stop trying to make mac alarm clocks reliable in 100% of cases, and accept that many users will want the mac alarm clock as a nice plus, not as a substitute.

AirTunes support through iTunes playback is the number one most important feature for me. I bought an expensive airport express for the sole reason of being able to remotely stream my alarm clock tunes. I would happily pay for a mac alarm clock that supports airtunes through itunes right now, but I will never pay a single penny for one that doesn't.

Daniel

Anonymous said...

I have two users on my MacBook Pro.

The first user installed Alarm Clock and can choose to play music from so many sources (e.g. library, iTunes).

The second user cannot choose to play music from any source. The combo box does not respond to clicking.

I am deleting the first user soon... but I'm afraid the second user will never be able to use Alarm Clock.

Help? Please?

I tried using Terminal like you suggested in FAQ. Did not work in this multiple user scenario.

Richard said...

I really appreciate this app but I just discovered a user interface problem. I must have clicked on Quit on the alarm clock menu because it disappeared and NONE of my alarms worked. OOPS.

That seems too dangerous to me.

I don't usually approve of the "Are you sure?" messages, but the term "Quit" is ambiguous. I would really prefer that "Quit" be moved to the Preferences window. Then a longer explanation of what Quit means will not get in the way and you will NOT be able to shut off all alarms by accident.

If that is too radical, then please put the explanation in a dialogue box along with an "Are you sure you want to remove the alarm clock from the menu bar and kill all the existing alarms?" message. Then when I click Quit by mistake, I'll get a proper warning of the vile act I have undertaken.

Anonymous said...

How about enabling radio streams, so that it would also make radio clock. The streams I have have 0:00 as play time and won't work. But how to resolve the problematic wifi IP getting time. Maybe after x seconds play default alarm (in case the internet ceases to exist).

BoatBuilder said...

I'm doing everything that you say to fix my "empty itunes library" in alarm clock, but it's not working! i copied the terminal command, put in my own library (on my external).. and no change! help! i want to keep using this program!

BoatBuilder said...
This comment has been removed by the author.
Anonymous said...

Hey Robbie,

it's a little off-topic, but I just installed Alarm Clock and am kind of confused by one thing: whenever I restart my computer, the alarm resets itself and goes back to default preferences. Is there any way I can get it to save my preferences?

Thanks so much!

Anonymous said...

Is there a way to edit/delete an existing alarm?

Anonymous said...

Hallo Robbie Hanson,

or should I say Guten Morgan! :)

Your software is great and I use it everyday and appreciate your work. However, I have updated my macbook now to use the latest OS, Snow Leopard and have also purchased the latest apfel Remote that is aluminum.

My previous remote was the white remote and it is broken (no the batteries will not fix it). And I have suddenly realized that I am not able to make the alarm snooze with my remote anymore. This is very sad for me because I am forced to walk to my computer to snooze it, haha. If you can update this, I will be very happy and will also donate some money to you.

Vielen Dank!

Alles Gut, Bis Bald.

Tschüss!

Anonymous said...

I congratulate, your opinion is useful

Anonymous said...

I like alarm clock and plan to send money soon. It stopped working two weeks ago. It disappears from the menu bar daily. It only works when I put it back up in the menu bar and then it disappears again the next day. Why? Is it tired of me? Do you have one for the iPad? That would make you some extra money at 99 cents each. dan@dcastle.com

Anonymous said...

App works great, but having the option to display text when the alarm goes off would really hit the sweet spot for me. If I set an alarm for a week or month away, I'm not necessarily gonna remember why the alarm is going off!

Anonymous said...

I wont get my alarm to sound when my laptop is on sleep, i got it open, authenticated it and everything. What can i do?

Alarm Clocks said...

Variety is the spice of life. Let's all agree to use whatever wakes us up and turns us on in the game called life and realize that we're all different. If you want to see a really different way to wake up then look at this for an unusual alarm clock.

Elena said...

I still don't understand why someone would go to all the trouble of using their computer as an alarm clock. As you say, Robbie, you need the computer in your bedroom, or wherever you sleep.

Anonymous said...

Lion compatibility status?

Anonymous said...

does not work with macbook pro. Does not wake up computer even when set to do so in preferences. Will work if your computer is in use, but no good for waking up. One would have to set a real alarm to wake up their computer so the alarm could go off. This is an outdated device and will not work with a newer computer '11 macbook pro.

Clubs In Houston said...

Excellent idea! You have a good writing style. Thanks for your sharing.

Viagra said...

This is a great idea!

non geographic numbers said...

The basic digital alarm clock with radio combination is the most popular type of alarm clock today. But variations with a unique projection features are now available.

non geographic numbers said...

An older child will probably want a digital clock because they are easier to read when you are half-asleep. Most digital clocks have alarm settings, but your child may prefer to use the alarm setting on their cell phone if they have one.

pslvseoa6 said...

WakingNews Alarm Clock app
WakingNews Alarm Clock is yet another beta app release with some potential. It functions primarily as an alarm clock. You set an alarm as usual and it goes off on time as usual. However, this one reads you the news from a variety of sources when it goes off. So it functions a little bit like old school radio alarm clocks. It has several good news sources, including Yahoo Finances, Yahoo Sports, Engadget, etc. However, there are some lesser sources of words there as well. Thankfully, you can choose the sources that play when the alarm goes off. It's in beta so there are definitely bugs. It is also free and has potential.

Unknown said...

WakingNews Alarm Clock app
WakingNews Alarm Clock is yet another beta app release with some potential. It functions primarily as an alarm clock. You set an alarm as usual and it goes off on time as usual. However, this one reads you the news from a variety of sources when it goes off. So it functions a little bit like old school radio alarm clocks. It has several good news sources, including Yahoo Finances, Yahoo Sports, Engadget, etc. However, there are some lesser sources of words there as well. Thankfully, you can choose the sources that play when the alarm goes off. It's in beta so there are definitely bugs. It is also free and has potential.

Unknown said...

WakingNews Alarm Clock app
WakingNews Alarm Clock is yet another beta app release with some potential. It functions primarily as an alarm clock. You set an alarm as usual and it goes off on time as usual. However, this one reads you the news from a variety of sources when it goes off. So it functions a little bit like old school radio alarm clocks. It has several good news sources, including Yahoo Finances, Yahoo Sports, Engadget, etc. However, there are some lesser sources of words there as well. Thankfully, you can choose the sources that play when the alarm goes off. It's in beta so there are definitely bugs. It is also free and has potential.

pslv seoa10 said...

WakingNews Alarm Clock app
WakingNews Alarm Clock is yet another beta app release with some potential. It functions primarily as an alarm clock. You set an alarm as usual and it goes off on time as usual. However, this one reads you the news from a variety of sources when it goes off. So it functions a little bit like old school radio alarm clocks. It has several good news sources, including Yahoo Finances, Yahoo Sports, Engadget, etc. However, there are some lesser sources of words there as well. Thankfully, you can choose the sources that play when the alarm goes off. It's in beta so there are definitely bugs. It is also free and has potential.

pslvseoa6 said...

WakingNews Alarm Clock app
WakingNews Alarm Clock is yet another beta app release with some potential. It functions primarily as an alarm clock. You set an alarm as usual and it goes off on time as usual. However, this one reads you the news from a variety of sources when it goes off. So it functions a little bit like old school radio alarm clocks. It has several good news sources, including Yahoo Finances, Yahoo Sports, Engadget, etc. However, there are some lesser sources of words there as well. Thankfully, you can choose the sources that play when the alarm goes off. It's in beta so there are definitely bugs. It is also free and has potential.