mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
filter gain is in decibels
This commit is contained in:
parent
ac53bcbcf9
commit
20378f6d5a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue