mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
light styling.
This commit is contained in:
parent
06b7c60a87
commit
ef80d1e81c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,6 @@ define(["Tone/core/Tone"], function(Tone){
|
|||
* @extends {Tone}
|
||||
*/
|
||||
Tone.Master = function(){
|
||||
//extend audio unit
|
||||
Tone.call(this);
|
||||
|
||||
/**
|
||||
|
@ -21,6 +20,7 @@ define(["Tone/core/Tone"], function(Tone){
|
|||
this.limiter = this.context.createDynamicsCompressor();
|
||||
this.limiter.threshold.value = 0;
|
||||
this.limiter.ratio.value = 20;
|
||||
|
||||
//connect it up
|
||||
this.chain(this.input, this.limiter, this.output, this.context.destination);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue