mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-17 00:58:09 +00:00
28 lines
No EOL
500 B
JavaScript
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;
|
|
}); |