Table of Contents

Class AudioConverterSampleRateComplexityConstants

Namespace
NAudio.MacOS.AudioToolbox
Assembly
NAudio.MacOS.dll

Provides constants for common values of the AudioConverterSampleRateComplexity enumeration.

public static class AudioConverterSampleRateComplexityConstants
Inheritance
AudioConverterSampleRateComplexityConstants
Inherited Members

Fields

Linear

Linear interpolation. lowest quality, cheapest. InitialPhase and PrimeMethod properties are not operative with this mode.

public static readonly AudioConverterSampleRateComplexity Linear

Field Value

AudioConverterSampleRateComplexity

Mastering

Mastering quality sample rate conversion. More expensive.

public static readonly AudioConverterSampleRateComplexity Mastering

Field Value

AudioConverterSampleRateComplexity

MinimumPhase

Minimum phase impulse response. Stopband attenuation varies with quality setting.
The InitialPhase and PrimeMethod properties are not operative with this mode.
There are three levels of quality provided.

  • Low (or Min): noise floor to -96 dB
  • Medium: noise floor to -144 dB
  • High (or Max): noise floor to -160 dB (this uses double precision internally)

Quality equivalences to the other complexity modes are very roughly as follows:

MinimumPhase Low is somewhat better than Normal Medium. MinimumPhase Medium is similar to Normal Max. MinimumPhase High is similar to Mastering Low. In general, MinimumPhase performs better than Normal and Mastering for the equivalent qualities listed above. MinimumPhase High is several times faster than Mastering Low.

public static readonly AudioConverterSampleRateComplexity MinimumPhase

Field Value

AudioConverterSampleRateComplexity

Normal

Normal quality sample rate conversion.

public static readonly AudioConverterSampleRateComplexity Normal

Field Value

AudioConverterSampleRateComplexity