From 979ee09432127a8c596507987efc2e3c3410a0b8 Mon Sep 17 00:00:00 2001 From: barchard Date: Wed, 8 Jan 2025 09:56:18 -0500 Subject: [PATCH] Update abbreviation for kHz to follow SI units https://en.wikipedia.org/wiki/Hertz --- src/plugins/spectrogram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(