mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-14 12:53:59 +00:00
updated examples
This commit is contained in:
parent
8b62ceddac
commit
379e464618
1 changed files with 2 additions and 2 deletions
|
@ -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<TonePannerOptions> {
|
||||
|
@ -38,7 +38,7 @@ export class Panner extends ToneAudioNode<TonePannerOptions> {
|
|||
* @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">;
|
||||
|
||||
|
|
Loading…
Reference in a new issue