diff options
author | Lunar Journal <md.node.0@gmail.com> | 2024-01-29 17:45:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 17:45:51 +0200 |
commit | bf64932fb9b1207735f6568bc52a87b938cc7fd8 (patch) | |
tree | 35b597dfb3273ca37725357aaf5dbac04c96b018 /emu8910.js | |
parent | bc40409182f32446c5694eb7f3ecf8be84a803fb (diff) | |
download | emu8910-bf64932fb9b1207735f6568bc52a87b938cc7fd8.tar.gz emu8910-bf64932fb9b1207735f6568bc52a87b938cc7fd8.zip |
emu8910: core: fir: update filtering
Diffstat (limited to 'emu8910.js')
-rw-r--r-- | emu8910.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ var FirFilter = /** @class */ (function () { buffer[this.offset + i] = samples[i]; } for (i = 0; i < h.length; i++) { - y += h[i] * sub[i]; + y += h[i] * (sub[i] + sub[h.length - i - 1]); } for (i = 0; i < m; i++) { buffer[this.offset + length - m + i] = buffer[this.offset + i]; |