fix: conflicts
This commit is contained in:
parent
b25b9d815b
commit
2d750a14b9
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ let reverbs = {};
|
||||||
|
|
||||||
let hasChanged = (now, before) => now !== undefined && now !== before;
|
let hasChanged = (now, before) => now !== undefined && now !== before;
|
||||||
|
|
||||||
function getReverb(orbit, duration = 2, fade, lp, dim, ir) {
|
function getReverb(orbit, duration, fade, lp, dim, ir) {
|
||||||
|
// If no reverb has been created for a given orbit, create one
|
||||||
if (!reverbs[orbit]) {
|
if (!reverbs[orbit]) {
|
||||||
const ac = getAudioContext();
|
const ac = getAudioContext();
|
||||||
const reverb = ac.createReverb(duration, fade, lp, dim, ir);
|
const reverb = ac.createReverb(duration, fade, lp, dim, ir);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue