Many people on the internet comment about the poor sound quality of the Raspberry Pi audio output when taken direct from the 3.5mm jack socket.
One alternative is the Adafruit USB audio adaptor, which provides a mic input and headphone output.
Both the Pi jack and Adafruit audio outputs sounded a little harsh to me, so I decided to do a few checks using sine waves and a scope.