diff --git a/turntable/gui.py b/turntable/gui.py index 1078f50..1a023b4 100644 --- a/turntable/gui.py +++ b/turntable/gui.py @@ -78,7 +78,7 @@ class Plot: data = self.spectrum() if len(data) == 0: return - fft = np.mean( + fft = np.max( np.reshape( data[: len(data) // self.bars * self.bars], (-1, len(data) // self.bars) ),