Repository navigation
feat(recorder): voice-over with ElevenLabs; skill makes guides from Playwright scenarios - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
addVoiceOver(guide, options)reads eachstoryline with ElevenLabs (with-timestampsendpoint,eleven_v4_turbo, voiceYxrwjAKoUKULGd0g8K9Yby default) and writesaudioandwordson each line, in the format player 0.5.0 already plays and captions.voice/<fingerprint>.mp3(+.jsonwith length and words) per line; the fingerprint follows from text, voice, model and format, so a line already read is never billed again. Same fingerprint as the TechniAppvoix.tsit ports, so its existing sounds are reused withfolder: 'voix'.addedMs).ELEVENLABS_API_KEYorapiKey; without it, new lines stay silent (silent). Unused sounds are pruned (only fingerprint-named files). Errors areRecorderErrors (VOICE_OVER_FAILED,STORY_OFF_STEP,INVALID_ARGUMENT), never with the key.fetchandbaseUrl; README section and minor changeset.Tests
vitest run packages/recorder: 35 passed, 15 new intest/voice-over.test.ts, all with a simulatedfetch(no network).tsc --noEmiton the recorder andprettier --checkpass.🤖 Generated with Claude Code