Please consider registering
Guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

SimpleHPF - Analog to Digital
July 9, 2014
5:31 am
Kski
Member
Members
Forum Posts: 3
Member Since:
June 29, 2014
Offline

Hello all,

I am first starting out and completed SimpleHPF exercise and while writing the code makes perfect sense I'm not quite sure why it works. I have taken a circuits lab and am familiar with a high pass filter in the analog sense however the concept of adding a one sample delay signal with the original signal seems like it would create a basic reverb rather than a high pass filter. Could anyone explain what specifically causes the attenuation of the low end by adding this delay? Does this have to do with slightly shifting the phase of the signal? In that case then I would imagine higher frequencies being attenuated because a small phase shift will result in more of the higher frequencies being degraded than the low frequencies. Also, in SimpleHPF the UI controls the coefficients a_0 and a_1 however why would increasing these scalars cause more attenuation in the bass to occur? Why is attenuation a function of intensity and not dependent on the phase / sample delay difference between the two streams?

Thanks!
Kski

July 9, 2014
11:36 pm
W Pirkle
Admin
Forum Posts: 237
Member Since:
January 29, 2017
Offline

Hi Kski

There are several things regarding this filter: (1) as stated in the book, it is not an actual HPF, but rather more of a low-cutting shelving type filter and (2) its transfer function has all zeros.

To understand how it delivers the frequency response it does, you need to go through Chapter 5 and learn to plot the frequency response from the pole-zero plot, which you find with the difference equation. With that you can verify its functionality and frequency response. And you can get a feel for how the coefficients affect the location of the zeros and therefore the frequency response. This is an indirect approach; making sense of the coefficients as they relate to filter operation directly is more difficult.

One way to convert the analog circuits to digital versions is with the bilinear transform in Chapter 6. In that chapter, you will see an example RC lowpass circuit that I am sure you studied in circuits lab. The digital version is shown in Figure 6.15. You can see that it has a feedback path. But, the RC circuit itself does not have such a path. In order to understand that, you need to either solve the differential equation for the filter and generate a block diagram, or use analog signal flow graphing to reveal the signal flow. Both approaches show the feedback. However, with the bilinear transform feedback filters like this one, making sense of the coefficients as they relate to filter operation directly is not really possible. Instead, you should focus on how the coefficients affect the location of the poles and zeros, then use that to find the frequency (or phase) response.

In my new synth book, I go into much more analog theory as well as an alternate to the bilinear transform method.

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

EZB: 24

lppier: 23

Msaldaña: 18

Member Stats:

Guest Posters: 1

Members: 521

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 541

Posts: 2104

Newest Members:

hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx, drorh, funkysteve

Moderators: W Pirkle: 237

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 237