News for hackers. Stuff that matters.
Re:Show HN: Intentionally subtle headphone crossfeed filter by thisjepisje on Wednesday December 31, 2014 @08:09AM (#8819191)
What does it actually do?

When a part is recorded to a single stereo track only, it can sound pretty unnatural (sometimes even annoying - makes me feel like I'm half deaf...) on headphones. The only thing I'd really want to do to avoid this is mix the mono signal with the stereo, so that 100% right becomes e.g. 75% right and 25% left. (Fully mono would be 50/50 on all sounds, obviously).

Re:Show HN: Intentionally subtle headphone crossfeed filter by LnxPrgr3 on Wednesday December 31, 2014 @08:21AM (#8819232)
Turns out, we have two left-right localization cues—intensity difference, and timing difference. Sounds on the left hit the right ear a bit late and filtered. This filter aims to reproduce that, effectively mimicking well-placed stereo speakers on headphones.
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)?