diff --git a/src/plugins/spectrogram.ts b/src/plugins/spectrogram.ts index 60cc953f4..8d234c975 100644 --- a/src/plugins/spectrogram.ts +++ b/src/plugins/spectrogram.ts @@ -732,7 +732,7 @@ class SpectrogramPlugin extends BasePlugin= 1000 ? 'KHz' : 'Hz' + return freq >= 1000 ? 'kHz' : 'Hz' } private getLabelFrequency(