mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-10 02:48:47 +00:00
34 lines
No EOL
593 B
JavaScript
34 lines
No EOL
593 B
JavaScript
define(["Tone/core/Tone", "Tone/effect/Chorus"], function(Tone){
|
|
|
|
/**
|
|
* named presets for the Chorus
|
|
* @const
|
|
* @static
|
|
* @type {Object}
|
|
*/
|
|
Tone.Chorus.prototype.preset = {
|
|
"ether" : {
|
|
"rate" : 0.3,
|
|
"delayTime" : 8,
|
|
"type" : "triangle",
|
|
"depth" : 0.8,
|
|
"feedback" : 0.2
|
|
},
|
|
"harmony" : {
|
|
"rate" : 12,
|
|
"delayTime" : 3.5,
|
|
"type" : "sine",
|
|
"depth" : 0.8,
|
|
"feedback" : 0.1
|
|
},
|
|
"rattler" : {
|
|
"rate" : "16n",
|
|
"delayTime" : 15,
|
|
"type" : "square",
|
|
"depth" : 0.2,
|
|
"feedback" : 0.3
|
|
}
|
|
};
|
|
|
|
return Tone.Chorus.prototype.preset;
|
|
}); |