Skip to content

Commit

Permalink
Update abbreviation for kHz to follow SI units
Browse files Browse the repository at this point in the history
  • Loading branch information
barchard authored Jan 8, 2025
1 parent e519c20 commit 979ee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/spectrogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ class SpectrogramPlugin extends BasePlugin<SpectrogramPluginEvents, SpectrogramP
}

private unitType(freq) {
return freq >= 1000 ? 'KHz' : 'Hz'
return freq >= 1000 ? 'kHz' : 'Hz'
}

private getLabelFrequency(
Expand Down

0 comments on commit 979ee09

Please sign in to comment.