adjust control range
This commit is contained in:
parent
28c94efaa9
commit
da81ba00fb
1 changed files with 2 additions and 2 deletions
|
|
@ -308,10 +308,10 @@ class DJFProcessor extends AudioWorkletProcessor {
|
|||
let filterType = 'none';
|
||||
let cutoff;
|
||||
let v = 1;
|
||||
if (value > 0.5) {
|
||||
if (value > 0.52) {
|
||||
filterType = 'hipass';
|
||||
v = (value - 0.5) * 2;
|
||||
} else if (value < 0.5) {
|
||||
} else if (value < 0.48) {
|
||||
filterType = 'lopass';
|
||||
v = value * 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue