Sound waves require a medium (like air) to propagate. Space is a vacuum with no air, so sound waves dissipate instantly and cannot reach your ears.
Human hearing relies on sound waves interacting with eardrums and brain processing adapted for air-conducted sound. In a vacuum, these mechanisms cannot function.
Without air, vibrations from a speaker cannot travel to your ears. You would hear nothing.
Listening to music in space is impossible because sound cannot travel through a vacuum, and the human auditory system is not designed to function without an atmosphere.