Skip to content

Add Stop button to AudioWorklet demos missing one - #474

Open
Aditya30ag wants to merge 2 commits into
GoogleChromeLabs:mainfrom
Aditya30ag:fix/audio-worklet-stop-button
Open

Aditya30ag wants to merge 2 commits into
GoogleChromeLabs:mainfrom
Aditya30ag:fix/audio-worklet-stop-button

Conversation

@Aditya30ag

@Aditya30ag Aditya30ag commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Several AudioWorklet demos only provide a START button, with no way to stop playback without reloading the page.

Add a visible STOP button to the affected demos. The button should suspend the audio context and re-enable START. Also guard worklet loading and graph setup so repeated starts do not rebuild the audio graph.

Before -

image

After -

image Issue-#473

@Aditya30ag

Copy link
Copy Markdown
Contributor Author

@hoch please have a look

@hoch

hoch commented Aug 28, 2026

Copy link
Copy Markdown
Member

Thanks for your work on this, @Aditya30ag! We are currently working on a redesign of the site. We’ll keep this PR in mind and revisit implementing the stop-button functionality once the new structure is in place.

@Aditya30ag

Copy link
Copy Markdown
Contributor Author

Thanks for the update! Sounds good.

@Aditya30ag

Copy link
Copy Markdown
Contributor Author

Hi @hoch, just wanted to follow up on this PR. Has there been any update on the site redesign or on revisiting the stop-button functionality?

I’d be happy to help with this if there’s anything I can do or if the changes need to be updated to fit the new structure. Thanks!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants