Speech Recognition & TTS
AI · Intermediate
Definition
Speech recognition converts audio to text; text-to-speech generates audio from text.
Voice assistants, captions and accessibility tools rely on them.
Diagram
Flowchart
Example: Word error rate
errors, words = 3, 50
print(errors / words * 100, '%')Output: 6.0 %
Key points
- WER measures ASR quality
- Whisper is a popular open model
Interview questions
What is a spectrogram?
A picture of how audio frequencies change over time.