changing simpleSynth sounds

This commit is contained in:
Yotam Mann 2018-03-06 00:03:04 -05:00
parent 65f15a1ef2
commit 77c7b85da5

View file

@ -52,14 +52,19 @@
var synth = new Tone.Synth({
"oscillator" : {
"type" : "square"
"type" : "fmtriangle",
"modulationIndex" : 1.2,
"harmonicity" : 0.25,
"modulationType" : "sine"
},
"envelope" : {
"attack" : 0.01,
"attackCurve" : 'exponential',
"attack" : 0.05,
"decay" : 0.2,
"sustain" : 0.2,
"release" : 0.2,
}
"release" : 1.5,
},
"portamento" : 0.05
}).toMaster();
// GUI //