Navigation menu
 
audio file converter software for music production and hi‑end audio
Optimize music files to reach your device’s sound quality limit, get compatible audio format or save disk space. Read more...

What is optimization audio for DAC

Audio Basis - articles about audio

Read about issues of digital-to-analog conversion audio and ways for improving the quality of conversion.

Optimize music files
 to reach your device's sound quality limit,
get compatible audio format or save disk space

 
AuI ConverteR 48x44
 audio file converter software for
 for music production and descerning music lovers

FLAC, DSF, DFF, SACD ISO, mp3, m4a, CUE, CD...
 
We think about quality. You just work with music.
AuI ConverteR 48x44 - audio converte software
DOWNLOAD FREE
[Windows]
DOWNLOAD FREE
[Mac]
Watch and share: Experiment with noise cutting from high resolution recording
 

Optimization audio for DAC

Bases of analog signal restoring from digital form

Simplest PCM digital-to-analog converter (DAC) contains:

1. Circuit conversion of a digital sample (number, value of electrical voltage) to electrical voltage.

2. Analog low-frequency filter.

Still no robust proof that we hear ultrasound. According to the Nyquist theorem, 40 kHz sample rate + band reserve is enough for transient band of the low-frequency filter.

So, we have 44.1 kHz sample rate standard. However, real implementation of restoring audio stuff (especially, low-resolution) raises some issues of quality.

 


A spectrum of audio-sample sequence that is converted to voltage (stairs) consists of several parts:

1. useful spectrum in the low half of the spectrum.

2. mirrored and flipped useful spectrum at the high half of the total spectrum.

In this article, graphs have no real scales. The scales are intended for clearer explanation.


PCM coded analog signal

Analog signal restored from digital form

 

An ideal analog filter should:
1. fully pass by useful spectrum {0 … 20 kHz}
2. fully eliminate mirrored spectrum {20 kHz…[sample rate]}.

Analog filter provides a transient band.It's area between pass and stop frequency bands.

Ideal analog filter in DAC

Analog filter’s frequency response is showed as the grey line.

 

Issue of restoring to analog signal is real life

The DAC’s analog filter has enough sloping transient between the pass and stop bands.

And it can’t suppress mirrored spectrum deeply.
 

Real analog filtering in DAC

 

For the ideal analog part of playback apparatus, mirrored spectrum is harmless.

But real apparatus have non-linear distortions in analog parts of DAC, amplifiers, speakers, etc.
It leads to the generated audible products like mirrored and distorted spectrum. The phenomenon is called "intemodulation".

Due to non-linear distortions, the mirrored spectrum in the ultrasound range is reflected at low frequencies.

The kind of reflection depends on the non-linearity type. Here you can see the example of a special case...
 

Audible distortions by ultrasound aliases for digital analog converter

 

How to decrease the distortions in audible range?

Level of the mirrored distortions in the audible range depends on amplitude/power of mirrored spectrum. All that is placed at the upper half of the spectrum of analog signal that is restored from the digital one.

Therefore we should decrease the power of mirrored spectrum.

We can’t significantly improve the real analog low-frequency filter of DAC. It will slope for modern hi-fi demands.

However, we can apply oversampling
 

Oversampling into DAC

and steep digital filter before analog.
 

Analog filter vs. digital filter

Oversampling create additional periodical mirroring of {0…[sample rate]} area at frequencies above original sample rate.

Digital filter, if it's better than analog one, can suppress artifacts about higher limit of audible range.
 

Oversampled signal after digital filtration

 

Now analog filter should suppress highest frequencies in the oversampled spectrum.
Highest frequencies are more suppressed by analog filter. And the analog filter works the best way for this case.
 

Analog signal after digital oversampling-filtration and analog filtration

 

Hardware vs. software oversampling-filtration

Realtime-hardware-digital-oversampling filter can have computing limitation due restricted resources on chip.

So there may be slope transient band issues too.

As alternative can be used additional offline or inline oversampling filter released in personal computer software.
Computer have big calculation power, including floating point precision.
 

Analog vs. digital hard vs. digital soft

 

There DAC’s digital-oversampling and analog filters applied to preliminarily filtered spectrum.

Pre-filtration oversampled audio stuff allow to decrease the mirrored spectrum level even more.

 

AuI ConverteR have resampling filter modes:

1. "Optimized" (cutting all above 20 kHz) or "Optimized G5" with improved filtering;

2. "Non-optimized" (traditional resampling mode);

3. "Non-optimized wide" (band up to 100 kHz for ISO, DSF, DFF conversion).

Click Settings button in AuI ConverteR's main window. Appear Settings window.

AuI ConverteR optimized and non-optimized modes

There need select mode via Filter mode list.

Read more...


 

Inline vs. offline software oversampling-filtration


Inline filter can be released in audio player software. Audio file played without any pre-processing.


Inline conversion has next issues:
 

1. possible lack of computer’s performance for realtime processing.

2. consuming of significant part of total performance.

3. consuming additional electric energy for hard work. There rise additional heating (and sometimes cooling fan noise) matter each time of playback.



Offline filter solve the issues:

1. For old computers playback of pre-oversampled-filtered files is easier.

2. Released computing resources for other tasks (graphics, music database, network, etc.).

3. Economy of electrical energy during playback with lower noise of cooling fans of the audio computer.

Offline filter can be applied in audio converter / resampler. Pre-oversampled-filtered files used for playback in bit-perfect mode (unmodified binary content sent to DAC).
 

Conclusions

1. Quality of restoring analog signal from digital depend of sharpness of DAC’s analog filter.

2. Sharpness of analog filter technically restricted.

3. It solved via digital pre-oversampling-and-filtration builtin DAC.

4. In some cases, for better result may be used additional software pre-oversampling-and-filtration.

5. Inline realtime oversampling-filtration don’t demand pre-converting audio files.

6. Offline conversion allow apply heaviest oversampling-filtration on old computers and save electrical energy during playback.
 


Yuri Korzunov,
Audiophile Inventory's developer

 

Read about audio issues

  1. What is Jitter in Audio. Sound Quality Issues >
  2. 64-bit audio processing. Necessity or redundancy >
  3. What is Audio Converter >
  4. How to Choose the Best Audio Converter Software >
  5. What Is Ringing Audio >
  6. What is dithering audio? >
  7. Bit-Depth Audio and Harmonic Distortions >
  8. Audio as Optics >
  9. What is optimization audio for DAC >
  10. Where is the Limit of Audio Quality? >
  11. Power Conditioner for Audio. It's real advantage? >
  12. True Gapless Conversion (seamless album conversion for operas, live concerts, etc.) >

 

December 14, 2022 updated | since May 20, 2016