delay as global send via orbit

This commit is contained in:
Felix Roos 2022-09-24 21:45:23 +02:00
parent f7e3f7d187
commit f76d03a0dc
2 changed files with 39 additions and 13 deletions

View file

@ -7,6 +7,7 @@ if (typeof DelayNode !== 'undefined') {
const feedbackGain = ac.createGain();
feedbackGain.gain.value = Math.min(Math.abs(feedback), 0.995);
this.feedback = feedbackGain.gain;
const delayGain = ac.createGain();
delayGain.gain.value = wet;