You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just build your ZamHeadX2 plugin, and on the way to understand the parameters, i think i came across a bug. It seems that the dimensions of the fir_left/right arrays are swapped:
Fixes#98 - array indices swapped.
The array indices weren't actually swapped, but
the ranges were defined incorrectly resulting in only
some of the filters being used, rather than filter
coefficients being mixed up/corrupted.
Hi,
I just build your ZamHeadX2 plugin, and on the way to understand the parameters, i think i came across a bug. It seems that the dimensions of the fir_left/right arrays are swapped:
void ZamHeadX2Plugin::reload()
elev 0 - 24
azim 0 - 49
clv_configure("convolution.ir.preset", elev, azim);
.
.
.
LV2convolv::clv_configure (const char *key, const char elev, const char azim)
ir_presetx = atoi(elev); // 0 - 24
ir_presety = atoi(azim); // 0 - 49
.
.
.
LV2convolv::clv_initialize (
fir_coeffs_lr[2 * i] = fir_left[ir_presetx][ir_presety][i];
fir_coeffs_lr[2 * i + 1] = fir_right[ir_presetx][ir_presety][i];
here we have fir_left[ 0 - 24 ][ 0 - 49 ] [i]
but it was defined with swapped ranges:
static const float fir_left[50][25][200] = {
The text was updated successfully, but these errors were encountered: