Commit d76ff916 authored by emerit's avatar emerit
Browse files

Merge branch 'orange/fix_binaural_delay_precision' into 'main'

Orange/fix binaural delay precision

See merge request !420
parents 87a687ed 5e73d483
Loading
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -37,8 +37,10 @@
 *------------------------------------------------------------------------*/
/* Binaural rendering data set based on HRIRs */
/* Tables generated by the exe at "scripts/binauralRenderer_interface/generate_cren_ivas_tables*.*  */
/* Can be replaced by your own generated HRIR or BRIRI tables */
/* Tables generated by scripts/binauralRenderer_interface/generate_cren_ivas_tables.c, see mixer_conv_sofa_to_rom_table_converter_readme.txt */
/* Can be replaced by your own generated HRIR or BRIR tables */
#include <stdint.h>
#include <stddef.h>
@@ -47,8 +49,11 @@
/********************** CRendBin_Combined_HRIR **********************/
#ifdef FIX_BINAURAL_DELAY_PRECISION
const float CRendBin_Combined_HRIR_latency_s = 0.000020834f;
#else
const float CRendBin_Combined_HRIR_latency_s = 0.000020833333110f;
#endif
/* Sample Rate = 48000 */
@@ -640,7 +645,11 @@ const float *CRendBin_Combined_HRIR_coeff_diffuse_im_16kHz[BINAURAL_CHANNELS]={N
/********************** CRendBin_HOA3_HRIR **********************/
#ifdef FIX_BINAURAL_DELAY_PRECISION
const float CRendBin_HOA3_HRIR_latency_s = 0.001333334f;
#else
const float CRendBin_HOA3_HRIR_latency_s = 0.001333333319053f;
#endif
/* Sample Rate = 48000 */
@@ -1588,7 +1597,11 @@ const float *CRendBin_HOA3_HRIR_coeff_diffuse_im_16kHz[BINAURAL_CHANNELS]={NULL,
/********************** CRendBin_Combined_BRIR **********************/
#ifdef FIX_BINAURAL_DELAY_PRECISION
const float CRendBin_Combined_BRIR_latency_s = 0.000145834f;
#else
const float CRendBin_Combined_BRIR_latency_s = 0.000145833328133f;
#endif
/* Sample Rate = 48000 */
+2 −2
Original line number Diff line number Diff line
@@ -37,8 +37,8 @@
 *------------------------------------------------------------------------*/

/* Binaural rendering data set based on HRIRs */
/* Tables generated by the exe at "scripts/binauralRenderer_interface/generate_cren_ivas_tables*.*  */
/* Can be replaced by your own generated HRIR or BRIRI tables */
/* Tables generated by scripts/binauralRenderer_interface/generate_cren_ivas_tables.c, see mixer_conv_sofa_to_rom_table_converter_readme.txt */
/* Can be replaced by your own generated HRIR or BRIR tables */



+82 −73

File changed.

Preview size limit exceeded, changes collapsed.

+43 −0
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2023 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository. All Rights Reserved.

   This software is protected by copyright law and by international treaties.
   The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository retain full ownership rights in their respective contributions in
   the software. This notice grants no license of any kind, including but not limited to patent
   license, nor is any license granted by implication, estoppel or otherwise.

   Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
   contributions.

   This software is provided "AS IS", without any express or implied warranties. The software is in the
   development stage. It is intended exclusively for experts who have experience with such software and
   solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
   and fitness for a particular purpose are hereby disclaimed and excluded.

   Any dispute, controversy or claim arising under or in relation to providing this software shall be
   submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
   accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/

/* clang-format off */

/*-------------------------------------------------------------------------
 * Binaural rendering related ROM tables
 *------------------------------------------------------------------------*/

/* Binaural rendering data set based on HRIRs */
/* Tables generated by scripts/binauralRenderer_interface/generate_cren_ivas_tables.c, see mixer_conv_sofa_to_rom_table_converter_readme.txt */
/* Can be replaced by your own generated HRIR or BRIR tables */

+56 −0

File added.

Preview size limit exceeded, changes collapsed.