mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-25 10:05:02 +00:00
c7f7fbd31b
used to say AutoWah incorrectly.
34 lines
No EOL
570 B
JavaScript
34 lines
No EOL
570 B
JavaScript
define(["Tone/core/Tone", "Tone/effect/Phaser"], function(Tone){
|
|
|
|
/**
|
|
* named presets for the Phaser
|
|
* @const
|
|
* @static
|
|
* @type {Object}
|
|
*/
|
|
Tone.Phaser.prototype.preset = {
|
|
"testing" : {
|
|
"rate" : 10,
|
|
"depth" : 0.2,
|
|
"Q" : 2,
|
|
"baseFrequency" : 700,
|
|
"feedback" : 0
|
|
},
|
|
"landing" : {
|
|
"rate" : 4,
|
|
"depth" : 1.2,
|
|
"Q" : 20,
|
|
"baseFrequency" : 800,
|
|
"feedback" : 0.9
|
|
},
|
|
"bubbles" : {
|
|
"rate" : 0.5,
|
|
"depth" : 5,
|
|
"Q" : 8,
|
|
"baseFrequency" : 250,
|
|
"feedback" : 0.5
|
|
}
|
|
};
|
|
|
|
return Tone.Phaser.prototype.preset;
|
|
}); |