pseudo-java/scala code to play mp3