From 4b6b1f7841d96e7e86bbed752e97e441a4c64864 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 21 Oct 2023 21:18:01 +0900 Subject: [PATCH] Fix typo in fft.js inital -> initial --- src/renderer/plugins/player/pitch-shifter/fft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/plugins/player/pitch-shifter/fft.js b/src/renderer/plugins/player/pitch-shifter/fft.js index db3be21bf8..6183ae0151 100644 --- a/src/renderer/plugins/player/pitch-shifter/fft.js +++ b/src/renderer/plugins/player/pitch-shifter/fft.js @@ -21,7 +21,7 @@ function FFT(size) { for (let t = 1; this.size > t; t <<= 1) { power++ } // Calculate initial step's width: - // * If we are full radix-4 - it is 2x smaller to give inital len=8 + // * If we are full radix-4 - it is 2x smaller to give initial len=8 // * Otherwise it is the same as `power` to give len=4 this._width = power % 2 === 0 ? power - 1 : power