Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bruse committed May 24, 2024
1 parent 0735430 commit 872b1cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/zimt/zimtohrli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <iostream>
#include <limits>
#include <optional>
#include <utility>
Expand Down Expand Up @@ -309,7 +310,7 @@ void Zimtohrli::Spectrogram(
std::vector<float> gains;
for (size_t i = 0; i < cam_filterbank->filter.Size(); ++i) {
freqs.push_back(cam_filterbank->thresholds_hz[{1}][i]);
gains.push_back(tabuli::GetRotatorGains(gains.size()));
gains.push_back(1.0);
}
tabuli::Rotators rots(1, freqs, gains, cam_filterbank->sample_rate, 1.0f);
rots.Filter(signal, channels);
Expand Down
Binary file modified go/goohrli/goohrli.a
Binary file not shown.

0 comments on commit 872b1cb

Please sign in to comment.