AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Voice AI: teaching computers to listen and speak

Turn sound into numbers, draw it as a spectrogram, find the speech in a noisy call, then use a free GPU to turn speech into text with Whisper, speak with a text-to-speech model, and judge a voice bot honestly.

You say "set an alarm for six" and your phone does it. A bank's phone line understands "I want to block my card". A news app reads an article aloud. A meeting tool writes the notes while you talk. All of them are voice AI: computers that listen to speech, turn it into text, and speak back.

In this course you will start with plain Python. First you will learn that a sound is a list of numbers, and see it as a waveform and a spectrogram, the picture of a voice. Then you will find where the speech starts and stops in a noisy recording, and turn sound into numbers a model can sort. Next you will learn how speech-to-text is scored, with the word error rate. Finally you will use a free GPU in Google Colab to run Whisper, a speech-to-text model, on real recordings, make a computer speak English and Hindi, and decide whether a voice bot for a clinic is good enough to answer the phone.

You need Python basics, NumPy and the machine learning course before this one. The first five lessons run in your browser. Lessons 6 and 7 also have a notebook for Google Colab.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business questions, an honest comparison of methods, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample πŸ”’ AiTeky Pass Sound is numbers See that a sound is a long list of numbers measured thousands of times a second, make a musical note from a sine wave, read a real speech recording, and measure its length and loudness.
  2. 02 30 min πŸ”’ AiTeky Pass Which notes are inside? The spectrogram Split a sound into the notes it is made of with the Fourier transform, then draw a spectrogram, the picture of a voice that speech models actually look at, and read where a real sentence keeps its energy.
  3. 03 30 min πŸ”’ AiTeky Pass Finding the speech in a noisy call Cut a recording into 20 millisecond frames, measure their loudness, find where the person is talking with a threshold, see a fixed threshold fail on a noisy phone line, and fix it with a threshold that adapts to the background.
  4. 04 30 min πŸ”’ AiTeky Pass Teaching a model to hear Make 300 recordings of three machine alarms in a noisy factory, turn each one into 32 numbers taken from its spectrogram, train a model to tell the alarms apart, and see why raw samples do much worse.
  5. 05 35 min πŸ”’ AiTeky Pass Scoring speech to text: the word error rate Learn how a speech-to-text system is scored with the word error rate, build the edit-distance calculation by hand, count substitutions, deletions and insertions, and read the results of a real speech model on 73 recordings.
  6. 06 40 min πŸ”’ AiTeky Pass Speech to text with Whisper Build the log-mel spectrogram that Whisper reads, by hand, then run two sizes of Whisper on 73 real recordings in Colab, score them with the word error rate, and see what a bigger model costs in time.
  7. 07 40 min πŸ”’ AiTeky Pass Making a computer speak Turn numbers, times and rupee amounts into spoken words, then make a free text-to-speech model say sentences in English and Hindi in Colab, and test it by listening to its own voice with Whisper.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 08 40 min πŸ”’ AiTeky Pass On the job: a voice bot for a clinic A clinic wants a voice bot to book appointments. Check whether speech to text is fast enough for a live call, see why a 9% word error rate still means most long sentences have a mistake, put a price on wrong bookings, and decide between two model sizes and a read-back question, with the interview questions that go with it.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in