2014-09-21 17:38:43 +00:00
|
|
|
define(["Tone/core/Tone", "Tone/effect/Chorus"], function(Tone){
|
2014-09-05 04:36:55 +00:00
|
|
|
|
|
|
|
/**
|
2014-09-21 17:38:43 +00:00
|
|
|
* named presets for the Chorus
|
2014-09-05 04:36:55 +00:00
|
|
|
* @const
|
|
|
|
* @static
|
|
|
|
* @type {Object}
|
|
|
|
*/
|
|
|
|
Tone.Chorus.prototype.preset = {
|
|
|
|
"ether" : {
|
|
|
|
"rate" : 0.3,
|
|
|
|
"delayTime" : 8,
|
|
|
|
"type" : "triangle",
|
|
|
|
"depth" : 0.8,
|
2014-12-04 02:37:58 +00:00
|
|
|
"feedback" : 0.2
|
2014-09-05 04:36:55 +00:00
|
|
|
},
|
|
|
|
"harmony" : {
|
|
|
|
"rate" : 12,
|
|
|
|
"delayTime" : 3.5,
|
|
|
|
"type" : "sine",
|
|
|
|
"depth" : 0.8,
|
2014-12-04 02:37:58 +00:00
|
|
|
"feedback" : 0.1
|
2014-09-05 04:36:55 +00:00
|
|
|
},
|
|
|
|
"rattler" : {
|
|
|
|
"rate" : "16n",
|
|
|
|
"delayTime" : 15,
|
|
|
|
"type" : "square",
|
|
|
|
"depth" : 0.2,
|
2014-12-04 02:37:58 +00:00
|
|
|
"feedback" : 0.3
|
2014-09-05 04:36:55 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
return Tone.Chorus.prototype.preset;
|
|
|
|
});
|