dcblock2Signal Modifiers:Specialized Filtersdcblock2dcblock2
A DC blocking filter.
Description
Implements a DC blocking filter with improved DC attenuation.
Syntaxares dcblock2 ain [, iorder] [, iskip]Initializationiorder -- filter order, minimum 4th order, defaults to 128.
iskip -- set to 1 to skip initialization (defaults to 0).
Performanceares -- filered audio signal
ain -- input audio signal
Using a value for iorder less that ksmps will not reduce DC offset efficiently.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 dcblock2 opcode. It uses the file dcblock2.csd, and drumsMlp.wav.
Example of the dcblock2 opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoSpecialized Filters: High pass filtersCreditsBy: &namevictor;New in Csound version 5.09