From 742a965d33280d096f70ca09c3eeb5c7d81c38db Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Sat, 18 Jul 2020 10:41:36 -0700 Subject: [PATCH] fixing example --- Tone/component/analysis/FFT.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tone/component/analysis/FFT.ts b/Tone/component/analysis/FFT.ts index db204796..a7d81838 100644 --- a/Tone/component/analysis/FFT.ts +++ b/Tone/component/analysis/FFT.ts @@ -83,7 +83,7 @@ export class FFT extends MeterBase { * Returns the frequency value in hertz of each of the indices of the FFT's [[getValue]] response. * @example * const fft = new Tone.FFT(32); - * console.log(fft.getIndexFrequency()); + * console.log(fft.getFrequencyOfIndex()); */ getFrequencyOfIndex(index: number): Hertz { assert(0 <= index && index < this.size, `index must be greater than or equal to 0 and less than ${this.size}`);