[MPlayer-dev-eng] [PATCH 1/2] af_hrtf: Room acoustics and IIR-based filter

Yue Shi Lai ylai at users.sourceforge.net
Wed Feb 18 17:50:15 CET 2015


Hi,

Attached is a patch I would like to submit for discussion, and also
because I received request from the FFMPEG side to see this patch. Due
to the size of the coefficients, it is split into a 2nd patch.

The patch changes the acoustics of af_hrtf to include room acoustics
(reflection). In order to be computationally efficient, also the filter
code is modified to utilize an IIR filter bank. The filter also
automatically accepts the conventional input sampling rates 16, 22.05,
32, 44.1, 48, 96 kHz (though the IIR filter quality degrades when
operated at 96 kHz).

Basic operation should be very similar in supplying "-af hrtf -channels 8".

There are several matrix decoders implemented inside the filter, for
convenience, which maybe should be moved into another filter

The experimental option "order = 2" is disable due to marginal gains,
while requiring 3x the coefficients and therefore quadrupling the size
of the patch.

Best wishes,

Yue Shi Lai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-svn-af_hrtf-20150218-1.patch.bz2
Type: application/x-bzip
Size: 51747 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20150218/cc1f269f/attachment-0001.bz>


More information about the MPlayer-dev-eng mailing list