small doc enhancements for chorus, distortion, and FFT

This commit is contained in:
Quargs Greene 2022-10-22 15:47:23 -07:00
parent d463286891
commit 34f4c149d2
3 changed files with 5 additions and 4 deletions

View file

@ -13,6 +13,7 @@ export interface FFTOptions extends MeterBaseOptions {
/**
* Get the current frequency data of the connected audio source using a fast Fourier transform.
* Read more about FFT algorithms on [Wikipedia] (https://en.wikipedia.org/wiki/Fast_Fourier_transform).
* @category Component
*/
export class FFT extends MeterBase<FFTOptions> {

View file

@ -10,7 +10,7 @@ export interface DistortionOptions extends EffectOptions {
/**
* A simple distortion effect using Tone.WaveShaper.
* Algorithm from [this stackoverflow answer](http://stackoverflow.com/a/22313408).
*
* Read more about distortion on [Wikipedia] (https://en.wikipedia.org/wiki/Distortion_(music)).
* @example
* const dist = new Tone.Distortion(0.8).toDestination();
* const fm = new Tone.FMSynth().connect(dist);