Commit f9fd6a89 authored by emerit's avatar emerit
Browse files

on going almost there

parent 7c59e004
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -609,11 +609,8 @@ static ivas_error DefaultBSplineModel(

    HRTF_model_precalc( model );

#ifdef FIX_TDREND_HRTF_FILE_FORMAT
    HrFiltSet_p->latency_s = (const float) defaultHRIR_rom_latency_s;
#else
    HrFiltSet_p->latency_s = defaultHRIR_rom_latency_s;
#endif

    HrFiltSet_p->SampleRate = output_Fs;
    HrFiltSet_p->FiltLength = HrFiltSet_p->ModelParams.K;

+10052 −10051

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ extern const int16_t defaultHRIR_rom_azim_start_idx[15];
extern const int16_t defaultHRIR_rom_azimSegSamples[1];
extern const int16_t defaultHRIR_rom_azimShapeIdx[15];
extern const int16_t defaultHRIR_rom_azimShapeSampFactor[15];
extern const uint32_t defaultHRIR_rom_elevKSeq[13];
extern const float defaultHRIR_rom_elevKSeq[13];
extern const uint32_t defaultHRIR_rom_AlphaL48[470 * 128];
extern const uint32_t defaultHRIR_rom_AlphaR48[470 * 128];
extern const uint32_t defaultHRIR_rom_AlphaL32[470 * 86];
@@ -78,7 +78,7 @@ extern const uint32_t defaultHRIR_rom_elevBsShape[36];
extern const uint32_t defaultHRIR_rom_azimBsShape[21];
extern const uint32_t defaultHRIR_rom_ITD_W[658];
extern const uint32_t defaultHRIR_rom_ITD_azimBsShape[84];
extern const uint32_t defaultHRIR_rom_ITD_azimKSeq[19];
extern const float defaultHRIR_rom_ITD_azimKSeq[19];
extern const uint32_t defaultHRIR_rom_ITD_elevBsShape[28];
extern const float defaultHRIR_rom_ITD_elevKSeq[16];
#ifdef FIX_989_TD_REND_ROM
+2 −2
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
/* Tables generated by the script at "scripts/binauralRenderer_interface/fastconv/generate_tables_for_fastconv.m */
/* Can be replaced by your own generated HRIR tables */
/*
 * Generated on 21-Mar-2024 with Matlab version 23.2.0.2485118 (R2023b) Update 6 by marcemerit on MACA64
 * Generated on 17-May-2024 with Matlab version 24.1.0.2578822 (R2024a) Update 2 by marcemerit on MACA64
*/
@@ -46955,7 +46955,7 @@ const uint32_t fastconvReverberationEneCorrections[CLDFB_NO_CHANNELS_MAX] =
/*
 * Generated on 21-Mar-2024 with Matlab version 23.2.0.2485118 (R2023b) Update 6 by marcemerit on MACA64
 * Generated on 17-May-2024 with Matlab version 24.1.0.2578822 (R2024a) Update 2 by marcemerit on MACA64
 * Binaural rendering data set based on BRIRs 
 Tables derived from Mozart IIS BRIRs.*/
+4 −4
Original line number Diff line number Diff line
@@ -1008,8 +1008,8 @@ typedef struct
#endif

#ifdef FIX_989_TD_REND_ROM
    const int16_t *azimBsLen;
    const int16_t *azimBsStart;
    int16_t *azimBsLen;
    int16_t *azimBsStart;
#else
    int16_t azimBsLen[HRTF_MODEL_BSPLINE_NUM_COEFFS];
    int16_t azimBsStart[HRTF_MODEL_BSPLINE_NUM_COEFFS];
@@ -1018,8 +1018,8 @@ typedef struct
    int16_t azimSegSamples;

#ifdef FIX_989_TD_REND_ROM
    const int16_t *elevBsLen;
    const int16_t *elevBsStart;
    int16_t *elevBsLen;
    int16_t *elevBsStart;
#else
    int16_t elevBsLen[HRTF_MODEL_BSPLINE_NUM_COEFFS];
    int16_t elevBsStart[HRTF_MODEL_BSPLINE_NUM_COEFFS];
Loading