2016-05-23 23:49:41 +00:00
|
|
|
define(["Tone/core/Tone", "Tone/instrument/Synth"],
|
2015-05-23 22:26:16 +00:00
|
|
|
function(Tone){
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/**
|
2016-05-23 23:49:41 +00:00
|
|
|
* @class Now called Tone.Synth
|
2015-05-23 22:26:16 +00:00
|
|
|
* @constructor
|
|
|
|
* @extends {Tone.Monophonic}
|
|
|
|
*/
|
|
|
|
Tone.SimpleSynth = function(options){
|
2016-05-23 23:49:41 +00:00
|
|
|
console.warn("Tone.SimpleSynth is now called Tone.Synth");
|
|
|
|
Tone.Synth.call(this, options);
|
2015-05-23 22:26:16 +00:00
|
|
|
};
|
|
|
|
|
2016-05-23 23:49:41 +00:00
|
|
|
Tone.extend(Tone.SimpleSynth, Tone.Synth);
|
2015-05-23 22:26:16 +00:00
|
|
|
|
|
|
|
return Tone.SimpleSynth;
|
|
|
|
});
|