Skip to content
Snippets Groups Projects
Commit a5bc0c70 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Update compressors

parent ef319f14
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ class EchoEffect {
this.decay.gain.value = 0.3;
this.compressor = this.audioContext.createDynamicsCompressor();
this.compressor.threshold.value = -30;
this.compressor.knee.value = 40;
this.compressor.threshold.value = -5;
this.compressor.knee.value = 15;
this.compressor.ratio.value = 12;
this.compressor.attack.value = 0;
this.compressor.release.value = 0.25;
......
......@@ -59,13 +59,12 @@ class RobotEffect {
const vcDiode4 = createDiodeNode(this.audioContext);
const compressor = this.audioContext.createDynamicsCompressor();
compressor.threshold.value = -35;
compressor.knee.value = 40;
compressor.threshold.value = -5;
compressor.knee.value = 15;
compressor.ratio.value = 12;
compressor.attack.value = 0;
compressor.release.value = 0.25;
const biquadFilter = this.audioContext.createBiquadFilter();
biquadFilter.type = 'highpass';
biquadFilter.frequency.value = 1000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment