DSPRelated.com
Filtered by topic: Filter Design [clear filter]
Filter a Rectangular Pulse with no Ringing

Filter a Rectangular Pulse with no Ringing

Neil Robertson
TimelessIntermediate

To filter a rectangular pulse without any ringing, there is only one requirement on the filter coefficients: they must all be positive. However, if we want the leading and trailing edge of the pulse to be symmetrical, then the coefficients must be symmetrical. What we are describing is basically a window function.


Digital Envelope Detection: The Good, the Bad, and the Ugly

Digital Envelope Detection: The Good, the Bad, and the Ugly

Rick Lyons
TimelessIntermediate

Recently I've been thinking about the process of envelope detection. Tutorial information on this topic is readily available but that information is spread out over a number of DSP textbooks and many Internet web sites. The purpose of this blog is to summarize various digital envelope detection methods in one place. Here I focus of envelope detection as it is applied to an amplitude-fluctuating sinusoidal signal where the positive-amplitude fluctuations (the sinusoid's envelope) contain some sort of information. Let's begin by looking at the simplest envelope detection method.


Python For Audio Signal Processing

Python For Audio Signal Processing

John GLOVER, Victor LAZZARINI
Still RelevantIntermediate

This paper discusses the use of Python for developing audio signal processing applications. Overviews of Python language, NumPy, SciPy and Matplotlib are given, which together form a powerful platform for scientific computing. We then show how SciPy was used to create two audio programming libraries, and describe ways that Python can be integrated with the SndObj library and Pure Data, two existing environments for music composition and signal processing.


Lecture Notes on Elliptic Filter Design

Lecture Notes on Elliptic Filter Design

Sophocles J. Orfanidis
TimelessAdvanced

Elliptic filters, also known as Cauer or Zolotarev filters, achieve the smallest filter order for the same specifications, or, the narrowest transition width for the same filter order, as compared to other filter types. On the negative side, they have the most nonlinear phase response over their passband. In these notes, we are primarily concerned with elliptic filters. But we will also discuss briefly the design of Butterworth, Chebyshev-1, and Chebyshev-2 filters and present a unified method of designing all cases. We also discuss the design of digital IIR filters using the bilinear transformation method.


Optimizing the Half-band Filters in Multistage Decimation and Interpolation

Optimizing the Half-band Filters in Multistage Decimation and Interpolation

Rick Lyons
TimelessAdvanced

This article discusses a not so well-known rule regarding the filtering in multistage decimation and interpolation by an integer power of two.


Using the DFT as a Filter: Correcting a
Misconception

Using the DFT as a Filter: Correcting a Misconception

Rick Lyons
TimelessAdvanced

I have read, in some of the literature of DSP, that when the discrete Fourier transform (DFT) is used as a filter the process of performing a DFT causes an input signal's spectrum to be frequency translated down to zero Hz (DC). I can understand why someone might say that, but I challenge that statement as being incorrect. Here are my thoughts.


Negative Group Delay

Negative Group Delay

Andor Bariska
TimelessAdvanced

Dispersive linear systems with negative group delay have caused much confusion in the past. Some claim that they violate causality, others that they are the cause of superluminal tunneling. Can we really receive messages before they are sent? This article aims at pouring oil in the fire and causing yet more confusion :-).


Implementing Simultaneous Digital Differentiation, Hilbert Transformation, and Half-Band Filtering

Implementing Simultaneous Digital Differentiation, Hilbert Transformation, and Half-Band Filtering

Rick Lyons
TimelessAdvanced

Recently I've been thinking about digital differentiator and Hilbert transformer implementations and I've developed a processing scheme that may be of interest to the readers here on dsprelated.com.


A New Contender in the Digital Differentiator Race

A New Contender in the Digital Differentiator Race

Rick Lyons
Still RelevantAdvanced

This blog proposes a novel differentiator worth your consideration. Although simple, the differentiator provides a fairly wide 'frequency range of linear operation' and can be implemented, if need be, without performing numerical multiplications.


The World's Most Interesting FIR Filter Equation: Why FIR Filters Can Be Linear Phase

The World's Most Interesting FIR Filter Equation: Why FIR Filters Can Be Linear Phase

Rick Lyons
TimelessAdvanced

This article discusses a little-known filter characteristic that enables real- and complex-coefficient tapped-delay line FIR filters to exhibit linear phase behavior. That is, this article answers the question: What is the constraint on real- and complex-valued FIR filters that guarantee linear phase behavior in the frequency domain?