Skip to content

More examples#223

Merged
tadaspetra merged 21 commits intomainfrom
more-examples
Mar 30, 2026
Merged

More examples#223
tadaspetra merged 21 commits intomainfrom
more-examples

Conversation

@tadaspetra
Copy link
Copy Markdown
Collaborator

@tadaspetra tadaspetra commented Mar 28, 2026

Added 10 new examples

Dubbing

  • Nextjs

Music

  • Nextjs
  • Python
  • Typescript

Sound Effects

  • Nextjs
  • Python
  • Typescript

Voice Changer

  • Nextjs

Voice Isolator

  • Nextjs

Text To Speech

  • Nextjs

Note

Medium Risk
Large addition of new example apps and API routes increases maintenance surface area and could introduce broken generator/setup flows, but changes are isolated to examples and templates rather than core product logic.

Overview
Adds several new prompt-driven examples across runtimes: Music (TypeScript, Python, Next.js), Sound Effects (TypeScript, Python, Next.js), Dubbing Recorder (Next.js with upload/poll/audio-proxy routes and in-browser recording/WAV conversion), and a Text-to-Speech Playground (Next.js).

Introduces a new .cursor skill (scaffold-elevenlabs-example) and a Python helper script to scaffold new example directories by copying README.md/PROMPT.md/setup.sh from the closest existing example, and updates the root README.md example index accordingly.

Also tweaks example infrastructure: adds @types/node and a tsconfig.json to the TypeScript template, and updates Agents Next.js examples to use eleven_flash_v2 for TTS.

Written by Cursor Bugbot for commit 844e65e. This will update automatically on new commits. Configure here.

@tadaspetra tadaspetra marked this pull request as ready for review March 30, 2026 01:01
@tadaspetra tadaspetra requested a review from Copilot March 30, 2026 01:01
@tadaspetra tadaspetra requested review from PaulAsjes and removed request for Copilot March 30, 2026 01:02
Copy link
Copy Markdown
Collaborator

@PaulAsjes PaulAsjes left a comment

Choose a reason for hiding this comment

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

Looks good, just a nit about committing output files.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Unused 560-line LiveWaveform component in new examples
    • Removed the unused live-waveform.tsx files from the three quickstart examples and updated each setup script to avoid copying them back in.

/>
</div>
);
};
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unused 560-line LiveWaveform component in new examples

Low Severity

The LiveWaveform component (560 lines each) is committed in the dubbing, music, and sound-effects Next.js example/ directories, but none of these examples import or use it. A repo-wide grep confirms the only import is in speech-to-text/nextjs/realtime/example/app/page.tsx. It's copied from the shared templates/nextjs/ template by setup.sh, adding ~1700 lines of dead code across the three new examples.

Additional Locations (2)
Fix in Cursor Fix in Web

@tadaspetra tadaspetra merged commit b0993e9 into main Mar 30, 2026
2 checks passed
@tadaspetra tadaspetra deleted the more-examples branch March 30, 2026 13:55
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.

3 participants