diyAudio (
-   Digital Line Level (
-   -   Filter brewing for the Soekris R2R (

spzzzzkt 14th February 2015 07:42 PM

Filter brewing for the Soekris R2R
Rather than clogging up the main vendor thread with posts and discussion about alternative filters, it seems more useful to corral all the information into one spot.

My intention is to put together a collection of basic filters starting with:
  • Linear-phase anti-aliasing
  • Minimum-phase anti-aliasing
  • Linear-phase soft roll-off
  • Minimum-phase soft roll-off.
At the moment I'm planning on working on 44.1khz versions of the filters as these influence the sound more than at higher sampling rates. I'll look at doing higher sample rates when I'm happy with the 44.1 files.

I'll post up response curves measured directly from the filter parameters I post up, and ask anyone else contributing filters to do the same, to make comparisons more straight forward.

If anyone wants to contribute analog measurements of the filters they are welcome to do so.


Recommended Filters as at 1 June 2015
"Correct" NOS filter implementation for the DAM1021

Brick wall filter, allowing aliasing to 23.5kHz.
Based on the stock 44.1 filter, but heavily reworked based on recent forum filter research.
All other filters redesigned and updated.

EQHQ_apo and _quasiapo
Minor variations of the EQHQ v1 which limits imaging to 22.05kHz and 22.5kHz respectively.
These are more strictly correct than the v1, and have a slightly smoother character.


Originally Posted by soekris (
If people want to start then I now have the tools on our website: -- ascii file with all filters -- binary file for downloading onto a dam1021 -- 32 bit dos utility to convert txt file to skr file, usage "mkrom 1021filt"

Please note that messing with IIR filters without knowing what you're doing can result in oscillations which will blow your speakers and/or ears.


Originally Posted by soekris (
The dam1021 FIR1 is operating at 352.8K/384K and each filter can have up to:

1016 tabs at 44.1K/48K input sample rate
508 tabs at 88.2K/96K input sample rate
252 tabs at 176.4K/192K input sample rate
124 tabs at 352.8K/384K input sample rate, but normally bypassed

FIR2 is operating at 2.822M/3.072M and can have up to 120 tabs, with input sample rates 352.8K/383K.

All upsampling is done by zero insertion, therefore gain need to be set to match oversampling rate.

There can be multiple of each filters in the 1021filt.txt filter file, but minimum one need to be there for each input sample rate. Currently just the first one for a given sample rate is used, in later firmware releases you will be able to choose between different filters.

Again, you need to know what you're doing if you want to do your own filters, it's not that simple and there aren't much error checking in the tools....

Background Reading
Test Tracks
DPA Microphones - Miking A Grand Piano
Promotional CD illustrating techniques for miking a grand piano using their product range.
The was given away on request by DPA Microphones. This was released in 2007/8 and is long out of print.
Files are 44.1/16bit in .flac format and the zip archive is 270Mb.

As this is promotional material for DPA Microphones I believe there should be no issues sharing/spreading the word about DPA Microphones.

The SACD/CD contains 7 performances, with 8 different mic configurations.

1-8 Fallin' Leaves
9-16 Evening Song
17-24 Slowly Drifting
25-32 One for the New Ones
33-40 The Dat I Met Mr. Hayden
41-48 La Gazzellina
49-56 Minature XIV

The mic configurations are in the same order for each performance
1) 4041-SP, AB Stereo
2) 4006-TL, AB Stereo
3) 4052, In magnets on frame
4) 4011-TL, Bass/mid-treble positioned
5) 4021, ORTF Stereo
6) 4021, In magnets on frame
7) 4061, Hung from lid
8) 4061, In magnets on frame

The booklet that came with the disc can be download from the DPA site, but is mainly a discussion of miking techniques used.

spzzzzkt 14th February 2015 07:54 PM

Minimum-phase soft roll-off
3 Attachment(s)
To start the thread rolling, this filter is a second attempt at the Ayre Listen filter.
Unlike the MixPhase1 filter posted to the vendor thread it is pure minimum-phase.

I discovered the "trick" to minimising ringing is to stack filters in rePhase. By placing filters at approximately 2kHz intervals it's possible to create curve that replicates the desired behaviour using gentle filter slopes.

The filter impulse response is now very close to the 1 cycle of post ringing described in the Ayre MP white paper.

rickmcinnis 14th February 2015 08:14 PM

Hoping to get my DAC up and running so I can give your work a try.

I knew I could trust you when you said you use PUBLIC IMAGE/Album as one of your reference recordings.

It can tell one many useful things plus it is a great record.

Are you able to enjoy the latest one?

spzzzzkt 15th February 2015 12:17 AM


Originally Posted by rickmcinnis (
Hoping to get my DAC up and running so I can give your work a try.

I knew I could trust you when you said you use PUBLIC IMAGE/Album as one of your reference recordings.

It can tell one many useful things plus it is a great record.

Are you able to enjoy the latest one?

I haven't had a chance to listen to Album with the new filter. I'll have a better chance to listen tomorrow, but at the moment I'm playing Bill Laswell's "Means of Deliverance" (solo acoustic bass), and my initial impression is this is a clear improvement over the MixPhase1 filter.


picovolt 15th February 2015 12:22 AM

Paul--thank you for doing this (both the thread organization and the filter experiments). I'm still piecing together parts of my board, but am really looking forward to the filters that will be available. I've been using Audircana+ for awhile, and the filter adjustments in that have almost put my turntable up in the attic.

rickmcinnis 15th February 2015 01:33 AM

I meant the latest PIL record though the question very well could have been a double entendre ...

spzzzzkt 15th February 2015 01:58 AM


Originally Posted by rickmcinnis (
I meant the latest PIL record though the question very well could have been a double entendre ...

I was tossing up which interpretation to answer....

No, I haven't.
I have to admit I was a Bill Laswell completist for a while, which is one of the main reasons I own Album.
That said, it's an incredible lineup playing on that recording.

rickmcinnis 15th February 2015 02:16 AM

Even if one is not a PIL fan that record is easy to like.

I really like them, especially the second record.

One great thing about Lydon is he is always changing so when ALBUM was a departure one went along with it.

Thanks for your explorations.

Went to an electronics store and bought the wrong gender RS232 cable so tomorrow I get to hear the DAC with correct firmware and your filter.

spzzzzkt 15th February 2015 02:28 AM

"NOS" filter
1 Attachment(s)
Not too much you can say about this really.

All sampling rates have a single filter tap set to 1.000 which effectively means they are a bypass.

44.1 and 48khz = x64 up-sampling
88.2 and 96kHz = x48 up-sampling
176.4 and 192 = x16 up-sampling

I haven't adjusted the gain, so you'll need to turn it up a bit.

No graphs, as it's dead flat response, and the IR is a single value.

All that remains is Søren's final FIR on the x8 upsampling, which I don't plan to touch at this point as it filters out content above 220Khz.

spzzzzkt 15th February 2015 03:06 AM

Linear-phase Slow Roll-off
3 Attachment(s)
This is a similar filter to the Ayre Linear-Phase "Listen" setting.

As with the minimum phase filter, the main aim was to get as little ringing as possible.
The stacked filter technique seems to help in achieving this goal.

All times are GMT. The time now is 06:35 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 17.65%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio