From ae2ec70d23c2055dd5d370b543cb83d4fa479c9e Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Sun, 3 Nov 2019 22:23:56 -0500 Subject: [PATCH] updating example --- Tone/instrument/DuoSynth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tone/instrument/DuoSynth.ts b/Tone/instrument/DuoSynth.ts index 462064d8..c94588d0 100644 --- a/Tone/instrument/DuoSynth.ts +++ b/Tone/instrument/DuoSynth.ts @@ -56,6 +56,9 @@ export class DuoSynth extends Monophonic { * Harmonicity is the ratio between the two voices. A harmonicity of * 1 is no change. Harmonicity = 2 means a change of an octave. * @example + * import { DuoSynth } from "tone"; + * const duoSynth = new DuoSynth().toDestination(); + * duoSynth.triggerAttackRelease("C4", "2n"); * // pitch voice1 an octave below voice0 * duoSynth.harmonicity.value = 0.5; */