diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-06 13:28:12 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-06 13:28:12 +0100 |
| commit | 25fec83f6f7db468721a38adb2c84a0c0a2121f1 (patch) | |
| tree | 5ea8b40951e98639b88b0378618a9ca2f835de7a /client/lib/output.js | |
displaying waveform and spectrogram
Diffstat (limited to 'client/lib/output.js')
| -rw-r--r-- | client/lib/output.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/lib/output.js b/client/lib/output.js new file mode 100644 index 0000000..53901b3 --- /dev/null +++ b/client/lib/output.js @@ -0,0 +1,8 @@ +import Tone from 'tone' + +// const compressor = new Tone.Compressor(-30, 3).toMaster() + +const compressor = new Tone.Compressor(-30, 3).toMaster() +const gain = new Tone.Gain(1).connect(compressor) + +export default gain |
