Filter brewing for the Soekris R2R

Hi,
I will surely move from my 1941 to the new dam1021 rev7. There is a friend electronics that is designing a small motherboard for it, nothing fancy, mostly interfacing with different things. We are thinking of offering this board in a gb if someone is interested, but it's too early yet.

Anyway, with my dam i am using the spikestabber's pack, mostly switching between EQHQ and c128dp. I did try to load the gumisb pack once but it's incompatible with the 1941, also the limit of 44.1/48k sample rate is problematic for me as i have high res record in my collection. Apparently the new dam use a different last filter with half the speed so my beloved paul's filters are not compatible anymore ?
If there is a kind soul that can adapt paul's filter to the rev7, i would be always thankfull :)
 
Hi gumisb,

I like the Idea of the cascaded Biquad you implemented.
The coef. you may have used / the only ones I found from your posts were these:
b0=0.84133546241110235
b1=1.68267092482220470
b2=0.84133546241110235
a1=-1.99985813298937410
a2=-0.99985815140002265

not sure if they are still up to date?

However - cascading these 8 times in MatLab gives the following (magnitude normalized) plot:

cascadedBiquad.jpg

(Shown is only the freq. range from 20KHz to fs/2)

Is this what you anticipated?
Fs/2 for 352.8KHz is 172.xxKHz -> impressive attenuation of <-350dB
At 20Khz the attenuation is at -6.2dB
 
IIR filters are nice. If I remember correctly, the last IIR filters I made were based on 15th order elliptic filter.

It really depends what is your goal. IIR biquads are in the middle between FIR1 and FIR2 upsampling(reconstruction) filters.
So everything outputs IIR will be taken by FIR2.
Ideally for me would be situation when I can multiply just one coefficient of 1 by 8 on each FIR stage. That would give opportunity to create true nos filter with IIR as substitute of analog output filter.
 
If someone wants to try some new ones:

I tried a different approach here:
I designed the filters in Matlab with Filter designer app
then I took the coeffitients and multiplied them by 8 and 0.94 for a little headroom
in the filter file, the multiplication factor is set to 1.

-- 04: FIR1: Nyquist, 8.5 Band, Window Chebychev, 3998 Order, 3999 coeffs, flat untill 19.4KHz, -130dB @20KHz


nq_cheby_fir1.jpg


-- 05: NOS
-- 06: Nyqist Band 8, Window Bohman, 3999 coeffs
nq_boh_fir1.jpg


-- 07: NOS


-- 08: Nyquist 8.5 Band, Window Chebychev, 239 coeffs

nq_cheby_fir2.jpg


-- 09: NOS

- - 10: Nyquist 8 Band, Window Blackman Harris, 239 coeffs

nq_bmh_fir2.jpg


-- 11: same as 10




-- 04: NQCH_FIR1 ->08: NQCH_FIR2
-- 05: NOS ->09: NOS
-- 06: NQBOH ->10: NQBMH
-- 07: NOS ->11: NQBMH
 
Another year, another Filter :D

Here's my new Filter set - I finally managed cascading the upsampled FIR1 filter coeffs with the FIR2 coeffs in Matlab, for a far better design study.

Main goal was :
  • high attenuation at Fs/2
  • as short as possible
  • no passband attenuation
All Filters are linear phase fir filters, designed in MatLab as interpolation filters so they have a gain of 8x, which i reduced a little for overhead.

The MatLab Code for upsampling and cascading i wrote is:

fir1_coeff = coeffs(fir1).Numerator;
ups_fir1_coeff = upsample(fir1_coeff,8);
ups_fir1 = dsp.FIRFilter(ups_fir1_coeff );
hcas = dsp.FilterCascade(ups_fir1 ,fir2);
fvtool(hcas, ttt, fir2)




The Filters (44.1 and 48KHz only) are now as follow:

FIR1===FIR2=Casc FIR1&2===
Name n=-3dB@@22.05KHzNamen=+/-0.1dB@20KHz@352KHzpre-Ringing
lin KBD19620.05KHz-22.78dBlin BMH2380...17.9KHz-3.2dB-133dB5
lin BMH48120.05KHz-32.45dBlin Kaiser1490...18.9KHz-2.75dB-140dB8
lin Flattop104720.27KHz-74.3dBlin BMH2390...18.3KHz-1.59dB-133dB11
lin NQ Cheby399919.51KHz-129.1dBinv Sinc Equi2390...19.3KHz-128dB-50dB>>32


Cascaded 04 & 08:
casc_04.jpg



IR cascaded 04 & 08
imp_casc_04.jpg




Cascaded 05 & 09
casc_05.jpg


IR cascaded 05 & 09

ir_casc_05.jpg



Cascaded 06 & 10
casc_06.jpg


IR Cascaded 06 & 10
ir_casc_06.jpg



Cascaded 07 & 11
casc_07.jpg


IR cascaded 07 & 11
ir_casc_07.jpg
 

Attachments

  • JPs_1021filt.zip
    21.7 KB · Views: 56
Last edited:
guys this is 124 page thread technically over 1240 replies. Quite an extensive thread. Can anyone upload the best sounding filters with NOS like signature yet very transparent and revealing without fatigue. I know Im asking alot I guess but I like the initial stock filter which came with version 1 one of the first version. Is there anything better that one can suggest requesting to post the filter pack.
 
hi everybody;
and thanks tnt, i was successful. could update firmeware to 1.23 and update umanager as well (forget to do #update after firmware download, but could do it a second time...)
not quite clear for me is the behavior of dam and the custom filters: after filter installation, i exited and restarted twice. every time another filter was on first position. (though "filters all" showed all the custom filters) - see jpg attached. (i assume, 07/11/29/30 would be the 4 filter i could switch)
then i tried to enter umanager and do the "set filter = linear" command, and then it switched to your filter at first position (tnt) of the four filters and stayed there, even after rebooting.
what happens now, if i try to switch filter via rotary encoder of the audiozen board? or will now the linear (i.e. tnt) filter the one used?
thanks again, happy to make comparisons now!
kind regards!
how is this filter named 11: NOS FIR2 384KHz is it a good one?
 
@rhythmsandy

The "NewNos" Filter I suggested (post #2475) was also measured by spzzzzkt in Post #356 (page 18) with a very much alike magnitude response as the MatLab plot I posted.

There also is a "TrueNOS" Filter by spzzzzkt: #1209 (page 61)
With the Interp rate set to 1, I think this is a moving average filter - so it should not be used for music?
spzzzzkt wrote this:

dam1021,44100,1,1,1,1
Input FIR, 44.1 Khz Samplerate, bypass
1.000



Then again, a NoFilter should look like this (I guess):

dam1021,44100,8,4,8,1
04 Input FIR, 44.1 Khz Samplerate, bypass
8.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
 
As this is the blanket forum for custom filters, this seems a sensible place to ask if anyone has any insights (or, better yet, a solution) into the apparent inability of my dam1121 to use custom filters (specifically, starting with the, "Paul ensemble.") This issue persists regardless which f/w I install. The filters included with the f/w function as intended across a range of bitrates/sampling frequencies, but uploading anything else produces a failure to lock. For testing/playing purposes I'm running coax into a basic (AK4113?) s/pdif-to-i2s board, so nothing too wild at this stage.

Am I missing something obvious?

Regards,

Eric