diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-05-27 18:12:46 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-05-27 18:12:46 +0200 |
| commit | dfcdf790e3879678d8b3a9b729cca03174b32d55 (patch) | |
| tree | fcc86c5699b101fd632bc5fbccb97b0aa49f0629 /client/lib/output.js | |
| parent | 93a79463d42909928b4db9961e0cb1c40f847639 (diff) | |
quieter. rightclick to recenter fractions
Diffstat (limited to 'client/lib/output.js')
| -rw-r--r-- | client/lib/output.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/lib/output.js b/client/lib/output.js index 2155009..9947327 100644 --- a/client/lib/output.js +++ b/client/lib/output.js @@ -1,5 +1,8 @@ -import Tone from 'tone' +import Tone from "tone"; -const compressor = new Tone.Compressor(-30, 3).toMaster() +const compressor = new Tone.Compressor(-30, 3); +const gain = new Tone.Gain(0.3); +compressor.connect(gain); +gain.toMaster(); -export default compressor +export default compressor; |
