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

DeconvolverNode #2385

Closed
mishushakov opened this issue Jun 2, 2021 · 6 comments
Closed

DeconvolverNode #2385

mishushakov opened this issue Jun 2, 2021 · 6 comments
Projects

Comments

@mishushakov
Copy link

Describe the feature

Consider adding a DeconvolverNode to subtract (deconvolve) impulse response/filter from a signal

Is there a prototype?
No

Describe the feature in more detail

https://en.wikipedia.org/wiki/Deconvolution

@rtoy
Copy link
Member

rtoy commented Jun 2, 2021

What is your use-case for this?

@mishushakov
Copy link
Author

i want to record an audio when playing a sound and then subtract the sound from the recording to get the reverb/impulse response

@rtoy
Copy link
Member

rtoy commented Jun 3, 2021

Today's teleconf: We feel this is outside the scope of WebAudio for your use case. WebAudio is about producing audio, and the use case it to obtain a reverb or impulse response.

@mishushakov
Copy link
Author

i think generally it fits the purpose of producing audio
the goal of deconvolution is to recreate the signal as it existed before the convolution took place

@rtoy
Copy link
Member

rtoy commented Jun 10, 2021

Teleconf today: We discussed this again. The general consensus was

  • No existing DAWs apparently have this
  • The solution generally requires knowledge of the signal and the noise to get the right algorithm.
  • Probably can't choose an algorithm that will satisfy everyone. * It seems that you're doing this in an offline manner. This could be done using an OfflineAudioContext with an AudioWorklet. Or just using a WASM implementation of your favorite deconvolution algorithm.

While many things could be added, we felt the use case for a deconvolver node was fairly limited.

We will not pursue this at the current time.

@mdjp mdjp transferred this issue from WebAudio/web-audio-api-v2 Sep 23, 2021
@mdjp mdjp added this to To do in v.next via automation Sep 23, 2021
@hoch
Copy link
Member

hoch commented Sep 15, 2022

TPAC 2022:
Per the comment above, we suggest to use AudioWorklet and WASM to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v.next
Untriaged
Development

No branches or pull requests

4 participants