From 636b62aa6d0d77e19a4b7bb3c039924eeb217a71 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 3 Mar 2018 05:38:35 +0100 Subject: hall demo --- client/lib/output.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 client/lib/output.js (limited to 'client/lib/output.js') 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 -- cgit v1.2.3-70-g09d2