pops_clicks.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Audio Pops and Clicks
  2. =====================
  3. Pops and clicks are unwanted audio artifacts caused by the powering up and down
  4. of components within the audio subsystem. This is noticeable on PCs when an
  5. audio module is either loaded or unloaded (at module load time the sound card is
  6. powered up and causes a popping noise on the speakers).
  7. Pops and clicks can be more frequent on portable systems with DAPM. This is
  8. because the components within the subsystem are being dynamically powered
  9. depending on the audio usage and this can subsequently cause a small pop or
  10. click every time a component power state is changed.
  11. Minimising Playback Pops and Clicks
  12. ===================================
  13. Playback pops in portable audio subsystems cannot be completely eliminated
  14. currently, however future audio codec hardware will have better pop and click
  15. suppression. Pops can be reduced within playback by powering the audio
  16. components in a specific order. This order is different for startup and
  17. shutdown and follows some basic rules:-
  18. Startup Order :- DAC --> Mixers --> Output PGA --> Digital Unmute
  19. Shutdown Order :- Digital Mute --> Output PGA --> Mixers --> DAC
  20. This assumes that the codec PCM output path from the DAC is via a mixer and then
  21. a PGA (programmable gain amplifier) before being output to the speakers.
  22. Minimising Capture Pops and Clicks
  23. ==================================
  24. Capture artifacts are somewhat easier to get rid as we can delay activating the
  25. ADC until all the pops have occurred. This follows similar power rules to
  26. playback in that components are powered in a sequence depending upon stream
  27. startup or shutdown.
  28. Startup Order - Input PGA --> Mixers --> ADC
  29. Shutdown Order - ADC --> Mixers --> Input PGA
  30. Zipper Noise
  31. ============
  32. An unwanted zipper noise can occur within the audio playback or capture stream
  33. when a volume control is changed near its maximum gain value. The zipper noise
  34. is heard when the gain increase or decrease changes the mean audio signal
  35. amplitude too quickly. It can be minimised by enabling the zero cross setting
  36. for each volume control. The ZC forces the gain change to occur when the signal
  37. crosses the zero amplitude line.