-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat(isolate): add experimental audio isolation #5723
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
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nge (#5531) Co-authored-by: Carl Brugger <cebrugg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bram Meerten <bram.meerten@acagroup.be>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…rovider options (#5491)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sam Denty <sam@samdenty.com> Co-authored-by: Sam Denty <samddenty@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 23 out of 28 changed files in this pull request and generated no comments.
Files not reviewed (5)
- content/docs/03-ai-sdk-core/37-audio-isolation.mdx: Language not supported
- content/docs/03-ai-sdk-core/index.mdx: Language not supported
- content/docs/07-reference/01-ai-sdk-core/13-isolate-audio.mdx: Language not supported
- content/docs/07-reference/01-ai-sdk-core/index.mdx: Language not supported
- content/providers/01-ai-sdk-providers/90-elevenlabs.mdx: Language not supported
|
Please develop against |
|
Sorry, we didn't get to this in time. Please re-create the PR if the change is still needed and we'll take a look! This comment is automated as part of our triage process. Truly sorry for the inconvenieince, we are doing our best 🖤 |
Background
Continuing the migration of Orate into the Vercel AI SDK, I'm happy to introduce
experimental_isolateAudio(), which can isolate speech (and eventually sound effects) from your audio!Summary
This pull request introduces an experimental feature for audio isolation in the AI SDK. The changes include the addition of the
isolateAudiofunction, updates to documentation, and new examples and tests to support the feature.New Feature: Audio Isolation
.changeset/slimy-islands-warn.md: Added a patch for@ai-sdk/elevenlabs,@ai-sdk/provider, andaito introduce the experimental audio isolation feature.packages/ai/core/isolate-audio/index.ts: Exported theisolateAudiofunction andIsolationResulttype.packages/ai/core/isolate-audio/isolate-audio.ts: Implemented theisolateAudiofunction to isolate audio using an isolation model.packages/ai/core/isolate-audio/isolate-audio-result.ts: Defined theIsolationResultinterface to structure the result of anisolateAudiocall.packages/ai/core/isolate-audio/isolate-audio.test.ts: Added tests for theisolateAudiofunction to ensure proper functionality and error handling.Documentation Updates
content/docs/03-ai-sdk-core/37-audio-isolation.mdx: Created a new documentation page for the audio isolation feature, including usage examples and settings.content/docs/07-reference/01-ai-sdk-core/13-isolate-audio.mdx: Added an API reference page for theisolateAudiofunction.content/docs/03-ai-sdk-core/index.mdx: Updated the index to include a link to the new audio isolation documentation.content/docs/07-reference/01-ai-sdk-core/index.mdx: Updated the reference index to includeisolateAudio().content/providers/01-ai-sdk-providers/90-elevenlabs.mdx: Added information about ElevenLabs isolation models and their capabilities.Examples
examples/ai-core/src/isolate-audio/elevenlabs.ts: Added an example script demonstrating how to use theisolateAudiofunction with ElevenLabs.Codebase Updates
packages/ai/core/index.ts: Exported theisolateAudiofunction from the core package.Tasks
pnpm prettier-fixto fix any formatting issuesFuture Work
New PRs will be opened for providers.