Popular music retrieval by detecting mood