Tagged: voice
Part 10: Voice In: Speech to Text
Give the assistant ears. Record your voice in the browser while you hold a button, send it to your own machine and let Whisper, a speech recognizer that runs locally, turn it into text.
Intermediate30 minPart 11: Voice Out: Text to Speech
Give the assistant a voice. Run the Piper speech synthesizer on your own machine, pack its sound into a WAV file by hand, and play the answer in the browser sentence by sentence, so the first words come quickly.
Intermediate20 minPart 12: A Wake Word
Take your hand off the button. The page sends the microphone to your machine all the time, a small model finds the moments in which someone speaks, and the assistant answers the sentences that start with its name.
Intermediate25 min