Tone.js/Tone/instrument/preset/PluckSynth.preset.js
2015-03-03 11:19:53 -05:00

28 lines
No EOL
500 B
JavaScript

define(["Tone/core/Tone", "Tone/effect/PluckSynth"], function(Tone){
/**
* named presets for the PluckSynth
* @const
* @static
* @type {Object}
*/
Tone.PluckSynth.prototype.preset = {
"Glassy" : {
"attackNoise": 4,
"dampening": 9200,
"resonance": 1
},
"Violin" : {
"attackNoise": 8,
"dampening": 3200,
"resonance": 0.8
},
"Plucky" : {
"attackNoise": 0.8,
"dampening": 2600,
"resonance": 0.54
}
};
return Tone.PluckSynth.prototype.preset;
});