Tone.js/Tone/instrument/preset/DuoSynth.preset.js

132 lines
2.3 KiB
JavaScript
Raw Normal View History

2014-09-02 20:57:46 +00:00
define(["Tone/core/Tone", "Tone/instrument/DuoSynth"], function(Tone){
/**
* named presets for the DuoSynth
* @const
* @static
* @type {Object}
*/
2014-09-04 23:13:55 +00:00
Tone.DuoSynth.prototype.preset = {
2014-09-02 20:57:46 +00:00
"Steely" : {
"vibratoAmount" : 0.0,
"vibratoRate" : 5,
"vibratoDelay" : 1,
"portamento" : 0,
2014-09-03 18:53:05 +00:00
"harmonicity" : 1.99,
2014-09-02 20:57:46 +00:00
"voice0" : {
2014-09-02 21:10:33 +00:00
"volume" : -8,
2014-09-02 20:57:46 +00:00
"portamento" : 0,
2014-10-01 02:49:17 +00:00
"oscillator" : {
"type" : "square"
},
2014-09-02 20:57:46 +00:00
"filter" : {
"Q" : 2,
"type" : "lowpass",
"rolloff" : -12
},
"envelope" : {
"attack" : 0.01,
"decay" : 1,
"sustain" : 0,
"release" : 0.4
},
"filterEnvelope" : {
"attack" : 0.001,
"decay" : 0.01,
"sustain" : 0.35,
"release" : 1,
"min" : 20,
"max" : 8000
}
},
"voice1" : {
2014-09-02 21:10:33 +00:00
"volume" : -1,
2014-09-02 20:57:46 +00:00
"portamento" : 0,
2014-10-01 02:49:17 +00:00
"oscillator" : {
"type" : "sine"
},
2014-09-02 20:57:46 +00:00
"filter" : {
"Q" : 2,
"type" : "lowpass",
"rolloff" : -12
},
"envelope" : {
"attack" : 0.25,
"decay" : 4,
"sustain" : 0,
"release" : 0.8
},
"filterEnvelope" : {
"attack" : 0.03,
"decay" : 0.25,
"sustain" : 0.7,
"release" : 1,
"min" : 1000,
"max" : 2500
}
}
},
2014-09-06 22:09:25 +00:00
"Unicorn" : {
2014-09-02 20:57:46 +00:00
"vibratoAmount" : 0.5,
"vibratoRate" : 5,
"vibratoDelay" : 1,
"portamento" : 0.1,
2014-09-03 18:53:05 +00:00
"harmonicity" : 1.005,
2014-09-02 20:57:46 +00:00
"voice0" : {
2014-09-02 21:10:33 +00:00
"volume" : -2,
2014-09-02 20:57:46 +00:00
"portamento" : 0,
2014-10-01 02:49:17 +00:00
"oscillator" : {
"type" : "sawtooth"
},
2014-09-02 20:57:46 +00:00
"filter" : {
"Q" : 1,
"type" : "lowpass",
"rolloff" : -24
},
"envelope" : {
"attack" : 0.01,
"decay" : 0.25,
"sustain" : 0.4,
"release" : 1.2
},
"filterEnvelope" : {
"attack" : 0.001,
"decay" : 0.05,
"sustain" : 0.3,
"release" : 2,
"min" : 100,
"max" : 10000
}
},
"voice1" : {
2014-09-02 21:10:33 +00:00
"volume" : -10,
2014-09-02 20:57:46 +00:00
"portamento" : 0,
2014-10-01 02:49:17 +00:00
"oscillator" : {
"type" : "sawtooth"
},
2014-09-02 20:57:46 +00:00
"filter" : {
"Q" : 2,
"type" : "bandpass",
"rolloff" : -12
},
"envelope" : {
"attack" : 0.25,
"decay" : 4,
"sustain" : 0.1,
"release" : 0.8
},
"filterEnvelope" : {
"attack" : 0.05,
"decay" : 0.05,
"sustain" : 0.7,
"release" : 2,
"min" : 5000,
"max" : 2000
}
}
}
};
2014-09-04 23:13:55 +00:00
return Tone.DuoSynth.prototype.preset;
2014-09-02 20:57:46 +00:00
});