News for hackers. Stuff that matters.
Re:Show HN: Intentionally subtle headphone crossfeed filter by thisjepisje on Wednesday December 31, 2014 @08:31AM (#8819271)
Thanks for the clarification. I've played a bit with the Haas effect myself, it's a nice way to separate sounds when you do mix for headphones.

Besides the delay, what filter does your program apply when carrying stuff from the left to the right?

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)?