dcblock
Implements the DC blocking filter
Based on work by Perry Cook.
Syntax
Initialization
igain -- the gain of the filter, which defaults to 0.99
Performance
ain -- audio signal input
Note
The new dcblock2 opcode is an improved method of removing DC from an audio signal.
Examples
The result can be viewed in a graphical audio editor program like audacity. audacity is available for Linux, Windows, and the MacOS and may be downloaded from http://audacity.sourceforge.net.
Here is an example of the dcblock opcode. It uses the file dcblock.csd, and drumsMlp.wav.
See also
Specialized Filters: High pass filters
Credits
Author: John ffitch
University of Bath, Codemist Ltd.
Bath, UK
New in Csound version 3.49
February 2003: Thanks to a note from Anders Andersson, corrected the formula.