Sounds like it has to with the sample rate you're using. If you play a 48khz file in a 44.1khz player (or vice versa) it'll be pitched. If you're working at 48k or higher you have to convert it down to 44.1 at the end... or use a player that supports higher sample rates.