user-1: I'm trying to generate a high quality .wav voice-over using Microsoft Speech API. What should be the values of following parameters (they are part of this constructor):
int samplesPerSecond,
int bitsPerSample,
int channelCount,
int averageBytesPerSecond,
int blockAlign,

to guarantee high quality audio? 
The .wav file will be used latter to feed FFmpeg, so audio will be re-encoded latter to a more compact form. My main goal is keep the voice as clear as I can, but I really don't know which values guarantee the best quality perceived by humans without waste resource for nothing.

user3908: A standard for WAV is 48K / 16 bit mono, or stereo if there's ambiance or presence you'd like to preserve. The last two parameters are a consequence of those choices and you can calculate them based on your selection. Then any compression you might apply afterward will have a good starting basis.
If all you're after is intelligibility, a lower sample rate may be just as good. 22K / 16 bit mono is good enough for many voice purposes. I personally wouldn't use a lower bit depth, but you can experiment with 8 bit to see if it's acceptable.

-1: <p>I'm trying to generate a high quality .wav voice-over using Microsoft Speech API. What should be the values of following parameters (they are part of <a href="http://msdn.microsoft.com/en-us/library/ms554219(v=vs.110).aspx" rel="nofollow">this constructor</a>):</p>

<pre><code>int samplesPerSecond,
int bitsPerSample,
int channelCount,
int averageBytesPerSecond,
int blockAlign,
</code></pre>

<p>to guarantee high quality audio? </p>

<p>The .wav file will be used latter to feed FFmpeg, so audio will be re-encoded latter to a more compact form. My main goal is keep the voice as clear as I can, but I really don't know which values guarantee the best quality perceived by humans without waste resource for nothing.</p>
 3908: <p>A standard for WAV is 48K / 16 bit mono, or stereo if there's ambiance or presence you'd like to preserve. The last two parameters are a consequence of those choices and you can calculate them based on your selection. Then any compression you might apply afterward will have a good starting basis.</p>

<p>If all you're after is intelligibility, a lower sample rate may be just as good. 22K / 16 bit mono is good enough for many voice purposes. I personally wouldn't use a lower bit depth, but you can experiment with 8 bit to see if it's acceptable.</p>
