Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ConvolverNode": provide a simpler example that I can adapt to more complex examples (connecting it to another node does not work) #14022

Open
y-71 opened this issue Mar 18, 2022 · 0 comments
Labels
area: Web Audio Content:WebAPI Web API docs effort: medium This task is a medium effort. help wanted If you know something about this topic, we would love your help!

Comments

@y-71
Copy link

y-71 commented Mar 18, 2022

MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode

What information was incorrect, unhelpful, or incomplete?

The convolver node doesn't seem to work when connected to another node directly

Specific section or headline?

The example section, it's only for samples

What did you expect to see?

to see a simpler example that i can adapt to more complex examples

Did you test this? If so, how?

I'm trying to create an emulation of a eurorack module.

I'm failing to connect the convolver node to the enveloppe output.

The convolver node doesn't seem to work for any oscillator also

I expected it to be because of the fact that the buffer is null which seemed a weird design at first but I tried it and it also didn't work.

I was expecting the code to run like this:

const osc = ctx.createOscillator();
const reverb = ctx.createConvolver();
reverb.buffer = ctx.createBuffer(1, ctx.sampleRate, ctx.sampleRate);
osc.connect(reverb).connect(ctx.destination);

this js fiddle contains my code. http://jsfiddle.net/5ndbfypj/7/

i've connected both the convolver node and the nvelop output to the context's destination.

MDN Content page report details
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 18, 2022
@y-71 y-71 changed the title Issue with "ConvolverNode": (short summary here please) Mar 18, 2022
@sideshowbarker sideshowbarker changed the title Issue with "ConvolverNode": (connecting it to another node does not work) Mar 19, 2022
@sideshowbarker sideshowbarker added help wanted If you know something about this topic, we would love your help! Content:WebAPI Web API docs effort: medium This task is a medium effort. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Web Audio Content:WebAPI Web API docs effort: medium This task is a medium effort. help wanted If you know something about this topic, we would love your help!
4 participants