liveBook · Manning

Speech recognition

As explained in The Complete Obsolete Guide to Generative AI

Speech recognition is the conversion of spoken audio into a machine-readable representation of language.

Speech recognition—also called audio-to-text—turns spoken audio into text a computer can search, store, summarize, or otherwise process. It is a practical shortcut for extracting the useful parts of recordings without sitting through every last minute. section 4.9

A common workflow is pleasantly lazy, in the productive sense:

  • Send a missed video-conference recording to a transcription service and receive a full text script. section 4.9
  • Convert the script to a PDF, upload it to ChatPDF, and request a focused summary. section 4.9
  • Use a video URL with Summarize.tech for a quick summary, or use transcription APIs when the workflow needs automation. section 4.9

Turn a 90-minute call into a short briefing

Extract the audio from a recorded business call, use OpenAI Whisper to create a transcript, export it to PDF, and ask ChatPDF about the topics that matter. One demonstrated workflow reduced a 90-minute, roughly 15,000-word recording to key moments in 10 minutes. section 8.1

Whisper is one option for automated transcription. Beyond multilingual speech recognition, it can identify languages and translate speech. Google Speech-to-Text is another named API option. In a media-production workflow, Whisper can also transcribe a generated narration track and compare that transcript with the original script. section 4.9 section 4.11

import whisper
 
model = whisper.load_model("base")
result = model.transcribe("MyAudio.flac")
print(result["text"])

This Python example loads Whisper's base model, transcribes an audio file, and prints the resulting text. section 4.9

How The Complete Obsolete Guide to Generative AI covers it

How deep it goes
Demonstrates a service workflow and a runnable Whisper transcription call, without detailing recognition-model internals.
Examples
Uses missed video conferences, a YouTube-video summary, generated narration, and a MyAudio.flac transcription script.
What you can do after
Apply it via OpenAI Whisper or transcription services to create text transcripts and feed them into summary workflows.
How it connects
Connects audio-to-text with text-to-audio, PDFs, ChatPDF, language identification, and speech translation.

Also explained in

Compare how 6 books explain speech recognition →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of The Complete Obsolete Guide to Generative AI. The section links point to the parts of the book it draws on.