summaryrefslogtreecommitdiff
path: root/client/lib/spectrum.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-03-12 02:55:52 +0100
committerJules Laplace <julescarbon@gmail.com>2018-03-12 02:55:52 +0100
commit5e1f469a09192b87eaecb34505b87a14b5568b79 (patch)
tree7fa29814ab8c6dee4ec7ac50c218008a93333232 /client/lib/spectrum.js
parent539268e25a0a7a2f7ac37c6198314cc264f943a1 (diff)
le preset
Diffstat (limited to 'client/lib/spectrum.js')
-rw-r--r--client/lib/spectrum.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/lib/spectrum.js b/client/lib/spectrum.js
index 1dd9619..584d8b5 100644
--- a/client/lib/spectrum.js
+++ b/client/lib/spectrum.js
@@ -215,8 +215,8 @@ function reorderBins(spec, order){
col = data[i]
new_col = new_data[i] = data[i].concat()
col[0] = 0
- // col[2] = 0
- // col[4] = 0
+ col[2] = 0
+ col[4] = 0
for (j = 0; j < fft_size/2; j++) {
new_col[j*2] = col[order[j]*2]
new_col[j*2+1] = col[order[j]*2+1]