fix duck
This commit is contained in:
parent
fdcdc3aaa0
commit
1eb9dc73fa
2 changed files with 4 additions and 2 deletions
|
|
@ -179,7 +179,8 @@ export class SuperdoughAudioController {
|
|||
const onset = onsetArr[idx] ?? onsetArr[0];
|
||||
const attack = Math.max(attackArr[idx] ?? attackArr[0], 0.002);
|
||||
const depth = depthArr[idx] ?? depthArr[0];
|
||||
orbit.duck({ t, onsettime: onset, attacktime: attack, depth });
|
||||
|
||||
orbit.duck(t, onset, attack, depth);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue