Hi, I'm attaching a patch that implements a new OPUS_SET_WAVEFORM_MATCHING() ctl that attempts to better match the waveform (and preserve the phase), even at the cost of worse quality on "regular" mono/stereo files. The setting can be used by ambisonics family 2 (second patch) to avoid artifacts caused by phase errors (which matters a lot more for ambisonics). Since I don't have an ambisonics setup, I'd be interested in review/testing before I merge that. If you have such a setup, please report any improvement/regression. Cheers, Jean-Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Adds-OPUS_-GS-ET_WAVEFORM_MATCHING-encoder-ctl.patch Type: text/x-patch Size: 16075 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/opus/attachments/20191001/eae90790/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-Use-new-waveform-matching-option-on-ambisonics.patch Type: text/x-patch Size: 1389 bytes Desc: not available URL: <http://lists.xiph.org/pipermail/opus/attachments/20191001/eae90790/attachment-0001.bin>