Difference between revisions of "Proposal DC Management"

From Audacity Wiki
Jump to: navigation, search
(Added relevant votes from Feature Requests. Wrapped text to be removed in ednote.)
(removed the stuff that Gale had slated for removal)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{Proposal_Header|This page is a proposal for automatically removing DC bias.  }}
 
{{Proposal_Header|This page is a proposal for automatically removing DC bias.  }}
 
{{ednote|'''Gale: 30Oct12''' User-facing material wrapped in ednote and slated for removal because now at [[DC offset]].
 
{{Advice|1=<ul><li>A waveform with DC offset should be corrected at once by running Effect > Normalize with the option checked "'''Remove any DC offset (center on 0 vertically)'''". Uncheck the "Normalize maximum amplitude..." box unless you want to run Normalize as well - see [[Amplify and Normalize|here]] for what Normalize does and when to use it.
 
<li> An alternative method is to use dcRemove in the plugin.org.uk suite of [[Ladspa Plug-ins|LADPSA]] plug-ins for [http://audacity.sourceforge.net/beta/ladspa/ladspa-0.4.15.exe Windows],
 
[http://ardour.org/files/releases/swh-plugins-0.4.15.dmg Mac] or [http://plugin.org.uk/download.php Linux]. This removes the DC (0 Hz) component from the audio, using a high pass filter.</ul>}}
 
 
{{hint|'''Note: Removing offset after the event does not reinstate the original loss of headroom, so you should still correct the DC problem at source.'''
 
 
Newer Windows PCs may have a DC offset cancellation feature when recording from the built-in sound inputs. To check or enable:
 
#Right-click over the speaker icon in the {{menu|System Tray > Recording Devices}}, or click {{menu|Start > Control Panel > Hardware and Sound > Sound}}, then the "Recording" tab
 
#Right-click over empty space, show disabled and disconnected devices, then right-click over each device and enable it
 
#Right-click or select each device, choose "Properties" then look in the "Enhancements" tab
 
#If there is no "Enhancements" tab, look in the sound device's own control panel in "Hardware and Sound".}}}}
 
 
  
 
== Proposed Feature ==
 
== Proposed Feature ==
Line 47: Line 33:
 
* Automatic removal of DC offset after recording (rather than just as an option in Normalize) (7 votes)
 
* Automatic removal of DC offset after recording (rather than just as an option in Normalize) (7 votes)
 
* Audacity should block DC at source because of the problems it causes. DC is not sound, and passing DC should only be a fringe purpose for scientists/researchers. (2 votes)  
 
* Audacity should block DC at source because of the problems it causes. DC is not sound, and passing DC should only be a fringe purpose for scientists/researchers. (2 votes)  
 
 
<div class="editornote">'''Gale: 30Oct12''' User-facing material wrapped in ednote and slated for removal because now at [[DC offset]].
 
{|
 
|-
 
|valign="top"|<ul><li> A sound that has DC offset will not be at its loudest possible volume when normalized (because the offset consumes headroom). This problem can possibly extend to the mix as a whole, since a sound with DC offset and a sound without DC offset will have DC offset when mixed.</li><br><br>
 
<li>DC offset can cause inaudible low level distortion (which becomes audible when other filters are applied or if the sound is compressed upon export)</li><br><br>
 
<li> It can cause audible clicks at the start and end of tracks when played back (even without editing)</li></ul>
 
|valign="top" style="padding:15px"|[[Image:Audacity-levels.jpg|right|400px|Left and right channels of a recording displaying serious DC offset]]
 
|}
 
 
The cause is almost always a fixed voltage offset before the analogue signal is converted to digital values. This voltage is known as a DC offset, and is normally so small as to not be noticeable, but with defective or poor quality hardware it may become big enough to to be a problem. This can also happen if another piece of equipment in the audio chain is defective and producing a large voltage with is being fed through to the computer.</div>
 
  
  
 
[[Category:Feature Planning]]
 
[[Category:Feature Planning]]

Revision as of 16:22, 31 October 2012

Proposal pages help us get from feature requests into actual plans. This page is a proposal for automatically removing DC bias.
Proposal pages are used on an ongoing basis by the Audacity development team and are open to edits from visitors to the wiki. They are a good way to get community feedback on a proposal.


  • Note: Proposals for Google Summer of Code projects are significantly different in structure, are submitted via Google's web app and may or may not have a corresponding proposal page.

Proposed Feature

The proposal is an option (defaulted to on) to apply a low frequency high-pass filter to all audio in Audacity so that DC offset is removed.


Developer Backing

  • None so far.


Use Cases

  • For most users of Audacity for audio processing:
    • DC offset is not audible (so may not be corrected by the user) but reduces headroom for subsequent processing
    • Differences in DC offset cause unwanted clicks where audio is tacked together
  • It is suggested that where a waveform is inherently asymmetrical, such as in recordings of brass instruments, Audacity's DC removal method (making the average positive and negative sample values equal) may create an offset.


Background

See DC offset and Talk:DC offset.


Previous Feature Requests relating to this proposal

Correct as at October 2012.

Better management of DC offset:

  • Automatic removal of DC offset after recording (rather than just as an option in Normalize) (7 votes)
  • Audacity should block DC at source because of the problems it causes. DC is not sound, and passing DC should only be a fringe purpose for scientists/researchers. (2 votes)