mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-08 18:08:46 +00:00
13 lines
No EOL
300 B
JavaScript
13 lines
No EOL
300 B
JavaScript
|
|
define(["Tone/core/Tone", "Tone/component/Envelope", "Tone/source/Oscillator"], function(Tone){
|
|
|
|
|
|
Tone.MonoSynth = function(){
|
|
//one oscillator
|
|
this.oscillator = this.context.createOscillator();
|
|
this.glideTime = .01;
|
|
this.filterEnvelope = new Tone.Envelope();
|
|
}
|
|
|
|
return Tone.MonoSynth;
|
|
}) |