filter gain is in decibels

This commit is contained in:
Yotam Mann 2018-06-07 12:12:28 -04:00
parent ac53bcbcf9
commit 20378f6d5a

View file

@ -51,7 +51,8 @@ define(["Tone/core/Tone", "Tone/signal/Signal", "Tone/core/AudioNode"], function
*/
this.gain = new Tone.Signal({
"value" : options.gain,
"convert" : false
"convert" : true,
"type" : Tone.Type.Decibels
});
/**