updating example

This commit is contained in:
Yotam Mann 2019-11-03 22:23:56 -05:00
parent 14883653b6
commit ae2ec70d23

View file

@ -56,6 +56,9 @@ export class DuoSynth extends Monophonic<DuoSynthOptions> {
* 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;
*/