consistent naming + simplify
This commit is contained in:
parent
ce842f7561
commit
3c4f835d8b
2 changed files with 8 additions and 12 deletions
|
|
@ -123,11 +123,7 @@ function getReverb(orbit, duration = 2, fade, lp, dim) {
|
|||
reverbs[orbit].lp !== lp ||
|
||||
reverbs[orbit].dim !== dim
|
||||
) {
|
||||
reverbs[orbit].setDuration(duration, fade, lp, dim);
|
||||
reverbs[orbit].duration = duration;
|
||||
reverbs[orbit].fade = fade;
|
||||
reverbs[orbit].lp = lp;
|
||||
reverbs[orbit].dim = dim;
|
||||
reverbs[orbit].generate(duration, fade, lp, dim);
|
||||
}
|
||||
|
||||
return reverbs[orbit];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue