Welcome, Guest
Username: Password: Remember me
NOTE: This forum is community powered. Please be mindful that long time community members are here to help as part of a community effort. If you have a specific issue (e.g. hardware, failure), please use our tech support portal (Support menu - > Contact Us). Thanks a lot of your help in making a better community. :-)

TOPIC: Reasons of using FIR filters for crossfeed section

Reasons of using FIR filters for crossfeed section 3 months 1 week ago #32622

  • Naganov
  • Naganov's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 2
  • Karma: 0
Hi devs,

I started experimenting with HA-DSP on implementing crossfeed. The first thing I've realized is that a lot of classic crossfeed filters (e.g. Linkwitz (not to be confused with his crossover filters), bs2b, Meier) have non-flat group delay to emulate the delay of sound coming to the opposite ear. When crossfeed is implemented using IIR (recursive) filters, this is easily achieved (see bs2b.sourceforge.net for an example).

But FIR filters have linear phase, and thus group delay is uniform. And I'm not yet aware of technics that would allow making a non-recursive filter with non-uniform group delay.

On the contrast, designing an IIR filter with non-uniform group delay is easy. So I would propose to swap the types of filters used for the EQ and crossfeed sections in HA-DSP. I would use one FIR section per channel for implementing headphone compensation curve, and then two IIR sections per channel for implementing crossfeed.

So I would like to hear your reasoning behind the current signal flow in HA-DSP, and whether it makes sense to change it using my proposal.

Thanks!
The administrator has disabled public write access.
The following user(s) said Thank You: devteam

Reasons of using FIR filters for crossfeed section 3 months 1 week ago #32626

  • pos
  • pos's Avatar
  • Offline
  • Gold Boarder
  • Posts: 264
  • Thank you received: 155
  • Karma: 37
Hello Naganov

FIR is not limited to linear phase. In fact you can target any kind of transfer function with FIR (granted enough taps are available), and any type of magnitude-phase relation.
Try rePhase or any of the other recommended FIR tools to get a picture of what can be done with FIR.
The administrator has disabled public write access.
The following user(s) said Thank You: devteam, Naganov

Reasons of using FIR filters for crossfeed section 3 months 1 week ago #32631

  • Naganov
  • Naganov's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 2
  • Karma: 0
Thanks! I'm a beginner in DSP, and all the introductory texts on DSP I've seen were explaining basic FIR filters that have linear phase. I'm glad to know that there are more advanced ones. I will keep looking! Thanks for your support!
The administrator has disabled public write access.

Reasons of using FIR filters for crossfeed section 3 months 5 days ago #32713

  • devteam
  • devteam's Avatar
  • Online
  • Administrator
  • Posts: 5906
  • Thank you received: 713
  • Karma: 131
@ naganov

we indeed used FIR as it's easiest to implement with say some HRTF database (see CIPC or ircam). These are plug&play.
Wiht this said, it's indeed true that basic crossfeed can be done way easier..

We'll put it as good feedback for an upcoming easier plugin.

DevTeam
MiniDSP, building a DIY DSP community one board at a time.
The administrator has disabled public write access.

Reasons of using FIR filters for crossfeed section 2 months 1 week ago #32982

  • IamNemo
  • IamNemo's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Cross-feed newbie here... :blush:
Are there any good resources on cross-feed algorithms/filter sets/recipes and how efficient/realistic/non-intrusive they are ?
The administrator has disabled public write access.

Reasons of using FIR filters for crossfeed section 2 months 1 week ago #32984

  • Naganov
  • Naganov's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 2
  • Karma: 0
Take a look at this paper which takes on a broader topic of "stereo widening" (Stereo widening system using binaural cues for
headphones): citeseerx.ist.psu.edu/viewdoc/download?d...97&rep=rep1&type=pdf

Also there is a nice writeup by John Conover citing earlier analog implementations: www.johncon.com/john/SSheadphoneAmp/index.html

...and you can also take a look at the discussion of a crossfeed plugin for Foobar audio player: hydrogenaud.io/index.php/topic,90764.0.html

Hope this provides good starting points.
The administrator has disabled public write access.
The following user(s) said Thank You: IamNemo
Time to create page: 0.120 seconds