I need to convert a flac file to a wav file without changing sample rate and bit depth. As far as I know changing these properties may distort the audio, so how do i specify
sox infile.flac outfile.wav
should do exactly that, without copying metadata.
I used it to convert back a sound that grip converted from wav to flac and got exactly the same file as the original wav.