OfflineAudioContext Incremental Rendering#2675
Open
gabrielsanbrito wants to merge 2 commits into
Open
Conversation
Contributor
Author
|
@hoch @padenot @mjwilson-google, this is the first draft for While writing this, we had some open questions that might be better to discuss here:
(unfortunately, there is no preview available, but I think there might be something actually broken in the repo's CI pipeline) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes changes to the Web Audio spec to enable rendering audio from
OfflineAudioContextsin chunks.Github issue: #2445
Feature explainer: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/OfflineAudioContext/explainer.md
💥 Error: 422 Unprocessable Entity 💥
PR Preview failed to build. (Last tried on Jun 5, 2026, 10:37 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 Spec Generator - Spec Generator is the web service used to build bikeshed/ReSpec specs
🔗 Related URL
Error output:
[ { "lineNum": "4239:25", "messageType": "warning", "text": "At least one <img> doesn't have its size set (<img bs-line-number=\"4239:25\" alt=\"Graphical representation of calling cancelAndHoldAtTime when linearRampToValueAtTime has been called at this time.\" src=\"images/cancel-linear.svg\" style=\"height:75%;width:75%\">), but given the type of input document, Bikeshed can't figure out what the size should be.\nEither set 'width'/'height' manually, or opt out of auto-detection by setting the 'no-autosize' attribute." }, { "lineNum": "2554:9", "messageType": "fatal", "text": "Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block." }, { "lineNum": "3738:9", "messageType": "fatal", "text": "Can't find the 'destinationNode' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "3738:9", "messageType": "fatal", "text": "Can't find the 'input' argument of method 'AudioNode/connect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "3839:9", "messageType": "fatal", "text": "Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "3852:9", "messageType": "fatal", "text": "Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "3867:9", "messageType": "fatal", "text": "Can't find the 'destinationNode' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "3867:9", "messageType": "fatal", "text": "Can't find the 'input' argument of method 'AudioNode/disconnect(destinationParam, output)' in the argumentdef block." }, { "lineNum": "261:36", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "309:39", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "633:5", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "1213:9", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "2960:15", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 4859:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 4859:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 5273:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 5273:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 5931:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 5931:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 5951:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 5951:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 6413:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 6413:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 6990:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 6990:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 7106:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 7106:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 7223:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 7223:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 7318:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 7318:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 7593:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 7593:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 7771:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 7771:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 8232:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 8232:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 8344:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 8344:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "8490:51", "messageType": "link", "text": "Multiple possible 'audio' element refs.\nArbitrarily chose https://html.spec.whatwg.org/multipage/media.html#audio\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:html; type:element; text:audio\nspec:epub-34; type:element; text:audio" }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 8626:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 8626:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 8916:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 8916:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 9175:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 9175:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 9951:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 9951:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 10020:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 10020:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 10133:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 10133:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "23:9 of file 'audionode.include' (included by a block on 10774:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-MODE]'." }, { "lineNum": "27:9 of file 'audionode.include' (included by a block on 10774:1)", "messageType": "link", "text": "No 'idl' refs found for '[CC-INTERP]'." }, { "lineNum": "13443:1", "messageType": "warning", "text": "W3C policy requires Privacy Considerations and Security Considerations to be separate sections, but you appear to have them combined into one." }, { "lineNum": null, "messageType": "failure", "text": "Did not generate, due to errors exceeding the allowed error level." } ]This seems to be an issue with the Spec Generator service. PR Preview doesn't manage this service and so has no control over it. If you've identified an issue with it, you can report the issue to the maintainers of Spec Generator directly. Please be courteous. Thank you!
If you don't have enough information above to solve the error by yourself or if the issue doesn't seem related to Spec Generator, you can file an issue with PR Preview.