roomsize
This commit is contained in:
parent
c5342d3eb0
commit
5018669ded
3 changed files with 12 additions and 4 deletions
|
|
@ -11,8 +11,9 @@ if (typeof AudioContext !== 'undefined') {
|
|||
const convolver = this.createConvolver();
|
||||
convolver.setDuration = (d) => {
|
||||
convolver.buffer = this.impulseResponse(d);
|
||||
convolver.duration = duration;
|
||||
return convolver;
|
||||
};
|
||||
this.duration = duration;
|
||||
convolver.setDuration(duration);
|
||||
return convolver;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue