Skip to content

Commit 3e82967

Browse files
committed
Update AudioBufferSpectralInformation.cpp
1 parent 27ee73b commit 3e82967

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/Kaixo/SpectralRotator/Processing/AudioBufferSpectralInformation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Kaixo::Processing {
2020
float AudioBufferSpectralInformation::get(std::size_t x, std::size_t y) {
2121
std::size_t index = x * frameSize + y;
2222
if (index < intensity.size()) return intensity[index];
23-
else return 0;
23+
else return -145;
2424
}
2525

2626
// ------------------------------------------------
@@ -53,7 +53,7 @@ namespace Kaixo::Processing {
5353
// ------------------------------------------------
5454

5555
float AudioBufferSpectralInformation::intensityAt(float x, float dx, float y, float dy) {
56-
if (intensity.size() == 0) return 0;
56+
if (intensity.size() == 0) return -145;
5757

5858
float xval = x * (frames() - 2);
5959
if (dx < 1) {

0 commit comments

Comments
 (0)