Commit a788f0da authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

fix build and typo in pyaudio3dtools coefficients

parent 006afa87
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -760,7 +760,7 @@ const LS_CONVERSION_MATRIX ls_conversion_cicp12_cicp16[] =
    {75, 1.0f}
};

#define FIX_I54_LS_CONVERSION
#ifdef FIX_I54_LS_CONVERSION
const LS_CONVERSION_MATRIX ls_conversion_cicp12_cicp19[] =
{
    /* First row indicates the number of non-zero elements */
+3 −3
Original line number Diff line number Diff line
@@ -78,17 +78,17 @@ IVAS_CICP14_TO_6 = IVAS_CICP14_TO_6.reshape(8, 6)

IVAS_CICP16_TO_6 = np.zeros(10 * 6)
IVAS_CICP16_TO_6[[0, 7, 14, 21, 28, 35]] = 1
IVAS_CICP16_TO_6[[36, 43, 52, 59]] = 0.89999964
IVAS_CICP16_TO_6[[36, 43, 52, 59]] = 0.849999964
IVAS_CICP16_TO_6 = IVAS_CICP16_TO_6.reshape(10, 6)

IVAS_CICP16_TO_12 = np.zeros(10 * 8)
IVAS_CICP16_TO_12[[0, 9, 18, 27, 36, 45]] = 1
IVAS_CICP16_TO_12[[48, 57, 68, 77]] = 0.89999964
IVAS_CICP16_TO_12[[48, 57, 68, 77]] = 0.849999964
IVAS_CICP16_TO_12 = IVAS_CICP16_TO_12.reshape(10, 8)

IVAS_CICP16_TO_14 = np.zeros(10 * 8)
IVAS_CICP16_TO_14[[0, 9, 18, 27, 36, 45, 54, 63]] = 1
IVAS_CICP16_TO_14[[68, 77]] = 0.899999964
IVAS_CICP16_TO_14[[68, 77]] = 0.849999964
IVAS_CICP16_TO_14 = IVAS_CICP16_TO_14.reshape(10, 8)

IVAS_CICP19_TO_6 = np.zeros(12 * 6)