News for hackers. Stuff that matters.
Re:Show HN: Intentionally subtle headphone crossfeed filter by LnxPrgr3 on Wednesday December 31, 2014 @08:45AM (#8819297)
This is the goal transfer function (x is frequency in Hz):

    return pow(10, (x <= 250 ? 1 : 1 + 1.5*log2(x/250) + (x > 5000 ? 5*log2(x/5000) : 0)) / -20);
This is the header library that generated the filter to match this as closely as possible: https://gist.github.com/LnxPrgr3/8262666

Then, it's time-reversed and the sign flipped, and an impulse is added at sample 0. This filter translates to mid/side stereo, applies this kernel to the side channel, then converts back to L/R for playback.

Re:Show HN: Intentionally subtle headphone crossfeed filter by fl0wenol on Wednesday December 31, 2014 @01:47PM (#8820515)
Is that based on a comb filter with truncated notches at 250 and 5000 Hz (a 2ms phase separation where applied)?