use sample rate in wav file