Resamples input to the given sample rate (in Hz) before encoding in OGG Vorbis format during recording or CD ripping sessions. Primarily useful for down-sampling for lower-bitrate encoding.
Below is some example of the limits of encoding bitrates (which can be set using the EncodeFormats.OGG.Bitrate property) associated to a certain input frequency:
- with 44100 Hz you can reach a minimal bitrate of 64000 kbps
- with 22050 Hz you can reach a minimal bitrate of 32000 kbps
- with 11025 Hz you can reach a minimal bitrate of 16000 kbps
- with 8000 Hz you can reach a minimal bitrate of 12000 kbps
Regarding compatibility, to ensure your listeners don't have pitch-shifting (like a slow record or tape) use resample rates from the following list only: 8000 11025 16000 22050 32000 44100 48000
This property is used only in the following situations:
During a recording session if the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_OGG (for further details see the How to perform a recording session section).
During a CD ripping session if the EncodeFormats.ForCdRipping property is set to ENCODING_FORMAT_OGG (for further details see the How to perform a CD ripping session section).
During an exporting session if the EncodeFormats.ForExporting property is set to ENCODING_FORMAT_OGG (for further details see the How to export a recorded sound section).
This property is the same as entering the --resample n setting inside the Appendix B - OggEnc command line.
For further details about encoding in OGG Vorbis format refer to the EncodeOGG class section.
For further information about available encoding formats see the EncodeFormatsMan class.