AudioWorkletProcessor is missing required function
See original GitHub issueSee: https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor/process
The documentation notes:
Although the method is not a part of the AudioWorkletProcessor interface, any implementation of AudioWorkletProcessor must provide a process() method.
So to add this requirement I think it should be added to the interface. Like this:
type AudioWorkletProcessorParamMap = { [key: string]: Float32Array };
interface AudioWorkletProcessor {
readonly port: MessagePort;
process(inputs: Float32Array[][], outputs: Float32Array[][], parameters: AudioWorkletProcessorParamMap): boolean;
}
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
AudioWorkletProcessor type definition is missing · Issue #28308
AudioWorkletProcessor is a type only for AudioWorklet . Do we want to add dom.audioworklet.d.ts for this, or do we have to add all...
Read more >Web Audio API: outputChannelCount not working when I ...
When I do this, I don't get 2 output channels as I specified, instead I only get 1 output channel. class Processor extends...
Read more >AudioWorkletProcessor() - Web APIs - MDN Web Docs
An object that is passed as options parameter to the AudioWorkletNode constructor and passed through the structured clone algorithm. Available ...
Read more >Quick guide to AudioWorklet - DEV Community
Processing the audio while recording in real-time. This article is a guide to how Ponder accomplishes these requirements using AudioWorklet.
Read more >Audio and Music Analysis on the Web using Essentia.js. - Gale
This is not surprising considering that many ML audio models require a spectral ... essentia.js-plot provides helper functions for visualization of MIR ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure should be decided by a maintainer.
@saschanaz ?
Closing because @saschanaz is one of the code-owners of this repository.