-
Notifications
You must be signed in to change notification settings - Fork 168
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
Input only / muted AudioContext #2411
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Virtual F2F summary:
|
TPAC 2020:
|
Teleconf Mar 11. Forgot to update this, but I think the conclusion is that the priority should be reduced from priority 1. Removing priority-1 label. |
AudioWG virtual F2F:
|
I think this can be almost closed as complete now that it is possible to use It looks like Chrome v111 which is the only browser implementing this so far still enforces the autoplay policy on a muted I created a little demo which only creates a muted AudioContext and prints it's state on the screen. https://stackblitz.com/edit/js-wncv2l?file=index.js |
2023 TPAC Audio WG Discussion: |
Describe the feature
I think using the Web Audio API to drive some visualization or to only analyze the incoming audio is a very common use case. I therefore think it makes sense to allow creating an
AudioContext
without any output. It could reduce the energy consumption because the output device can be turned off and such anAudioContext
could be allowed to start without any user interaction.Is there a prototype?
No.
Describe the feature in more detail
I think of this feature as an equivalent to
<video muted/>
which allows videos to be played without requiring any user gesture.Given that #2400 will be added to the spec which will allow to specify the output device by setting the
sinkId
the API for muting anAudioContext
might look like this:This is also related to WebAudio/web-audio-api-v2#82 which proposes to add a similar thing for the
OfflineAudioContext
.The text was updated successfully, but these errors were encountered: