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: 143
Member Since:
January 28, 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: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143