mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 16:48:00 +00:00
49 lines
No EOL
826 B
JavaScript
49 lines
No EOL
826 B
JavaScript
define(["Tone/core/Tone", "Tone/effect/AutoWah"], function(Tone){
|
|
|
|
/**
|
|
* named presets for the AutoWah
|
|
* @const
|
|
* @static
|
|
* @type {Object}
|
|
*/
|
|
Tone.AutoWah.prototype.preset = {
|
|
"Talker" : {
|
|
"baseFrequency" : 100,
|
|
"octaves" : 4,
|
|
"sensitivity" : 0,
|
|
"Q" : 2,
|
|
"gain" : 10,
|
|
"rolloff" : -12,
|
|
"follower" : {
|
|
"attack" : 0.05,
|
|
"release" : 0.2
|
|
}
|
|
},
|
|
"Yes" : {
|
|
"baseFrequency" : 250,
|
|
"octaves" : 5,
|
|
"sensitivity" : 0,
|
|
"Q" : 2,
|
|
"gain" : 20,
|
|
"rolloff" : -24,
|
|
"follower" : {
|
|
"attack" : 0.1,
|
|
"release" : 0.2
|
|
}
|
|
},
|
|
"Springy" : {
|
|
"baseFrequency" : 10,
|
|
"octaves" : 8,
|
|
"sensitivity" : 0,
|
|
"Q" : 1,
|
|
"gain" : 10,
|
|
"rolloff" : -48,
|
|
"follower" : {
|
|
"attack" : 0.02,
|
|
"release" : 1
|
|
}
|
|
}
|
|
};
|
|
|
|
return Tone.AutoWah.prototype.preset;
|
|
}); |