Skip to content

common: Add audio denoiser package#1005

Open
thyal wants to merge 4 commits into
mainfrom
thomas/PAN-2242-noise-reduction
Open

common: Add audio denoiser package#1005
thyal wants to merge 4 commits into
mainfrom
thomas/PAN-2242-noise-reduction

Conversation

@thyal

@thyal thyal commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds @whereby.com/audio-denoiser package. Can be used alongside either core or browser-sdk/react.
Build step and asset publishing follows the same patterns as the camera effects package.

Basic usage

  import { WherebyClient } from "@whereby.com/core";

  const client = new WherebyClient();
  const roomConnection = client.getRoomConnection();

  // do the join room etc

  // whether the denoiser is supported in this browser
  const [audioDenoiserSupported, setAudioDenoiserSupported] = useState(false);

  // Lazy-loaded and can be called when needed
  async function loadAudioDenoiserSupport() {
      if (!showAudioDenoiser) return;

      const { canUse } = await import("@whereby.com/audio-denoiser");
      setAudioDenoiserSupported(canUse());
  }

  async function enableAudioDenoiser() {
      await roomConnection.enableAudioDenoiser();
  }

  async function disableAudioDenoiser() {
      await roomConnection.disableAudioDenoiser();
  }

Summary:

Related Issue:

Testing

  1. pnpm build && pnpm dev
  2. Open the RoomConnectionWithAudioDenoiser story
  3. Join the same room in a separate tab (pwa)
  4. Trigger a recording (cloud recording)
  5. With some background noise, do some talking. (Mute the mic on the pwa tab)
  6. Enable the audio denoiser in storybook
  7. Keep talking a bit
  8. Watch the recording back, verify that the denoiser removes the background noise

Screenshots/GIFs (if applicable)

Checklist

  • My code follows the project's coding standards.
  • Prefixed the PR title and commit messages with the service or package name
  • I have written unit tests (if applicable).
  • I have updated the documentation (if applicable).
  • By submitting this pull request, I confirm that my contribution is made
    under the terms of the MIT license.

Additional Information

@changeset-bot

changeset-bot Bot commented May 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0f150c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@whereby.com/audio-denoiser Major
@whereby.com/core Minor
@whereby.com/browser-sdk Patch
@whereby.com/assistant-sdk Patch
@whereby.com/react-native-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@thyal thyal force-pushed the thomas/PAN-2242-noise-reduction branch from c7dcafe to 213eb38 Compare May 21, 2026 15:19
@thyal

thyal commented May 22, 2026

Copy link
Copy Markdown
Collaborator Author

/canary

@github-actions

Copy link
Copy Markdown
Contributor

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

pnpm add @whereby.com/assistant-sdk@0.0.0-canary-20260522073902
pnpm add @whereby.com/audio-denoiser@0.0.0-canary-20260522073902
pnpm add @whereby.com/browser-sdk@0.0.0-canary-20260522073902
pnpm add @whereby.com/core@0.0.0-canary-20260522073902
pnpm add @whereby.com/react-native-sdk@0.0.0-canary-20260522073902

@thyal

thyal commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator Author

/canary

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

pnpm add @whereby.com/assistant-sdk@0.0.0-canary-20260601125759
pnpm add @whereby.com/audio-denoiser@0.0.0-canary-20260601125759
pnpm add @whereby.com/browser-sdk@0.0.0-canary-20260601125759
pnpm add @whereby.com/core@0.0.0-canary-20260601125759
pnpm add @whereby.com/react-native-sdk@0.0.0-canary-20260601125759

@thyal thyal force-pushed the thomas/PAN-2242-noise-reduction branch from db01db6 to 9de88d3 Compare June 1, 2026 13:04
@thyal

thyal commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator Author

/canary

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

pnpm add @whereby.com/assistant-sdk@0.0.0-canary-20260601132007
pnpm add @whereby.com/audio-denoiser@0.0.0-canary-20260601132007
pnpm add @whereby.com/browser-sdk@0.0.0-canary-20260601132007
pnpm add @whereby.com/core@0.0.0-canary-20260601132007
pnpm add @whereby.com/react-native-sdk@0.0.0-canary-20260601132007

@thyal thyal force-pushed the thomas/PAN-2242-noise-reduction branch from 9de88d3 to 0f150c1 Compare June 2, 2026 11:31
@thyal thyal marked this pull request as ready for review June 2, 2026 11:45
@thyal thyal requested a review from a team June 2, 2026 11:46
@thyal thyal changed the title common: Add noise denoiser package common: Add audio denoiser package Jun 2, 2026

@richtrwhereby richtrwhereby left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works really well ✨

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