Please consider registering

sp_LogInOut Log In sp_Registration 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

sp_Feed sp_TopicIcon
FIR Designer issue
No permission to create posts
January 30, 2015
4:17 am
Forum Posts: 10
Member Since:
January 29, 2015
sp_UserOfflineSmall Offline

i am reading the FX book and came to filters, and i wanted to try out the FIR Designer.
I watched the video and tried to do same things, until i had an issue.
With the optimal method, when m_nIRLength (Order) reaches 350 the m_h_Left[i] produced are all = 0.000000000... ( 0<=i<=1023)

From that value of m_nIRLength, the array is filled only with 0.0000000 always. The only difference i can see, is that the graphic of the frequency response (with filled flag enabled) is empty for values 350<= x = 356.
The audio in real time, totally blocks, and also the impulse response graphic.
Also for some other values of m_nIRLength, i get the audio signal blocked.

I checked with midimapper and avid mbox 3 asio drivers, and got same result. Tried to resize the audio buffer, but nothing.
The CPU load is almost at minimum, i am on a Windows 7, i5 / 8gb ram.

There is something i am missing ?


January 30, 2015
7:13 pm
W Pirkle
Forum Posts: 249
Member Since:
January 29, 2017
sp_UserOfflineSmall Offline


As stated in the book, the Remez Exchange algorithm may not converge for a given set of filter specs with the Optimal method. When it does not converge, the coefficients are zero (or sometimes garbage). So, that is what is happening. For the record, I am using the Parks-McClellan C-code (it's been around for a long long time).

The Frequency Sampling Method filters do not have this issue as there is no search algorithm in that design.

- Will

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
3 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

TheSmile: 27

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 523

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 546

Posts: 2138

Newest Members:

rawbirdtoe, Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx

Moderators: W Pirkle: 249

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