Emotional intelligence for smartphones?

Engineers have developed a new computer program that gauges human feelings through speech, bringing the prospect of a phone that can pick up on your mood and, say, play you music to match.