Merge pull request #122 from tgfjt/patch-1

fix var name on README
This commit is contained in:
Yotam Mann 2016-02-04 16:41:17 -05:00
commit 5c92595d86

View file

@ -124,7 +124,7 @@ All instruments are monophonic (one voice) but can be made polyphonic when the c
//a 4 voice MonoSynth
var polySynth = new Tone.PolySynth(4, Tone.MonoSynth).toMaster();
//play a chord
polySimpleSynth.triggerAttackRelease(["C4", "E4", "G4", "B4"], "2n");
polySynth.triggerAttackRelease(["C4", "E4", "G4", "B4"], "2n");
```
[Read more about Instruments.](https://github.com/Tonejs/Tone.js/wiki/Instruments)