Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit d743570

Browse files
committed
set delay time and feedback from voice
1 parent 1dac696 commit d743570

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/supradough/dough.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ export class Dough {
707707
if (this.voices[v].delay) {
708708
this.delaysend[0] += this.voices[v].l * this.voices[v].delay;
709709
this.delaysend[1] += this.voices[v].r * this.voices[v].delay;
710+
this.delaytime = this.voices[v].delaytime; // we trust that these are initialized in the voice
711+
this.delayfeedback = this.voices[v].delayfeedback;
710712
}
711713
}
712714
// todo: how to change delaytime / delayfeedback from a voice?

0 commit comments

Comments
 (0)