Emotion-based music retrieval and recommendation