Transmit music? A cell phone does not transmit music, instead a radio station has a transmitter that is made to transmit music. A cell phone PLAYS music into its speaker, is that what you want, something small that plays music? And you want it to play one song in a loop over and over?
Something small that makes sounds produces only high pitched squeaks, not wideband music. A speaker 2" or 3" in diameter in a box about 3" cubed (will not fit in a pocket) plays squeaky music with no bass sounds, like a cell phone.
For it to play loudly for 3 or 4 hours then its battery must be pretty big or recharged often.
I think you want an MP3 player that has a built-in speaker but if it is small it will have a squeaker, not a speaker.