From 379e46461858faf6811f3bf278b288ba70338fdd Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Thu, 16 Apr 2020 23:32:39 -0400 Subject: [PATCH] updated examples --- Tone/component/channel/Panner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tone/component/channel/Panner.ts b/Tone/component/channel/Panner.ts index b46a0fa9..897de0c0 100644 --- a/Tone/component/channel/Panner.ts +++ b/Tone/component/channel/Panner.ts @@ -16,7 +16,7 @@ interface TonePannerOptions extends ToneAudioNodeOptions { * // move the input signal from right to left * const panner = new Tone.Panner(1).toDestination(); * panner.pan.rampTo(-1, 0.5); - * const osc = new Tone.Oscillator().connect(panner).start(); + * const osc = new Tone.Oscillator(100).connect(panner).start(); * @category Component */ export class Panner extends ToneAudioNode { @@ -38,7 +38,7 @@ export class Panner extends ToneAudioNode { * @example * // pan hard left * const panner = new Tone.Panner(-1).toDestination(); - * const osc = new Tone.Oscillator().connect(panner).start(); + * const osc = new Tone.Oscillator(50, "triangle").connect(panner).start(); */ readonly pan: Param<"audioRange">;