Phase 8: replace voice clips with Samantha TTS, fix end click#9
Open
kiranj26 wants to merge 1 commit intorelease/v2-productfrom
Open
Phase 8: replace voice clips with Samantha TTS, fix end click#9kiranj26 wants to merge 1 commit intorelease/v2-productfrom
kiranj26 wants to merge 1 commit intorelease/v2-productfrom
Conversation
Regenerated sit_up.wav and thank_you_good_work.wav using macOS `say` (Samantha voice, -r 155 WPM) + afconvert to 16kHz 16-bit mono. Previous clips were flat TTS that sounded monotone and low-pitched on the 20mm 8Ω speaker. New recordings are clearer and more natural on the small cone. Added 200ms silence padding to sit_up.wav to eliminate the click caused by i2s_set_clk restoring 44.1kHz before the DMA buffer drains fully. Added gen_wav_arrays.py to regenerate .c arrays from WAV files without manual xxd — run from repo root after updating any WAV file. Phase 8 pass criteria verified on hardware: - Boot tone, cal tones, warning beeps — all clear at 1m - "Sit up straight" intelligible at 1m, clean ending - "Thank you, good work" intelligible at 1m - No distortion, no rattle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
say -r 155) +afconvertto 16kHz 16-bit mono — previous flat TTS sounded monotone and low-pitched on the 20mm 8Ω speakersit_up.wavto eliminate the click fromi2s_set_clkrestoring 44.1kHz before the DMA buffer drainsgen_wav_arrays.pyto regenerate.carrays from WAV files in one commandPhase 8 pass criteria — verified on hardware
VOL_VOICE 0.90funchangedTo regenerate clips in future
🤖 Generated with Claude Code